Table of Contents

Struct NestedColumnBuffer<T>

Namespace
Plank.Reading.Logical
Assembly
Plank.dll

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

int

DefinitionLevels

Gets the definition level for every logical entry in the page.

public ReadOnlySpan<int> DefinitionLevels { get; }

Property Value

ReadOnlySpan<int>

MaxDefinitionLevel

Gets the maximum definition level for the leaf.

public int MaxDefinitionLevel { get; }

Property Value

int

MaxRepetitionLevel

Gets the maximum repetition level for the leaf.

public int MaxRepetitionLevel { get; }

Property Value

int

RepetitionLevels

Gets the repetition level for every logical entry in the page.

public ReadOnlySpan<int> RepetitionLevels { get; }

Property Value

ReadOnlySpan<int>

RowCount

Gets the number of row starts in the page.

public int RowCount { get; }

Property Value

int

StartsWithContinuation

Gets whether the first entry continues a row that began on an earlier page.

public bool StartsWithContinuation { get; }

Property Value

bool

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.

Returns

ParquetBuffer