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
stringrepetition
RepetitionlogicalType
LogicalTypephysicalType
PhysicalTypeprimitiveLength
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
stringrepetition
RepetitionlogicalType
LogicalTypephysicalType
PhysicalTypeprimitiveLength
intfieldId
int
Properties
ColumnOrder
public ColumnOrder ColumnOrder { get; }
Property Value
PhysicalType
public PhysicalType PhysicalType { get; }
Property Value
TypeLength
public int TypeLength { get; }
Property Value
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()