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 CreateTableSpecification
spec()
Convenient synonymous method ofTableNameCqlGenerator.getSpecification()
.toCql
(StringBuilder cql) static String
toCql
(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:TableNameCqlGenerator
Convenient synonymous method ofTableNameCqlGenerator.getSpecification()
.- Overrides:
spec
in classTableOptionsCqlGenerator<TableSpecification<CreateTableSpecification>>
-
toCql
- Specified by:
toCql
in classTableNameCqlGenerator<TableSpecification<CreateTableSpecification>>
-