Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
static Drop |
SchemaBuilder.dropAggregate(CqlIdentifier aggregateName)
Starts an DROP AGGREGATE query.
|
static Drop |
SchemaBuilder.dropAggregate(CqlIdentifier keyspace,
CqlIdentifier aggregateName)
Starts an DROP AGGREGATE query for the given aggregate name for the given keyspace name.
|
static Drop |
SchemaBuilder.dropAggregate(String aggregateName)
Shortcut for
dropAggregate(CqlIdentifier.fromCql(aggregateName) . |
static Drop |
SchemaBuilder.dropAggregate(String keyspace,
String aggregateName)
|
static Drop |
SchemaBuilder.dropFunction(CqlIdentifier functionName)
Starts a DROP FUNCTION query.
|
static Drop |
SchemaBuilder.dropFunction(CqlIdentifier keyspace,
CqlIdentifier functionName)
Starts a DROP FUNCTION query for the given function name for the given keyspace name.
|
static Drop |
SchemaBuilder.dropFunction(String functionName)
Shortcut for
dropFunction(CqlIdentifier.fromCql(functionName) . |
static Drop |
SchemaBuilder.dropFunction(String keyspace,
String functionName)
|
static Drop |
SchemaBuilder.dropIndex(CqlIdentifier indexName)
Starts a DROP INDEX query.
|
static Drop |
SchemaBuilder.dropIndex(CqlIdentifier keyspace,
CqlIdentifier indexName)
Starts a DROP INDEX query for the given index for the given keyspace name.
|
static Drop |
SchemaBuilder.dropIndex(String indexName)
Shortcut for
dropIndex(CqlIdentifier.fromCql(indexName) . |
static Drop |
SchemaBuilder.dropIndex(String keyspace,
String indexName)
Shortcut for
SchemaBuilder.dropIndex(CqlIdentifier, CqlIdentifier)
dropIndex(CqlIdentifier.fromCql(keyspace),CqlIdentifier.fromCql(indexName)}. |
static Drop |
SchemaBuilder.dropKeyspace(CqlIdentifier keyspaceName)
Starts a DROP KEYSPACE query.
|
static Drop |
SchemaBuilder.dropKeyspace(String keyspaceName)
Shortcut for
dropKeyspace(CqlIdentifier.fromCql(keyspaceName) . |
static Drop |
SchemaBuilder.dropMaterializedView(CqlIdentifier viewName)
Starts a DROP MATERIALIZED VIEW query.
|
static Drop |
SchemaBuilder.dropMaterializedView(CqlIdentifier keyspace,
CqlIdentifier viewName)
Starts a DROP MATERIALIZED VIEW query for the given view name for the given keyspace name.
|
static Drop |
SchemaBuilder.dropMaterializedView(String viewName)
Shortcut for
dropMaterializedView(CqlIdentifier.fromCql(viewName) . |
static Drop |
SchemaBuilder.dropMaterializedView(String keyspace,
String viewName)
|
static Drop |
SchemaBuilder.dropTable(CqlIdentifier tableName)
Starts a DROP TABLE query.
|
static Drop |
SchemaBuilder.dropTable(CqlIdentifier keyspace,
CqlIdentifier tableName)
Starts a DROP TABLE query for the given table name for the given keyspace name.
|
static Drop |
SchemaBuilder.dropTable(String tableName)
Shortcut for
dropTable(CqlIdentifier.fromCql(tableName) . |
static Drop |
SchemaBuilder.dropTable(String keyspace,
String tableName)
|
static Drop |
SchemaBuilder.dropType(CqlIdentifier typeName)
Starts a DROP TYPE query.
|
static Drop |
SchemaBuilder.dropType(CqlIdentifier keyspace,
CqlIdentifier typeName)
Starts a DROP TYPE query for the given view name for the given type name.
|
static Drop |
SchemaBuilder.dropType(String typeName)
Shortcut for
dropType(CqlIdentifier.fromCql(typeName) . |
static Drop |
SchemaBuilder.dropType(String keyspace,
String typeName)
|
Modifier and Type | Method and Description |
---|---|
Drop |
Drop.ifExists()
Adds 'IF EXISTS" to the drop specification.
|
Copyright © 2017–2020. All rights reserved.