Class AlterTableCqlGenerator
java.lang.Object
org.springframework.data.cassandra.core.cql.generator.TableNameCqlGenerator<T>
org.springframework.data.cassandra.core.cql.generator.TableOptionsCqlGenerator<AlterTableSpecification>
org.springframework.data.cassandra.core.cql.generator.AlterTableCqlGenerator
CQL generator for generating
ALTER TABLE
statements.- Author:
- Matthew T. Adams, Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlterTableCqlGenerator
(AlterTableSpecification specification) Create a newAlterTableCqlGenerator
. -
Method Summary
Modifier and TypeMethodDescriptiontoCql
(StringBuilder cql) static String
toCql
(AlterTableSpecification specification) Generates a CQL statement from the givenspecification
.Methods inherited from class org.springframework.data.cassandra.core.cql.generator.TableOptionsCqlGenerator
spec
Methods inherited from class org.springframework.data.cassandra.core.cql.generator.TableNameCqlGenerator
getSpecification, toCql
-
Constructor Details
-
AlterTableCqlGenerator
Create a newAlterTableCqlGenerator
.- Parameters:
specification
- must not be null.
-
-
Method Details
-
toCql
Generates a CQL statement from the givenspecification
.- Parameters:
specification
- must not be null.- Returns:
- the generated CQL statement.
-
toCql
- Specified by:
toCql
in classTableNameCqlGenerator<AlterTableSpecification>
-