Table of Contents

Class ColumnReader

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Reader of physical Parquet values from a single column.

public abstract class ColumnReader : IDisposable
Inheritance
ColumnReader
Implements
Derived
Inherited Members

Properties

ColumnDescriptor

public ColumnDescriptor ColumnDescriptor { get; }

Property Value

ColumnDescriptor

ColumnIndex

public int ColumnIndex { get; }

Property Value

int

ElementType

public abstract Type ElementType { get; }

Property Value

Type

HasNext

public bool HasNext { get; }

Property Value

bool

LogicalReadConverterFactory

public LogicalReadConverterFactory LogicalReadConverterFactory { get; }

Property Value

LogicalReadConverterFactory

LogicalTypeFactory

public LogicalTypeFactory LogicalTypeFactory { get; }

Property Value

LogicalTypeFactory

Type

public PhysicalType Type { get; }

Property Value

PhysicalType

Methods

Apply<TReturn>(IColumnReaderVisitor<TReturn>)

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

Parameters

visitor IColumnReaderVisitor<TReturn>

Returns

TReturn

Type Parameters

TReturn

Dispose()

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

public void Dispose()

LogicalReader(bool, int)

Overload for creating an untyped LogicalReader that allows specifying whether nested data should be read wrapped in the Nested type.

public LogicalColumnReader LogicalReader(bool useNesting, int bufferLength = 4096)

Parameters

useNesting bool
bufferLength int

Returns

LogicalColumnReader

LogicalReader(int)

public LogicalColumnReader LogicalReader(int bufferLength = 4096)

Parameters

bufferLength int

Returns

LogicalColumnReader

LogicalReaderOverride<TElement>(int)

public LogicalColumnReader<TElement> LogicalReaderOverride<TElement>(int bufferLength = 4096)

Parameters

bufferLength int

Returns

LogicalColumnReader<TElement>

Type Parameters

TElement

LogicalReader<TElement>(int)

public LogicalColumnReader<TElement> LogicalReader<TElement>(int bufferLength = 4096)

Parameters

bufferLength int

Returns

LogicalColumnReader<TElement>

Type Parameters

TElement

Skip(long)

Skip physical row values

public abstract long Skip(long numRowsToSkip)

Parameters

numRowsToSkip long

number of rows to skip

Returns

long

the number of physical rows skipped