Class CreateUserTypeCqlGenerator
java.lang.Object
org.springframework.data.cassandra.core.cql.generator.UserTypeNameCqlGenerator<CreateUserTypeSpecification>
org.springframework.data.cassandra.core.cql.generator.CreateUserTypeCqlGenerator
public class CreateUserTypeCqlGenerator
extends UserTypeNameCqlGenerator<CreateUserTypeSpecification>
CQL generator for generating a
CREATE TYPE
statement.- Since:
- 1.5
- Author:
- Fabio J. Mendes, Mark Paluch, Frank Spitulski
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateUserTypeCqlGenerator
(CreateUserTypeSpecification specification) Create a newCreateUserTypeCqlGenerator
for a givenCreateUserTypeSpecification
. -
Method Summary
Modifier and TypeMethodDescriptiontoCql
(StringBuilder cql) static String
toCql
(CreateUserTypeSpecification specification) Methods inherited from class org.springframework.data.cassandra.core.cql.generator.UserTypeNameCqlGenerator
getSpecification, spec, toCql
-
Constructor Details
-
CreateUserTypeCqlGenerator
Create a newCreateUserTypeCqlGenerator
for a givenCreateUserTypeSpecification
.- Parameters:
specification
- must not be null.
-
-
Method Details
-
toCql
-
toCql
- Specified by:
toCql
in classUserTypeNameCqlGenerator<CreateUserTypeSpecification>
-