Package org.apache.parquet.schema
Class Types.BaseMapBuilder.KeyBuilder<MP,M extends Types.BaseMapBuilder<MP,M>>
java.lang.Object
org.apache.parquet.schema.Types.Builder<THIS,P>
org.apache.parquet.schema.Types.BasePrimitiveBuilder<MP,Types.BaseMapBuilder.KeyBuilder<MP,M>>
org.apache.parquet.schema.Types.BaseMapBuilder.KeyBuilder<MP,M>
- Enclosing class:
- Types.BaseMapBuilder<P,
THIS extends Types.BaseMapBuilder<P, THIS>>
public static class Types.BaseMapBuilder.KeyBuilder<MP,M extends Types.BaseMapBuilder<MP,M>>
extends Types.BasePrimitiveBuilder<MP,Types.BaseMapBuilder.KeyBuilder<MP,M>>
-
Field Summary
Fields inherited from class org.apache.parquet.schema.Types.Builder
id, logicalTypeAnnotation, newLogicalTypeSet, parent, repetition, returnClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroupValue(Type.Repetition repetition) listValue(Type.Repetition repetition) mapValue(Type.Repetition repetition) Builds aTypeand returns the parent builder, if given, or theTypethat was built.protected Types.BaseMapBuilder.KeyBuilder<MP,M> self()value(PrimitiveType.PrimitiveTypeName type, Type.Repetition repetition) Methods inherited from class org.apache.parquet.schema.Types.BasePrimitiveBuilder
build, columnOrder, decimalMetadata, length, precision, scaleMethods inherited from class org.apache.parquet.schema.Types.Builder
as, as, getOriginalType, id, repetition
-
Constructor Details
-
KeyBuilder
-
-
Method Details
-
value
public Types.BaseMapBuilder.ValueBuilder<MP,M> value(PrimitiveType.PrimitiveTypeName type, Type.Repetition repetition) -
requiredValue
-
optionalValue
-
groupValue
-
requiredGroupValue
-
optionalGroupValue
-
mapValue
-
requiredMapValue
-
optionalMapValue
-
listValue
-
requiredListValue
-
optionalListValue
-
value
-
named
Description copied from class:Types.BuilderBuilds aTypeand returns the parent builder, if given, or theTypethat was built. If returning a parent object that is a GroupBuilder, the constructed type will be added to it as a field.Note: Any configuration for this type builder should be done before calling this method.
- Overrides:
namedin classTypes.Builder<Types.BaseMapBuilder.KeyBuilder<MP,M extends Types.BaseMapBuilder<MP, M>>, MP> - Parameters:
name- a name for the constructed type- Returns:
- the parent
GroupBuilderor the constructedType
-
self
- Specified by:
selfin classTypes.BasePrimitiveBuilder<MP,Types.BaseMapBuilder.KeyBuilder<MP, M extends Types.BaseMapBuilder<MP, M>>>
-