Table of Contents

Class PrimitiveNode

Namespace
ParquetSharp.Schema
Assembly
ParquetSharp.dll

A type that is one of the primitive Parquet storage types. In addition to the other type metadata (name, repetition level, logical type), also has the physical storage type and their type-specific metadata (byte width, decimal parameters)

public sealed class PrimitiveNode : Node, IDisposable, IEquatable<Node>
Inheritance
PrimitiveNode
Implements
Inherited Members

Constructors

PrimitiveNode(string, Repetition, LogicalType, PhysicalType, int)

public PrimitiveNode(string name, Repetition repetition, LogicalType logicalType, PhysicalType physicalType, int primitiveLength)

Parameters

name string
repetition Repetition
logicalType LogicalType
physicalType PhysicalType
primitiveLength int

PrimitiveNode(string, Repetition, LogicalType, PhysicalType, int, int)

public PrimitiveNode(string name, Repetition repetition, LogicalType logicalType, PhysicalType physicalType, int primitiveLength = -1, int fieldId = -1)

Parameters

name string
repetition Repetition
logicalType LogicalType
physicalType PhysicalType
primitiveLength int
fieldId int

Properties

ColumnOrder

public ColumnOrder ColumnOrder { get; }

Property Value

ColumnOrder

PhysicalType

public PhysicalType PhysicalType { get; }

Property Value

PhysicalType

TypeLength

public int TypeLength { get; }

Property Value

int

Methods

DeepClone()

Deep cloning of the node. If the node is a group node, its children will be deep cloned as well.

public override Node DeepClone()

Returns

Node