public class RepeatedListBuilder extends Object
resumeXXX
methods return qualified parent container.
In the second case column is created without parent container as a stand-alone entity.
The resumeXXX
methods do not produce any action and return null.
To access built column buildColumn()
should be used.Constructor and Description |
---|
RepeatedListBuilder(org.apache.drill.exec.record.metadata.SchemaContainer parent,
String name) |
RepeatedListBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
RepeatedListBuilder |
addArray(TypeProtos.MinorType type) |
RepeatedListBuilder |
addArray(TypeProtos.MinorType type,
int width) |
RepeatedListBuilder |
addArray(TypeProtos.MinorType type,
int precision,
int scale) |
void |
addColumn(ColumnMetadata column) |
DictBuilder |
addDictArray() |
RepeatedListBuilder |
addDimension() |
UnionBuilder |
addList() |
MapBuilder |
addMapArray() |
void |
build() |
RepeatedListColumnMetadata |
buildColumn() |
DictBuilder |
resumeDict() |
RepeatedListBuilder |
resumeList() |
MapBuilder |
resumeMap() |
SchemaBuilder |
resumeSchema() |
UnionBuilder |
resumeUnion() |
public RepeatedListBuilder(String name)
public RepeatedListBuilder(org.apache.drill.exec.record.metadata.SchemaContainer parent, String name)
public RepeatedListBuilder addDimension()
public MapBuilder addMapArray()
public DictBuilder addDictArray()
public RepeatedListBuilder addArray(TypeProtos.MinorType type)
public RepeatedListBuilder addArray(TypeProtos.MinorType type, int width)
public RepeatedListBuilder addArray(TypeProtos.MinorType type, int precision, int scale)
public UnionBuilder addList()
public RepeatedListColumnMetadata buildColumn()
public void build()
public RepeatedListBuilder resumeList()
public SchemaBuilder resumeSchema()
public UnionBuilder resumeUnion()
public MapBuilder resumeMap()
public DictBuilder resumeDict()
public void addColumn(ColumnMetadata column)
Copyright © 1970 The Apache Software Foundation. All rights reserved.