Class DropIndexSpecification
java.lang.Object
org.springframework.data.cassandra.core.cql.keyspace.IndexNameSpecification<DropIndexSpecification>
org.springframework.data.cassandra.core.cql.keyspace.DropIndexSpecification
- All Implemented Interfaces:
CqlSpecification
public class DropIndexSpecification
extends IndexNameSpecification<DropIndexSpecification>
implements CqlSpecification
Value object representing a
DROP INDEX
specification.- Author:
- Matthew T. Adams, David Webb, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic DropIndexSpecification
dropIndex
(@Nullable com.datastax.oss.driver.api.core.CqlIdentifier keyspace, com.datastax.oss.driver.api.core.CqlIdentifier indexName) Create a newDropIndexSpecification
for the givenindexName
.static DropIndexSpecification
dropIndex
(com.datastax.oss.driver.api.core.CqlIdentifier indexName) Create a newDropIndexSpecification
for the givenindexName
.static DropIndexSpecification
Create a newDropIndexSpecification
for the givenindexName
.Methods inherited from class org.springframework.data.cassandra.core.cql.keyspace.IndexNameSpecification
getKeyspace, getName
-
Method Details
-
dropIndex
Create a newDropIndexSpecification
for the givenindexName
.- Parameters:
indexName
- must not be null or empty.- Returns:
- a new
DropIndexSpecification
.
-
dropIndex
public static DropIndexSpecification dropIndex(com.datastax.oss.driver.api.core.CqlIdentifier indexName) Create a newDropIndexSpecification
for the givenindexName
.- Parameters:
indexName
- must not be null.- Returns:
- a new
DropIndexSpecification
.
-
dropIndex
public static DropIndexSpecification dropIndex(@Nullable com.datastax.oss.driver.api.core.CqlIdentifier keyspace, com.datastax.oss.driver.api.core.CqlIdentifier indexName) Create a newDropIndexSpecification
for the givenindexName
. Uses the default keyspace ifkeyspace
is null; otherwise, of thekeyspace
is notinvalid @link
{@link null
keyspace
.- Parameters:
keyspace
- can be null.indexName
- must not be null.- Returns:
- a new
DropIndexSpecification
.
-