Uses of Interface
dev.hardwood.metadata.LogicalType
Packages that use LogicalType
Package
Description
Low-level Parquet file metadata types that mirror the Thrift definitions.
High-level Parquet schema types with computed definition and repetition levels.
-
Uses of LogicalType in dev.hardwood.metadata
Classes in dev.hardwood.metadata that implement LogicalTypeModifier and TypeClassDescriptionstatic final recordBSON document stored as a byte array.static final recordCalendar date (days since Unix epoch).static final recordDecimal with fixed scale and precision.static final recordEnum stored as a UTF-8 string.static final recordIEEE 754 half-precision (binary16) floating point, stored as a 2-byteFIXED_LEN_BYTE_ARRAYin little-endian byte order.static final recordGeography type with configurable CRSstatic final recordGeometry type with configurable CRSstatic final recordInterval stored as a 12-byte fixed-length byte array (months, days, millis).static final recordInteger type with a specific bit width and signedness.static final recordJSON document stored as a UTF-8 string.static final recordList (repeated element) logical type.static final recordMap (key-value pairs) logical type.static final recordColumn whose every value is null.static final recordUTF-8 encoded string.static final recordTimestamp with configurable precision and UTC adjustment.static final recordTime of day with configurable precision and UTC adjustment.static final recordUUID stored as a 16-byte fixed-length byte array.static final recordVariant (self-describing, semi-structured) logical type per the Parquet Variant spec.Methods in dev.hardwood.metadata that return LogicalTypeModifier and TypeMethodDescriptionSchemaElement.logicalType()Returns the value of thelogicalTyperecord component.Methods in dev.hardwood.metadata with parameters of type LogicalTypeModifier and TypeMethodDescriptionstatic SchemaElementSchemaElement.fixedLengthPrimitive(String name, int typeLength, RepetitionType repetitionType, LogicalType logicalType) Creates aPhysicalType.FIXED_LEN_BYTE_ARRAYelement.static SchemaElementSchemaElement.group(String name, RepetitionType repetitionType, int numChildren, LogicalType logicalType) Creates a group element.static SchemaElementSchemaElement.primitive(String name, PhysicalType type, RepetitionType repetitionType, LogicalType logicalType) Creates a primitive element.Constructors in dev.hardwood.metadata with parameters of type LogicalTypeModifierConstructorDescriptionSchemaElement(String name, PhysicalType type, Integer typeLength, RepetitionType repetitionType, Integer numChildren, ConvertedType convertedType, Integer scale, Integer precision, Integer fieldId, LogicalType logicalType) Creates an instance of aSchemaElementrecord class. -
Uses of LogicalType in dev.hardwood.schema
Methods in dev.hardwood.schema that return LogicalTypeModifier and TypeMethodDescriptionColumnSchema.logicalType()Returns the value of thelogicalTyperecord component.SchemaNode.GroupNode.logicalType()Returns the value of thelogicalTyperecord component.SchemaNode.PrimitiveNode.logicalType()Returns the value of thelogicalTyperecord component.Methods in dev.hardwood.schema with parameters of type LogicalTypeModifier and TypeMethodDescriptionFileSchema.Builder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, int typeLength, LogicalType logicalType) Append a primitive column carrying a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYcolumn.FileSchema.Builder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, LogicalType logicalType) Append a primitive column carrying a logical type annotation.FileSchema.StructBuilder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, int typeLength, LogicalType logicalType) Append a primitive field carrying a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYcolumn.FileSchema.StructBuilder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, LogicalType logicalType) Append a primitive field carrying a logical type annotation.FileSchema.Builder.map(String mapName, RepetitionType repetition, PhysicalType keyType, int keyTypeLength, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Append aMAPgroup whose key carries a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYkey.FileSchema.Builder.map(String mapName, RepetitionType repetition, PhysicalType keyType, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Append aMAPgroup whose key carries a logical type annotation — aSTRINGkey being the common case.voidFileSchema.ElementBuilder.map(RepetitionType repetition, PhysicalType keyType, int keyTypeLength, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Declare a nestedMAPelement whose key carries a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYkey.voidFileSchema.ElementBuilder.map(RepetitionType repetition, PhysicalType keyType, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Declare a nestedMAPelement whose key carries a logical type annotation.FileSchema.StructBuilder.map(String mapName, RepetitionType repetition, PhysicalType keyType, int keyTypeLength, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Append a nestedMAPfield whose key carries a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYkey.FileSchema.StructBuilder.map(String mapName, RepetitionType repetition, PhysicalType keyType, LogicalType keyLogicalType, Consumer<FileSchema.ElementBuilder> value) Append a nestedMAPfield whose key carries a logical type annotation.voidFileSchema.ElementBuilder.primitive(PhysicalType type, RepetitionType repetition, int typeLength, LogicalType logicalType) Declare a primitive element carrying a logical type annotation, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYelement.voidFileSchema.ElementBuilder.primitive(PhysicalType type, RepetitionType repetition, LogicalType logicalType) Declare a primitive element carrying a logical type annotation.Constructors in dev.hardwood.schema with parameters of type LogicalTypeModifierConstructorDescriptionColumnSchema(FieldPath fieldPath, PhysicalType type, RepetitionType repetitionType, Integer typeLength, int columnIndex, int maxDefinitionLevel, int maxRepetitionLevel, LogicalType logicalType) Creates an instance of aColumnSchemarecord class.GroupNode(String name, RepetitionType repetitionType, ConvertedType convertedType, LogicalType logicalType, List<SchemaNode> children, int maxDefinitionLevel, int maxRepetitionLevel) Creates an instance of aGroupNoderecord class.PrimitiveNode(String name, PhysicalType type, RepetitionType repetitionType, LogicalType logicalType, int columnIndex, int maxDefinitionLevel, int maxRepetitionLevel) Creates an instance of aPrimitiveNoderecord class.