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