Table of Contents

Struct LogicalTypeInfo

Namespace
Plank.Reading.Physical
Assembly
Plank.dll

Carries a Parquet logical type annotation and its kind-specific fields.

public readonly record struct LogicalTypeInfo : IEquatable<LogicalTypeInfo>
Implements
Inherited Members

Constructors

LogicalTypeInfo(LogicalTypeKind, int, int, byte, bool, TimeUnit, bool)

Carries a Parquet logical type annotation and its kind-specific fields.

public LogicalTypeInfo(LogicalTypeKind Kind, int Precision = 0, int Scale = 0, byte BitWidth = 0, bool IsSigned = false, TimeUnit Unit = TimeUnit.Millis, bool IsAdjustedToUtc = false)

Parameters

Kind LogicalTypeKind
Precision int
Scale int
BitWidth byte
IsSigned bool
Unit TimeUnit
IsAdjustedToUtc bool

Properties

Algorithm

Property Value

EdgeInterpolationAlgorithm?

BitWidth

public byte BitWidth { get; init; }

Property Value

byte

HasCrs

public bool HasCrs { get; }

Property Value

bool

IsAdjustedToUtc

public bool IsAdjustedToUtc { get; init; }

Property Value

bool

IsSigned

public bool IsSigned { get; init; }

Property Value

bool

Kind

public LogicalTypeKind Kind { get; init; }

Property Value

LogicalTypeKind

Precision

public int Precision { get; init; }

Property Value

int

Scale

public int Scale { get; init; }

Property Value

int

SpecificationVersion

public sbyte? SpecificationVersion { get; }

Property Value

sbyte?

Unit

public TimeUnit Unit { get; init; }

Property Value

TimeUnit