public class CreateUserTypeSpecification extends UserTypeSpecification<CreateUserTypeSpecification>
CREATE TYPE
specification.CqlIdentifier
Constructor and Description |
---|
CreateUserTypeSpecification() |
Modifier and Type | Method and Description |
---|---|
static CreateUserTypeSpecification |
createType()
Entry point into the
CreateUserTypeSpecification 's fluent API to create a type. |
static CreateUserTypeSpecification |
createType(CqlIdentifier name)
Entry point into the
CreateUserTypeSpecification 's fluent API to create a type. |
static CreateUserTypeSpecification |
createType(String name)
Entry point into the
CreateUserTypeSpecification 's fluent API to create a type. |
boolean |
getIfNotExists() |
CreateUserTypeSpecification |
ifNotExists()
Enables the inclusion of an
IF NOT EXISTS clause. |
CreateUserTypeSpecification |
ifNotExists(boolean ifNotExists)
Sets the inclusion of an
IF NOT EXISTS clause. |
field, field, getFields
getName, name, name
public static CreateUserTypeSpecification createType()
CreateUserTypeSpecification
's fluent API to create a type. Convenient if imported
statically.public static CreateUserTypeSpecification createType(CqlIdentifier name)
CreateUserTypeSpecification
's fluent API to create a type. Convenient if imported
statically.public static CreateUserTypeSpecification createType(String name)
CreateUserTypeSpecification
's fluent API to create a type. Convenient if imported
statically.public CreateUserTypeSpecification ifNotExists()
IF NOT EXISTS
clause.CreateUserTypeSpecification
.public CreateUserTypeSpecification ifNotExists(boolean ifNotExists)
IF NOT EXISTS
clause.ifNotExists
- true to include an IF NOT EXISTS
clause, false to omit the
IF NOT EXISTS
clause.CreateUserTypeSpecification
.public boolean getIfNotExists()
IF NOT EXISTS
clause is included.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.