| Package | Description |
|---|---|
| com.datastax.oss.driver.api.querybuilder.schema |
| Modifier and Type | Method and Description |
|---|---|
CreateTable |
CreateTable.withClusteringColumn(CqlIdentifier columnName,
DataType dataType)
Adds a clustering column definition in the CREATE TABLE statement.
|
default CreateTable |
CreateTable.withClusteringColumn(String columnName,
DataType dataType)
|
CreateTable |
CreateTable.withColumn(CqlIdentifier columnName,
DataType dataType)
Adds a column definition in the CREATE TABLE statement.
|
default CreateTable |
CreateTable.withColumn(String columnName,
DataType dataType)
Shortcut for
withColumn(CqlIdentifier.asCql(columnName), dataType). |
CreateTable |
OngoingPartitionKey.withPartitionKey(CqlIdentifier columnName,
DataType dataType)
Adds a partition key column definition.
|
default CreateTable |
OngoingPartitionKey.withPartitionKey(String columnName,
DataType dataType)
|
CreateTable |
CreateTable.withStaticColumn(CqlIdentifier columnName,
DataType dataType)
Adds a static column definition in the CREATE TABLE statement.
|
default CreateTable |
CreateTable.withStaticColumn(String columnName,
DataType dataType)
|
Copyright © 2017–2021. All rights reserved.