Struct NestedColumnBuffer<T>
Exposes one decoded page as dense materialized values and its repetition and definition level streams.
public readonly struct NestedColumnBuffer<T>
Type Parameters
T
- Inherited Members
Remarks
The spans remain valid until the enumerator advances or is disposed. Use Retain() and RetainLevels() when the values or levels must outlive that operation.
Properties
Count
Gets the number of logical entries and level pairs in the page.
public int Count { get; }
Property Value
DefinitionLevels
Gets the definition level for every logical entry in the page.
public ReadOnlySpan<int> DefinitionLevels { get; }
Property Value
MaxDefinitionLevel
Gets the maximum definition level for the leaf.
public int MaxDefinitionLevel { get; }
Property Value
MaxRepetitionLevel
Gets the maximum repetition level for the leaf.
public int MaxRepetitionLevel { get; }
Property Value
RepetitionLevels
Gets the repetition level for every logical entry in the page.
public ReadOnlySpan<int> RepetitionLevels { get; }
Property Value
RowCount
Gets the number of row starts in the page.
public int RowCount { get; }
Property Value
StartsWithContinuation
Gets whether the first entry continues a row that began on an earlier page.
public bool StartsWithContinuation { get; }
Property Value
Values
Gets the dense physical values whose definition level equals MaxDefinitionLevel.
public ColumnBuffer<T> Values { get; }
Property Value
- ColumnBuffer<T>
Methods
RetainLevels()
Retains the pooled repetition and definition level storage.
public ParquetBuffer RetainLevels()