public class DropTableQuery extends MigrationQuery
| Constructor and Description |
|---|
DropTableQuery(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) |
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 DropTableQuery(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 void authorize(AuthorizationService authorizationService, AuthenticationSubject subject) throws UnauthorizedException
authorize in class MigrationQueryUnauthorizedExceptionpublic boolean addsReferenceTo(String udtName)
MigrationQueryaddsReferenceTo in class MigrationQuerypublic boolean dropsReferenceTo(String udtName)
MigrationQuerydropsReferenceTo in class MigrationQueryCopyright © 2023. All rights reserved.