Package | Description |
---|---|
com.datastax.dse.driver.api.querybuilder.schema |
This package effectively mirrors the Cassandra OSS Schema interfaces to allow extended schema and
query building for the DSE driver.
|
Modifier and Type | Method and Description |
---|---|
CreateDseTable |
CreateDseTable.withClusteringColumn(CqlIdentifier columnName,
DataType dataType)
Adds a clustering column definition in the CREATE TABLE statement.
|
default CreateDseTable |
CreateDseTable.withClusteringColumn(String columnName,
DataType dataType)
|
CreateDseTable |
CreateDseTable.withColumn(CqlIdentifier columnName,
DataType dataType)
Adds a column definition in the CREATE TABLE statement.
|
default CreateDseTable |
CreateDseTable.withColumn(String columnName,
DataType dataType)
Shortcut for
withColumn(CqlIdentifier.asCql(columnName), dataType) . |
CreateDseTable |
OngoingDsePartitionKey.withPartitionKey(CqlIdentifier columnName,
DataType dataType)
Adds a partition key column definition.
|
default CreateDseTable |
OngoingDsePartitionKey.withPartitionKey(String columnName,
DataType dataType)
|
CreateDseTable |
CreateDseTable.withStaticColumn(CqlIdentifier columnName,
DataType dataType)
Adds a static column definition in the CREATE TABLE statement.
|
default CreateDseTable |
CreateDseTable.withStaticColumn(String columnName,
DataType dataType)
|
Copyright © 2017–2022. All rights reserved.