Package org.apache.parquet.schema
Class Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>>
- java.lang.Object
-
- org.apache.parquet.schema.Types.Builder<THIS,P>
-
- org.apache.parquet.schema.Types.BasePrimitiveBuilder<LP,Types.BaseListBuilder.ElementBuilder<LP,L>>
-
- org.apache.parquet.schema.Types.BaseListBuilder.ElementBuilder<LP,L>
-
- Enclosing class:
- Types.BaseListBuilder<P,THIS extends Types.BaseListBuilder<P,THIS>>
public static class Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>> extends Types.BasePrimitiveBuilder<LP,Types.BaseListBuilder.ElementBuilder<LP,L>>
-
-
Field Summary
-
Fields inherited from class org.apache.parquet.schema.Types.Builder
id, logicalTypeAnnotation, newLogicalTypeSet, parent, repetition, returnClass
-
-
Constructor Summary
Constructors Constructor Description ElementBuilder(L listBuilder, PrimitiveType.PrimitiveTypeName type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LP
named(String name)
Builds aType
and returns the parent builder, if given, or theType
that was built.protected Types.BaseListBuilder.ElementBuilder<LP,L>
self()
-
Methods inherited from class org.apache.parquet.schema.Types.BasePrimitiveBuilder
build, columnOrder, decimalMetadata, length, precision, scale
-
Methods inherited from class org.apache.parquet.schema.Types.Builder
as, as, getOriginalType, id, repetition
-
-
-
-
Constructor Detail
-
ElementBuilder
public ElementBuilder(L listBuilder, PrimitiveType.PrimitiveTypeName type)
-
-
Method Detail
-
named
public LP named(String name)
Description copied from class:Types.Builder
Builds aType
and returns the parent builder, if given, or theType
that 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:
named
in classTypes.Builder<Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>>,LP>
- Parameters:
name
- a name for the constructed type- Returns:
- the parent
GroupBuilder
or the constructedType
-
self
protected Types.BaseListBuilder.ElementBuilder<LP,L> self()
- Specified by:
self
in classTypes.BasePrimitiveBuilder<LP,Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>>>
-
-