public class CreateIndexQuery extends MigrationQuery
| Constructor and Description |
|---|
CreateIndexQuery(Table table,
SecondaryIndex index) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addsReferenceTo(String udtName)
Whether the query will introduce a new column/field that uses the given UDT.
|
AbstractBound<?> |
build(DataStore dataStore) |
protected 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 CreateIndexQuery(Table table, SecondaryIndex index)
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 MigrationQueryprotected boolean addsReferenceTo(String udtName)
MigrationQueryaddsReferenceTo in class MigrationQueryprotected boolean dropsReferenceTo(String udtName)
MigrationQuerydropsReferenceTo in class MigrationQueryCopyright © 2021. All rights reserved.