Module spring.data.cassandra
Class CreateTableCqlGenerator
java.lang.Object
org.springframework.data.cassandra.core.cql.generator.TableNameCqlGenerator<T>
org.springframework.data.cassandra.core.cql.generator.TableOptionsCqlGenerator<TableSpecification<CreateTableSpecification>>
org.springframework.data.cassandra.core.cql.generator.CreateTableCqlGenerator
public class CreateTableCqlGenerator
extends TableOptionsCqlGenerator<TableSpecification<CreateTableSpecification>>
CQL generator for generating a
CREATE TABLE statement.- Author:
- Matthew T. Adams, Alex Shvid, Mark Paluch, Aleksei Zotov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CreateTableSpecificationspec()Convenient synonymous method ofTableNameCqlGenerator.getSpecification().toCql(StringBuilder cql) static StringtoCql(CreateTableSpecification specification) Methods inherited from class org.springframework.data.cassandra.core.cql.generator.TableNameCqlGenerator
getSpecification, toCql
-
Constructor Details
-
CreateTableCqlGenerator
-
-
Method Details
-
toCql
-
spec
Description copied from class:TableNameCqlGeneratorConvenient synonymous method ofTableNameCqlGenerator.getSpecification().- Overrides:
specin classTableOptionsCqlGenerator<TableSpecification<CreateTableSpecification>>
-
toCql
- Specified by:
toCqlin classTableNameCqlGenerator<TableSpecification<CreateTableSpecification>>
-