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.
|
void |
authorize(AuthorizationService authorizationService,
AuthenticationSubject subject) |
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 void authorize(AuthorizationService authorizationService, AuthenticationSubject subject) throws UnauthorizedException
authorize in class MigrationQueryUnauthorizedExceptionpublic boolean mustRunBefore(MigrationQuery that)
mustRunBefore in class MigrationQuerypublic boolean addsReferenceTo(String udtName)
MigrationQueryaddsReferenceTo in class MigrationQuerypublic boolean dropsReferenceTo(String udtName)
MigrationQuerydropsReferenceTo in class MigrationQueryCopyright © 2022. All rights reserved.