Package com.datastax.driver.core.schemabuilder
A CQL3 schema builder.
The main entry for this package is the SchemaBuilder class.
-
Class Summary Class Description AbstractCreateStatement<T extends AbstractCreateStatement<T>> Alter An in-construction ALTER TABLE statement.Alter.AddColumn An ADD column clause.Alter.AlterColumn An ALTER column clause.Alter.Options The table options of an ALTER TABLE statement.Alter.RenameColumn A RENAME column clause.AlterKeyspace A built ALTER KEYSPACE statement.Create A built CREATE TABLE statement.Create.Options The table options of a CREATE TABLE statement.CreateIndex A built CREATE INDEX statement.CreateKeyspace A built CREATE KEYSPACE statement.CreateType A built CREATE TYPE statement.Drop A built DROP statement.DropKeyspace A built DROP KEYSPACE statement.KeyspaceOptions The keyspace options used in CREATE KEYSPACE or ALTER KEYSPACE statements.SchemaBuilder Static methods to build a CQL3 DDL statement.SchemaStatement A DDL statement generated bySchemaBuilder.TableOptions<T extends TableOptions> The table options used in a CREATE TABLE or ALTER TABLE statement.TableOptions.AdditionalWritePolicyValue Additional Write Policy.TableOptions.CachingRowsPerPartition Define the number of rows to be cached per partition when row caching is enabled (this feature is only applicable to Cassandra 2.1.x).TableOptions.CompactionOptions<T extends TableOptions.CompactionOptions> Compaction options for a CREATE or ALTER TABLE statement.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions Compaction options specific to the date-tiered strategy.TableOptions.CompactionOptions.LeveledCompactionStrategyOptions Compaction options specific to Leveled strategyTableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions Compaction options specific to SizeTiered strategyTableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions Compaction options specific to the time window strategy.TableOptions.CompressionOptions The compression options for a CREATE or ALTER TABLE statement.TableOptions.CompressionOptions.NoCompression TableOptions.SpeculativeRetryValue The speculative retry options.UDTType Represents a CQL type containing a user-defined type (UDT) in a SchemaBuilder statement. -
Enum Summary Enum Description SchemaBuilder.Caching Caching strategies, for use in a CREATE or ALTER TABLE statement.SchemaBuilder.Direction The direction used in clustering order declarations.SchemaBuilder.KeyCaching Key caching strategies for Cassandra 2.1, for use in a CREATE or ALTER TABLE statement.TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution TableOptions.CompactionOptions.Strategy Compaction strategies.TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution TableOptions.CompressionOptions.Algorithm Compression algorithms.TableOptions.ReadRepairValue Read Repair modes.