Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
static UDTType |
SchemaBuilder.frozen(String udtName)
Build the datatype representation of a frozen UDT, to include in a schema builder statement.
|
static UDTType |
SchemaBuilder.udtLiteral(String literal)
Build the datatype representation of a complex UDT type, to include in a schema builder
statement.
|
Modifier and Type | Method and Description |
---|---|
Create |
Create.addUDTClusteringColumn(String columnName,
UDTType udtType)
Add a clustering column definition to this CREATE TABLE statement, when its type contains a
UDT.
|
T |
AbstractCreateStatement.addUDTColumn(String columnName,
UDTType udtType)
Add a column definition to this CREATE statement, when the type contains a UDT.
|
T |
AbstractCreateStatement.addUDTListColumn(String columnName,
UDTType udtType)
Shorthand to add a column definition to this CREATE statement, when the type is a list of UDT.
|
T |
AbstractCreateStatement.addUDTMapColumn(String columnName,
DataType keyType,
UDTType valueUdtType)
Shorthand to add a column definition to this CREATE statement, when the type is a map with a
UDT value type.
|
T |
AbstractCreateStatement.addUDTMapColumn(String columnName,
UDTType udtKeyType,
DataType valueType)
Shorthand to add a column definition to this CREATE statement, when the type is a map with a
UDT key type.
|
T |
AbstractCreateStatement.addUDTMapColumn(String columnName,
UDTType udtKeyType,
UDTType udtValueType)
Shorthand to add a column definition to this CREATE statement, when the type is a map with UDT
key and value types.
|
Create |
Create.addUDTPartitionKey(String columnName,
UDTType udtType)
Add a partition key column definition to this CREATE TABLE statement, when its type contains a
UDT.
|
T |
AbstractCreateStatement.addUDTSetColumn(String columnName,
UDTType udtType)
Shorthand to add a column definition to this CREATE statement, when the type is a set of UDT.
|
Create |
Create.addUDTStaticColumn(String columnName,
UDTType udtType)
Add a static column definition to this CREATE TABLE statement, when its type contains a UDT.
|
SchemaStatement |
Alter.AlterColumn.udtType(UDTType udtType)
Define the new type of the altered column, when that type contains a UDT.
|
SchemaStatement |
Alter.AddColumn.udtType(UDTType udtType)
Define the type of the added column, when that type contains a UDT.
|
Copyright © 2012–2024. All rights reserved.