Uses of Record Class
dev.hardwood.metadata.SchemaElement
Packages that use SchemaElement
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 SchemaElement in dev.hardwood.metadata
Methods in dev.hardwood.metadata that return SchemaElementModifier and TypeMethodDescriptionstatic SchemaElementSchemaElement.fixedLengthPrimitive(String name, int typeLength, RepetitionType repetitionType) Creates aPhysicalType.FIXED_LEN_BYTE_ARRAYelement.static 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) Creates a group element.static SchemaElementSchemaElement.group(String name, RepetitionType repetitionType, int numChildren, LogicalType logicalType) Creates a group element.static 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.static SchemaElementCreates a root group element, which carries no repetition.Methods in dev.hardwood.metadata that return types with arguments of type SchemaElementModifier and TypeMethodDescriptionFileMetaData.schema()Returns the value of theschemarecord component.Constructor parameters in dev.hardwood.metadata with type arguments of type SchemaElementModifierConstructorDescriptionFileMetaData(int version, List<SchemaElement> schema, long numRows, List<RowGroup> rowGroups, Map<String, String> keyValueMetadata, String createdBy, List<ColumnOrder> columnOrders) Creates an instance of aFileMetaDatarecord class. -
Uses of SchemaElement in dev.hardwood.schema
Methods in dev.hardwood.schema that return types with arguments of type SchemaElementModifier and TypeMethodDescriptionFileSchema.toSchemaElements()Flattens this schema back into the depth-firstSchemaElementlist written to the file footer, the inverse ofFileSchema.fromSchemaElements(List): the root element followed by each node in pre-order, groups carrying their child count.Method parameters in dev.hardwood.schema with type arguments of type SchemaElementModifier and TypeMethodDescriptionstatic FileSchemaFileSchema.fromSchemaElements(List<SchemaElement> elements) Reconstruct schema from Thrift SchemaElement list.