Uses of Class
com.datastax.driver.core.schemabuilder.SchemaStatement
-
Packages that use SchemaStatement Package Description com.datastax.driver.core.schemabuilder A CQL3 schema builder. -
-
Uses of SchemaStatement in com.datastax.driver.core.schemabuilder
Subclasses of SchemaStatement in com.datastax.driver.core.schemabuilder Modifier and Type Class Description classAbstractCreateStatement<T extends AbstractCreateStatement<T>>static classAlter.OptionsThe table options of an ALTER TABLE statement.classCreateA built CREATE TABLE statement.static classCreate.OptionsThe table options of a CREATE TABLE statement.classCreateTypeA built CREATE TYPE statement.classDropA built DROP statement.classDropKeyspaceA built DROP KEYSPACE statement.classKeyspaceOptionsThe keyspace options used in CREATE KEYSPACE or ALTER KEYSPACE statements.classTableOptions<T extends TableOptions>The table options used in a CREATE TABLE or ALTER TABLE statement.Methods in com.datastax.driver.core.schemabuilder that return SchemaStatement Modifier and Type Method Description SchemaStatementCreateIndex.CreateIndexOn. andColumn(String columnName)Specify the column to create the index on.SchemaStatementCreateIndex.CreateIndexOn. andKeysOfColumn(String columnName)Create an index on the keys of the given map column.SchemaStatementAlter. dropColumn(String columnName)Add a new DROP column clause to this ALTER TABLE statement.SchemaStatementAlter.RenameColumn. to(String newColumnName)Define the new name of the column.SchemaStatementAlter.AddColumn. type(DataType type)Define the type of the added column.SchemaStatementAlter.AlterColumn. type(DataType type)Define the new type of the altered column.SchemaStatementAlter.AddColumn. udtType(UDTType udtType)Define the type of the added column, when that type contains a UDT.SchemaStatementAlter.AlterColumn. udtType(UDTType udtType)Define the new type of the altered column, when that type contains a UDT.
-