Module spring.data.cassandra
Class AlterKeyspaceSpecification
java.lang.Object
org.springframework.data.cassandra.core.cql.keyspace.KeyspaceActionSpecification
org.springframework.data.cassandra.core.cql.keyspace.KeyspaceOptionsSpecification<AlterKeyspaceSpecification>
org.springframework.data.cassandra.core.cql.keyspace.AlterKeyspaceSpecification
- All Implemented Interfaces:
CqlSpecification
public class AlterKeyspaceSpecification
extends KeyspaceOptionsSpecification<AlterKeyspaceSpecification>
implements CqlSpecification
Object to configure a
ALTER KEYSPACE specification.- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.cassandra.core.cql.keyspace.KeyspaceOptionsSpecification
options -
Method Summary
Modifier and TypeMethodDescriptionstatic AlterKeyspaceSpecificationalterKeyspace(com.datastax.oss.driver.api.core.CqlIdentifier name) Entry point into theAlterKeyspaceSpecification's fluent API givennameto alter a keyspace.static AlterKeyspaceSpecificationalterKeyspace(String name) Entry point into theAlterKeyspaceSpecification's fluent API givennameto alter a keyspace.Methods inherited from class org.springframework.data.cassandra.core.cql.keyspace.KeyspaceOptionsSpecification
equals, getOptions, hashCode, with, with, withMethods inherited from class org.springframework.data.cassandra.core.cql.keyspace.KeyspaceActionSpecification
canEqual, getName
-
Method Details
-
alterKeyspace
Entry point into theAlterKeyspaceSpecification's fluent API givennameto alter a keyspace. Convenient if imported statically.- Parameters:
name- must not be null or empty.- Returns:
- a new
AlterKeyspaceSpecification.
-
alterKeyspace
public static AlterKeyspaceSpecification alterKeyspace(com.datastax.oss.driver.api.core.CqlIdentifier name) Entry point into theAlterKeyspaceSpecification's fluent API givennameto alter a keyspace. Convenient if imported statically.- Parameters:
name- must not be null or empty.- Returns:
- a new
AlterKeyspaceSpecification.
-