public class CreateTableQuery extends MigrationQuery
| Constructor and Description |
|---|
CreateTableQuery(Table table) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addsReferenceTo(String udtName)
Whether the query will introduce a new column/field that uses the given UDT.
|
AbstractBound<?> |
build(DataStore dataStore) |
static List<MigrationQuery> |
createTableAndIndexes(Table table) |
boolean |
dropsReferenceTo(String udtName)
Whether the query will remove a column/field that was using the given UDT.
|
String |
getDescription() |
Table |
getTable() |
boolean |
mustRunBefore(MigrationQuery that) |
referencespublic CreateTableQuery(Table table)
public static List<MigrationQuery> createTableAndIndexes(Table table)
public Table getTable()
public AbstractBound<?> build(DataStore dataStore)
build in class MigrationQuerypublic String getDescription()
getDescription in class MigrationQuerypublic boolean mustRunBefore(MigrationQuery that)
mustRunBefore in class MigrationQuerypublic boolean addsReferenceTo(String udtName)
MigrationQueryaddsReferenceTo in class MigrationQuerypublic boolean dropsReferenceTo(String udtName)
MigrationQuerydropsReferenceTo in class MigrationQueryCopyright © 2021. All rights reserved.