Table of Contents

Interface IParquetWriteSource

Namespace
Plank.Writing
Assembly
Plank.dll

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

path ReadOnlySpan<byte>

The full UTF-8 file path.

mode FileMode

The file open mode.

SetLength(ulong)

Changes the destination length.

void SetLength(ulong length)

Parameters

length ulong

The new destination length.

Write(ulong, ReadOnlySpan<byte>)

Writes bytes at the specified destination offset.

void Write(ulong offset, ReadOnlySpan<byte> source)

Parameters

offset ulong

The zero-based destination offset.

source ReadOnlySpan<byte>

The bytes to write.