Class DropTableSpecification
java.lang.Object
org.springframework.data.cassandra.core.cql.keyspace.TableNameSpecification
org.springframework.data.cassandra.core.cql.keyspace.DropTableSpecification
Object to configure a
DROP TABLE
specification.- Author:
- Matthew T. Adams, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic DropTableSpecification
dropTable
(com.datastax.oss.driver.api.core.CqlIdentifier tableName) Entry point into theDropTableSpecification
's fluent API giventableName
to drop a table.static DropTableSpecification
Entry point into theDropTableSpecification
's fluent APItableName
to drop a table.boolean
ifExists()
Causes the inclusion of anIF EXISTS
clause.ifExists
(boolean ifExists) Toggles the inclusion of anIF EXISTS
clause.Methods inherited from class org.springframework.data.cassandra.core.cql.keyspace.TableNameSpecification
getName
-
Method Details
-
dropTable
Entry point into theDropTableSpecification
's fluent APItableName
to drop a table. Convenient if imported statically.- Parameters:
tableName
- must not be null or empty.- Returns:
- a new
DropTableSpecification
.
-
dropTable
public static DropTableSpecification dropTable(com.datastax.oss.driver.api.core.CqlIdentifier tableName) Entry point into theDropTableSpecification
's fluent API giventableName
to drop a table. Convenient if imported statically.- Parameters:
tableName
- must not be null.- Returns:
- a new
DropTableSpecification
.
-
ifExists
Causes the inclusion of anIF EXISTS
clause.- Returns:
- this
- Since:
- 2.1
-
ifExists
Toggles the inclusion of anIF EXISTS
clause.- Returns:
- this
- Since:
- 2.1
-
getIfExists
public boolean getIfExists()
-