Interface IParquetWriteSource
Provides reusable random-access writes to a Parquet data source.
public interface IParquetWriteSource : IDisposable
- Inherited Members
Methods
Close()
Closes the current destination and keeps this object available for reuse.
void Close()
Flush()
Flushes pending writes to the destination.
void Flush()
Open(ReadOnlySpan<byte>, FileMode)
Opens a destination from its full UTF-8 path.
void Open(ReadOnlySpan<byte> path, FileMode mode)
Parameters
pathReadOnlySpan<byte>The full UTF-8 file path.
modeFileModeThe file open mode.
SetLength(ulong)
Changes the destination length.
void SetLength(ulong length)
Parameters
lengthulongThe new destination length.
Write(ulong, ReadOnlySpan<byte>)
Writes bytes at the specified destination offset.
void Write(ulong offset, ReadOnlySpan<byte> source)
Parameters
offsetulongThe zero-based destination offset.
sourceReadOnlySpan<byte>The bytes to write.