Table of Contents

Class LeafColumn

Namespace
Plank.Schema
Assembly
Plank.dll

Identifies a flattened leaf column owned by a ParquetSchema.

public sealed class LeafColumn
Inheritance
LeafColumn
Inherited Members

Remarks

Leaf columns are derived from the schema definition tree and are used to select columns for column-oriented reads and writes. Obtain them from LeafColumns.

Properties

Converter

Gets the custom CLR value converter, if one is declared.

public ParquetValueConverter? Converter { get; }

Property Value

ParquetValueConverter

FieldId

Gets the schema field ID, if one is declared.

public int? FieldId { get; }

Property Value

int?

LogicalType

Gets the leaf's logical type, if one is declared.

public LogicalType? LogicalType { get; }

Property Value

LogicalType

MaxDefinitionLevel

Gets the maximum definition level encoded for this leaf.

public int MaxDefinitionLevel { get; }

Property Value

int

MaxRepetitionLevel

Gets the maximum repetition level encoded for this leaf.

public int MaxRepetitionLevel { get; }

Property Value

int

Options

Gets the leaf's encoding and physical storage options.

public ColumnOptions Options { get; }

Property Value

ColumnOptions

Ordinal

Gets the leaf's ordinal in the flattened schema.

public int Ordinal { get; }

Property Value

int

PageStrategy

Gets the writer page strategy declared for this leaf, if any.

public IPageStrategy? PageStrategy { get; }

Property Value

IPageStrategy

Path

Gets the complete dot-separated path to the leaf.

public string Path { get; }

Property Value

string

PhysicalType

Gets the leaf's physical Parquet type.

Property Value

ParquetPhysicalType