public class CreateIndexQuery extends MigrationQuery
keyspaceName| Constructor and Description |
|---|
CreateIndexQuery(String keyspaceName,
String tableName,
io.stargate.bridge.proto.Schema.CqlIndex 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.
|
io.stargate.bridge.proto.QueryOuterClass.Query |
build() |
protected boolean |
dropsReferenceTo(String udtName)
Whether the query will remove a column/field that was using the given UDT.
|
String |
getDescription() |
String |
getTableName() |
boolean |
mustRunBefore(MigrationQuery that) |
references, references, referencespublic String getTableName()
public io.stargate.bridge.proto.QueryOuterClass.Query build()
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 © 2022. All rights reserved.