Module spring.data.cassandra
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 newCreateUserTypeCqlGeneratorfor a givenCreateUserTypeSpecification. -
Method Summary
Modifier and TypeMethodDescriptiontoCql(StringBuilder cql) static StringtoCql(CreateUserTypeSpecification specification) Methods inherited from class org.springframework.data.cassandra.core.cql.generator.UserTypeNameCqlGenerator
getSpecification, spec, toCql
-
Constructor Details
-
CreateUserTypeCqlGenerator
Create a newCreateUserTypeCqlGeneratorfor a givenCreateUserTypeSpecification.- Parameters:
specification- must not be null.
-
-
Method Details
-
toCql
-
toCql
- Specified by:
toCqlin classUserTypeNameCqlGenerator<CreateUserTypeSpecification>
-