Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCreateStatement<T extends AbstractCreateStatement<T>> |
static class |
Alter.Options
The table options of an ALTER TABLE statement.
|
class |
Create
A built CREATE TABLE statement.
|
static class |
Create.Options
The table options of a CREATE TABLE statement.
|
class |
CreateType
A built CREATE TYPE statement.
|
class |
Drop
A built DROP statement.
|
class |
DropKeyspace
A built DROP KEYSPACE statement.
|
class |
KeyspaceOptions
The keyspace options used in CREATE KEYSPACE or ALTER KEYSPACE statements.
|
class |
TableOptions<T extends TableOptions>
The table options used in a CREATE TABLE or ALTER TABLE statement.
|
Modifier and Type | Method and Description |
---|---|
SchemaStatement |
CreateIndex.CreateIndexOn.andColumn(String columnName)
Specify the column to create the index on.
|
SchemaStatement |
CreateIndex.CreateIndexOn.andKeysOfColumn(String columnName)
Create an index on the keys of the given map column.
|
SchemaStatement |
Alter.dropColumn(String columnName)
Add a new DROP column clause to this ALTER TABLE statement.
|
SchemaStatement |
SchemaStatement.setKeyspace(String keyspace)
Sets the keyspace this query operates on.
|
SchemaStatement |
Alter.RenameColumn.to(String newColumnName)
Define the new name of the column.
|
SchemaStatement |
Alter.AlterColumn.type(DataType type)
Define the new type of the altered column.
|
SchemaStatement |
Alter.AddColumn.type(DataType type)
Define the type of the added column.
|
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–2019. All rights reserved.