Class TableDefinition.Builder<T,B> (2.23.2)

public abstract static class TableDefinition.Builder<T,B>

Base builder for table definitions.

Inheritance

java.lang.Object > TableDefinition.Builder<T,B>

Type Parameters

NameDescription
T
B

Constructors

Builder()

public Builder()

Methods

build()

public abstract T build()

Creates an object.

Returns
TypeDescription
T

setSchema(Schema schema)

public abstract B setSchema(Schema schema)

Sets the table schema.

Parameter
NameDescription
schemaSchema
Returns
TypeDescription
B

setType(TableDefinition.Type type)

public abstract B setType(TableDefinition.Type type)
Parameter
NameDescription
typeTableDefinition.Type
Returns
TypeDescription
B