Table of Contents

Class ParquetReader

Namespace
Plank.Reading.Logical
Assembly
Plank.dll
public sealed class ParquetReader : IDisposable
Inheritance
ParquetReader
Implements
Inherited Members

Constructors

ParquetReader(ParquetReaderOptions?)

public ParquetReader(ParquetReaderOptions? options = null)

Parameters

options ParquetReaderOptions

Properties

Metadata

public ParquetFileMetadata Metadata { get; }

Property Value

ParquetFileMetadata

RowGroups

public RowGroupCollection RowGroups { get; }

Property Value

RowGroupCollection

Schema

public ParquetSchema Schema { get; }

Property Value

ParquetSchema

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Reset(IParquetReadSource, ParquetPagePruner?)

Opens a source and loads its logical schema and row groups.

public void Reset(IParquetReadSource source, ParquetPagePruner? pagePruner = null)

Parameters

source IParquetReadSource
pagePruner ParquetPagePruner

Remarks

Earlier row group and column handles are invalidated before opening the source. If opening or schema validation fails, logical metadata is cleared; the reader can be reset again with another source.

Reset(Stream, ParquetPagePruner?)

Opens a source and loads its logical schema and row groups.

public void Reset(Stream stream, ParquetPagePruner? pagePruner = null)

Parameters

stream Stream
pagePruner ParquetPagePruner

Remarks

Earlier row group and column handles are invalidated before opening the source. If opening or schema validation fails, logical metadata is cleared; the reader can be reset again with another source.