Table of Contents

Class LogicalColumnReader<TElement>

Namespace
ParquetSharp
Assembly
ParquetSharp.dll
public sealed class LogicalColumnReader<TElement> : LogicalColumnReader, IDisposable, IEnumerable<TElement>, IEnumerable

Type Parameters

TElement
Inheritance
LogicalColumnReader<TElement>
Implements
IEnumerable<TElement>
Inherited Members

Properties

HasNext

public override bool HasNext { get; }

Property Value

bool

Methods

Apply<TReturn>(ILogicalColumnReaderVisitor<TReturn>)

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

Parameters

visitor ILogicalColumnReaderVisitor<TReturn>

Returns

TReturn

Type Parameters

TReturn

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<TElement> GetEnumerator()

Returns

IEnumerator<TElement>

An enumerator that can be used to iterate through the collection.

ReadAll(int)

public TElement[] ReadAll(int rows)

Parameters

rows int

Returns

TElement[]

ReadBatch(Span<TElement>)

public int ReadBatch(Span<TElement> destination)

Parameters

destination Span<TElement>

Returns

int

ReadBatch(TElement[], int, int)

public int ReadBatch(TElement[] destination, int start, int length)

Parameters

destination TElement[]
start int
length int

Returns

int

Skip(long)

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

public override long Skip(long numRowsToSkip)

Parameters

numRowsToSkip long

number of rows to skip

Returns

long

the number of logical rows skipped