Table of Contents

Class LogicalColumnReader

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Column reader transparently converting Parquet physical types to C# types. This is a higher-level API not part of apache-parquet-cpp.

public abstract class LogicalColumnReader : LogicalColumnStream<ColumnReader>, IDisposable
Inheritance
LogicalColumnReader
Implements
Derived
Inherited Members

Constructors

LogicalColumnReader(ColumnReader, int)

protected LogicalColumnReader(ColumnReader columnReader, int bufferLength)

Parameters

columnReader ColumnReader
bufferLength int

Properties

HasNext

public abstract bool HasNext { get; }

Property Value

bool

Methods

Apply<TReturn>(ILogicalColumnReaderVisitor<TReturn>)

public abstract TReturn Apply<TReturn>(ILogicalColumnReaderVisitor<TReturn> visitor)

Parameters

visitor ILogicalColumnReaderVisitor<TReturn>

Returns

TReturn

Type Parameters

TReturn

Skip(long)

Skips logical rows for all reader types, including ParquetSharp.LogicalBatchReader.ArrayReader<TPhysical, TLogical, TItem>

public abstract long Skip(long numRowsToSkip)

Parameters

numRowsToSkip long

number of rows to skip

Returns

long

the number of logical rows skipped