public static class Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>> extends Types.BasePrimitiveBuilder<LP,Types.BaseListBuilder.ElementBuilder<LP,L>>
id, originalType, parent, repetition, returnClass| Constructor and Description |
|---|
ElementBuilder(L listBuilder,
PrimitiveType.PrimitiveTypeName type) |
| Modifier and Type | Method and Description |
|---|---|
LP |
named(String name)
Builds a
Type and returns the parent builder, if given, or the
Type that was built. |
protected Types.BaseListBuilder.ElementBuilder<LP,L> |
self() |
build, columnOrder, decimalMetadata, length, precision, scaleas, id, repetitionpublic ElementBuilder(L listBuilder, PrimitiveType.PrimitiveTypeName type)
public LP named(String name)
Types.BuilderType and returns the parent builder, if given, or the
Type 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.
named in class Types.Builder<Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>>,LP>name - a name for the constructed typeGroupBuilder or the constructed Typeprotected Types.BaseListBuilder.ElementBuilder<LP,L> self()
self in class Types.BasePrimitiveBuilder<LP,Types.BaseListBuilder.ElementBuilder<LP,L extends Types.BaseListBuilder<LP,L>>>Copyright © 2019 The Apache Software Foundation. All rights reserved.