public class CreateTableQuery extends MigrationQuery
keyspaceName| Constructor and Description |
|---|
CreateTableQuery(String keyspaceName,
io.stargate.bridge.proto.Schema.CqlTable 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.
|
io.stargate.bridge.proto.QueryOuterClass.Query |
build() |
static List<MigrationQuery> |
createTableAndIndexes(String keyspaceName,
io.stargate.bridge.proto.Schema.CqlTable table) |
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 CreateTableQuery(String keyspaceName, io.stargate.bridge.proto.Schema.CqlTable table)
public static List<MigrationQuery> createTableAndIndexes(String keyspaceName, io.stargate.bridge.proto.Schema.CqlTable table)
public 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 MigrationQuerypublic boolean addsReferenceTo(String udtName)
MigrationQueryaddsReferenceTo in class MigrationQuerypublic boolean dropsReferenceTo(String udtName)
MigrationQuerydropsReferenceTo in class MigrationQueryCopyright © 2022. All rights reserved.