Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
static CreateTypeStart |
SchemaBuilder.createType(CqlIdentifier typeName)
Starts a CREATE TYPE query with the given type name.
|
static CreateTypeStart |
SchemaBuilder.createType(CqlIdentifier keyspace,
CqlIdentifier typeName)
Starts a CREATE TYPE query with the given type name for the given keyspace name.
|
static CreateTypeStart |
SchemaBuilder.createType(String typeName)
Shortcut for
createType(CqlIdentifier.fromCql(typeName) . |
static CreateTypeStart |
SchemaBuilder.createType(String keyspace,
String typeName)
|
Modifier and Type | Method and Description |
---|---|
CreateTypeStart |
CreateTypeStart.ifNotExists()
Adds IF NOT EXISTS to the create type specification.
|
Copyright © 2017–2023. All rights reserved.