public abstract class MigrationQuery extends Object
| Constructor and Description |
|---|
MigrationQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
addsReferenceTo(String udtName)
Whether the query will introduce a new column/field that uses the given UDT.
|
abstract void |
authorize(AuthorizationService authorizationService,
AuthenticationSubject subject) |
abstract AbstractBound<?> |
build(DataStore dataStore) |
protected abstract boolean |
dropsReferenceTo(String udtName)
Whether the query will remove a column/field that was using the given UDT.
|
abstract String |
getDescription() |
abstract boolean |
mustRunBefore(MigrationQuery that) |
protected boolean |
references(Column.ColumnType type,
String udtName) |
public abstract AbstractBound<?> build(DataStore dataStore)
public abstract String getDescription()
public abstract boolean mustRunBefore(MigrationQuery that)
public abstract void authorize(AuthorizationService authorizationService, AuthenticationSubject subject) throws UnauthorizedException
UnauthorizedExceptionprotected abstract boolean addsReferenceTo(String udtName)
protected abstract boolean dropsReferenceTo(String udtName)
protected boolean references(Column.ColumnType type, String udtName)
Copyright © 2021. All rights reserved.