Class FileReadSource
Provides random-access reads over a file-backed Parquet source without allocating a FileStream.
public sealed class FileReadSource : IParquetReadSource, IDisposable
- Inheritance
-
FileReadSource
- Implements
- Inherited Members
Constructors
FileReadSource(string)
public FileReadSource(string path)
Parameters
pathstring
Properties
Length
Gets the source length in bytes.
public ulong Length { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
ReadExactly(ulong, Span<byte>)
Reads bytes from the source at the specified offset until the destination is filled.
public void ReadExactly(ulong offset, Span<byte> destination)