Uses of Enum Class
dev.hardwood.metadata.PhysicalType
Packages that use PhysicalType
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 PhysicalType in dev.hardwood.metadata
Subclasses with type arguments of type PhysicalType in dev.hardwood.metadataMethods in dev.hardwood.metadata that return PhysicalTypeModifier and TypeMethodDescriptionColumnMetaData.type()Returns the value of thetyperecord component.SchemaElement.type()Returns the value of thetyperecord component.static PhysicalTypeReturns the enum constant of this class with the specified name.static PhysicalType[]PhysicalType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.hardwood.metadata with parameters of type PhysicalTypeModifier and TypeMethodDescriptionstatic SchemaElementSchemaElement.primitive(String name, PhysicalType type, RepetitionType repetitionType) Creates a primitive elementstatic SchemaElementSchemaElement.primitive(String name, PhysicalType type, RepetitionType repetitionType, LogicalType logicalType) Creates a primitive element.Constructors in dev.hardwood.metadata with parameters of type PhysicalTypeModifierConstructorDescriptionColumnMetaData(PhysicalType type, List<Encoding> encodings, FieldPath pathInSchema, CompressionCodec codec, long numValues, long totalUncompressedSize, long totalCompressedSize, Map<String, String> keyValueMetadata, long dataPageOffset, Long dictionaryPageOffset, Statistics statistics, GeospatialStatistics geospatialStatistics, Long bloomFilterOffset, Integer bloomFilterLength, List<PageEncodingStats> encodingStats, SizeStatistics sizeStatistics) Creates an instance of aColumnMetaDatarecord class.SchemaElement(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 PhysicalType in dev.hardwood.schema
Methods in dev.hardwood.schema that return PhysicalTypeModifier and TypeMethodDescriptionColumnSchema.type()Returns the value of thetyperecord component.SchemaNode.PrimitiveNode.type()Returns the value of thetyperecord component.Methods in dev.hardwood.schema with parameters of type PhysicalTypeModifier and TypeMethodDescriptionFileSchema.Builder.addColumn(String columnName, PhysicalType type, RepetitionType repetition) Append a primitive column.FileSchema.Builder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, int typeLength) Append a primitive column, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYcolumn.FileSchema.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) Append a primitive field.FileSchema.StructBuilder.addColumn(String columnName, PhysicalType type, RepetitionType repetition, int typeLength) Append a primitive field, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYcolumn.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.FileSchema.Builder.map(String mapName, RepetitionType repetition, PhysicalType keyType, Consumer<FileSchema.ElementBuilder> value) Append aMAPgroup whose value is declared byvalue.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.voidFileSchema.ElementBuilder.map(RepetitionType repetition, PhysicalType keyType, Consumer<FileSchema.ElementBuilder> value) Declare a nestedMAPelement.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.FileSchema.StructBuilder.map(String mapName, RepetitionType repetition, PhysicalType keyType, Consumer<FileSchema.ElementBuilder> value) Append a nestedMAPfield.voidFileSchema.ElementBuilder.primitive(PhysicalType type, RepetitionType repetition) Declare a primitive element.voidFileSchema.ElementBuilder.primitive(PhysicalType type, RepetitionType repetition, int typeLength) Declare a primitive element, giving the fixed byte length of aFIXED_LEN_BYTE_ARRAYelement.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 PhysicalTypeModifierConstructorDescriptionColumnSchema(FieldPath fieldPath, PhysicalType type, RepetitionType repetitionType, Integer typeLength, int columnIndex, int maxDefinitionLevel, int maxRepetitionLevel, LogicalType logicalType) Creates an instance of aColumnSchemarecord class.PrimitiveNode(String name, PhysicalType type, RepetitionType repetitionType, LogicalType logicalType, int columnIndex, int maxDefinitionLevel, int maxRepetitionLevel) Creates an instance of aPrimitiveNoderecord class.