public class SchemaBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
SchemaBuilder |
addField(MaterializedField f) |
SchemaBuilder |
addFields(Iterable<MaterializedField> fields) |
SchemaBuilder |
addSerializedFields(Iterable<UserBitShared.SerializedField> fields) |
BatchSchema |
build()
Generate a new BatchSchema object based on the current state of the builder.
|
SchemaBuilder |
removeField(MaterializedField f) |
SchemaBuilder |
setSelectionVectorMode(BatchSchema.SelectionVectorMode selectionVectorMode) |
public SchemaBuilder setSelectionVectorMode(BatchSchema.SelectionVectorMode selectionVectorMode)
public SchemaBuilder addFields(Iterable<MaterializedField> fields)
public SchemaBuilder addSerializedFields(Iterable<UserBitShared.SerializedField> fields)
public SchemaBuilder addField(MaterializedField f)
public SchemaBuilder removeField(MaterializedField f) throws SchemaChangeException
SchemaChangeExceptionpublic BatchSchema build()
SchemaChangeExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.