Uses of Class
dev.hardwood.schema.FileSchema.Builder
Packages that use FileSchema.Builder
Package
Description
High-level Parquet schema types with computed definition and repetition levels.
-
Uses of FileSchema.Builder in dev.hardwood.schema
Methods in dev.hardwood.schema that return FileSchema.BuilderModifier 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.static FileSchema.BuilderCreates a builder for constructing a flat schema programmatically, for use with the writer.FileSchema.Builder.list(String listName, RepetitionType repetition, Consumer<FileSchema.ElementBuilder> element) Append aLISTgroup whose element is declared byelement.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.FileSchema.Builder.struct(String structName, RepetitionType repetition, Consumer<FileSchema.StructBuilder> filler) Append astructgroup whose fields are declared byfiller.