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
SchemaChangeException
public BatchSchema build()
SchemaChangeException
Copyright © 1970 The Apache Software Foundation. All rights reserved.