Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
Create |
Create.addClusteringColumn(String columnName,
DataType dataType)
Add a clustering column definition to this CREATE TABLE statement.
|
Create |
Create.addPartitionKey(String columnName,
DataType dataType)
Add a partition key column definition to this CREATE TABLE statement.
|
Create |
Create.addStaticColumn(String columnName,
DataType dataType)
Add a static column definition to this CREATE TABLE statement.
|
Create |
Create.addUDTClusteringColumn(String columnName,
UDTType udtType)
Add a clustering column definition to this CREATE TABLE statement, when its type contains a UDT.
|
Create |
Create.addUDTPartitionKey(String columnName,
UDTType udtType)
Add a partition key column definition to this CREATE TABLE statement, when its type contains a UDT.
|
Create |
Create.addUDTStaticColumn(String columnName,
UDTType udtType)
Add a static column definition to this CREATE TABLE statement, when its type contains a UDT.
|
static Create |
SchemaBuilder.createTable(String tableName)
Start building a new CREATE TABLE statement.
|
static Create |
SchemaBuilder.createTable(String keyspaceName,
String tableName)
Start building a new CREATE TABLE statement.
|
Copyright © 2012–2015. All rights reserved.