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
ColumnIndex
public int ColumnIndex { get; }
Property Value
ElementType
public abstract Type ElementType { get; }
Property Value
HasNext
public bool HasNext { get; }
Property Value
LogicalReadConverterFactory
public LogicalReadConverterFactory LogicalReadConverterFactory { get; }
Property Value
LogicalTypeFactory
public LogicalTypeFactory LogicalTypeFactory { get; }
Property Value
Type
public PhysicalType Type { get; }
Property Value
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
Returns
LogicalReader(int)
public LogicalColumnReader LogicalReader(int bufferLength = 4096)
Parameters
bufferLength
int
Returns
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
longnumber of rows to skip
Returns
- long
the number of physical rows skipped