Uses of Enum Class
dev.hardwood.metadata.RepetitionType
Packages that use RepetitionType
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 RepetitionType in dev.hardwood.metadata
Subclasses with type arguments of type RepetitionType in dev.hardwood.metadataMethods in dev.hardwood.metadata that return RepetitionTypeModifier and TypeMethodDescriptionSchemaElement.repetitionType()Returns the value of therepetitionTyperecord component.static RepetitionTypeReturns the enum constant of this class with the specified name.static RepetitionType[]RepetitionType.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 RepetitionTypeModifier 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.Constructors in dev.hardwood.metadata with parameters of type RepetitionTypeModifierConstructorDescriptionSchemaElement(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 RepetitionType in dev.hardwood.schema
Methods in dev.hardwood.schema that return RepetitionTypeModifier and TypeMethodDescriptionColumnSchema.repetitionType()Returns the value of therepetitionTyperecord component.SchemaNode.GroupNode.repetitionType()Returns the value of therepetitionTyperecord component.SchemaNode.PrimitiveNode.repetitionType()Returns the value of therepetitionTyperecord component.SchemaNode.repetitionType()Returns the repetition type (required, optional, or repeated).Methods in dev.hardwood.schema with parameters of type RepetitionTypeModifier 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.list(String listName, RepetitionType repetition, Consumer<FileSchema.ElementBuilder> element) Append aLISTgroup whose element is declared byelement.voidFileSchema.ElementBuilder.list(RepetitionType repetition, Consumer<FileSchema.ElementBuilder> element) Declare a nestedLISTelement.FileSchema.StructBuilder.list(String listName, RepetitionType repetition, Consumer<FileSchema.ElementBuilder> element) Append a nestedLISTfield.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.FileSchema.Builder.struct(String structName, RepetitionType repetition, Consumer<FileSchema.StructBuilder> filler) Append astructgroup whose fields are declared byfiller.voidFileSchema.ElementBuilder.struct(RepetitionType repetition, Consumer<FileSchema.StructBuilder> filler) Declare astructelement.FileSchema.StructBuilder.struct(String structName, RepetitionType repetition, Consumer<FileSchema.StructBuilder> filler) Append a nestedstructfield.Constructors in dev.hardwood.schema with parameters of type RepetitionTypeModifierConstructorDescriptionColumnSchema(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.