Table.Builder |
Table.Builder.addBigIntColumn(String columnName,
boolean nullable) |
|
Table.Builder |
Table.Builder.addBigIntColumn(String columnName,
boolean nullable,
String defaultValue) |
|
Table.Builder |
Table.Builder.addBlobColumn(String columnName,
long size,
int inlineSize,
boolean nullable) |
|
Table.Builder |
Table.Builder.addCharColumn(String columnName,
int size,
boolean nullable) |
Add char (fixed-width) column
|
Table.Builder |
Table.Builder.addCharColumn(String columnName,
int size,
boolean nullable,
String defaultValue) |
Add char (fixed-width) column with a default value specified
|
Table.Builder |
Table.Builder.addClobColumn(String columnName,
boolean nullable,
String defaultVal) |
|
Table.Builder |
Table.Builder.addDoubleColumn(String columnName,
boolean nullable) |
|
Table.Builder |
Table.Builder.addForeignKeyConstraint(String constraintName,
boolean enforced,
String targetSchema,
String targetTable,
String... columns) |
Add a foreign key constraint pointing to the target table.
|
Table.Builder |
Table.Builder.addForeignKeyConstraint(String constraintName,
String targetSchema,
String targetTable,
String... columns) |
Add a foreign key constraint pointing to the target table (with enforcement).
|
Table.Builder |
Table.Builder.addForeignKeyConstraintAltTarget(String constraintName,
String targetSchema,
String targetTable,
String targetColumnName,
String... columns) |
Adds a foreign key constraint relationship on itself.
|
Table.Builder |
Table.Builder.addForeignKeyConstraintSelf(String constraintName,
String targetSchema,
String targetTable,
String targetColumnName,
String... columns) |
Adds a foreign key constraint relationship on itself.
|
Table.Builder |
Table.Builder.addIndex(String indexName,
OrderedColumnDef... columns) |
|
Table.Builder |
Table.Builder.addIndex(String indexName,
String... columns) |
Add an index to the table using the list of column names
|
Table.Builder |
Table.Builder.addIntColumn(String columnName,
boolean nullable) |
|
Table.Builder |
Table.Builder.addMigration(Migration... migration) |
|
Table.Builder |
Table.Builder.addPrimaryKey(String constraintName,
String... columns) |
Add a primary key constraint to the table
|
Table.Builder |
Table.Builder.addPrivilege(String groupName,
Privilege p) |
|
Table.Builder |
Table.Builder.addPrivileges(Collection<GroupPrivilege> gps) |
Add the collection of group privileges to this table
|
Table.Builder |
Table.Builder.addSmallIntColumn(String columnName,
Integer defaultValue,
boolean nullable) |
|
Table.Builder |
Table.Builder.addTag(String tagName,
String tagValue) |
|
Table.Builder |
Table.Builder.addTimestampColumn(String columnName,
boolean nullable) |
|
Table.Builder |
Table.Builder.addTimestampColumn(String columnName,
boolean nullable,
String defaultValue) |
|
Table.Builder |
Table.Builder.addTimestampColumn(String columnName,
int numberOfFractionalSecondDigits,
boolean nullable) |
|
Table.Builder |
Table.Builder.addUniqueConstraint(String constraintName,
String... columnName) |
Add a unique constraint to the table/column
|
Table.Builder |
Table.Builder.addUniqueIndex(String indexName,
String... columns) |
Add a unique index to the table using the list of column names
|
Table.Builder |
Table.Builder.addUniqueIndex(String indexName,
Collection<String> indexColumns,
Collection<String> includeColumns) |
Add a unique index with include columns
|
Table.Builder |
Table.Builder.addVarbinaryColumn(String columnName,
int size,
boolean nullable) |
Add a VARBINARY(nn) column
|
Table.Builder |
Table.Builder.addVarcharColumn(String columnName,
int size,
boolean nullable) |
|
Table.Builder |
Table.Builder.addWiths(List<With> withs) |
adds with parameters (key-values) to the table definition.
|
static Table.Builder |
Table.builder(String schemaName,
String tableName) |
Create a builder for Table .
|
Table.Builder |
Table.Builder.enableAccessControl(SessionVariableDef var) |
Switch on access control for this table
|
Table.Builder |
Table.Builder.setIdentityColumn(String columnName,
Generated generated) |
Set one of the columns to be the identity column for the table
|
Table.Builder |
Table.Builder.setTablespace(Tablespace ts) |
Setter for the tablespace
|
Table.Builder |
Table.Builder.setTenantColumnName(String name) |
Setter to configure this table for multitenancy.
|
Table.Builder |
Table.Builder.setVersion(int v) |
Set the version
|