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 DropTableSpecificationdropTable(com.datastax.oss.driver.api.core.CqlIdentifier tableName) Entry point into theDropTableSpecification's fluent API giventableNameto drop a table.static DropTableSpecificationEntry point into theDropTableSpecification's fluent APItableNameto drop a table.booleanifExists()Causes the inclusion of anIF EXISTSclause.ifExists(boolean ifExists) Toggles the inclusion of anIF EXISTSclause.Methods inherited from class org.springframework.data.cassandra.core.cql.keyspace.TableNameSpecification
getName
-
Method Details
-
dropTable
Entry point into theDropTableSpecification's fluent APItableNameto 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 giventableNameto drop a table. Convenient if imported statically.- Parameters:
tableName- must not be null.- Returns:
- a new
DropTableSpecification.
-
ifExists
Causes the inclusion of anIF EXISTSclause.- Returns:
- this
- Since:
- 2.1
-
ifExists
Toggles the inclusion of anIF EXISTSclause.- Returns:
- this
- Since:
- 2.1
-
getIfExists
public boolean getIfExists()
-