Package | Description |
---|---|
org.apache.cassandra.cql3 | |
org.apache.cassandra.cql3.statements.schema | |
org.apache.cassandra.db | |
org.apache.cassandra.schema |
Modifier and Type | Method and Description |
---|---|
abstract CQL3Type |
CQL3Type.Raw.prepare(java.lang.String keyspace,
Types udts) |
CQL3Type |
CQL3Type.Raw.prepareInternal(java.lang.String keyspace,
Types udts) |
Modifier and Type | Method and Description |
---|---|
TableMetadata.Builder |
CreateTableStatement.builder(Types types) |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<java.lang.String> |
SchemaCQLHelper.getUserTypesAsCQL(TableMetadata metadata,
Types types,
boolean ifNotExists)
Build a CQL String representation of User Types used in the given table.
|
static java.util.stream.Stream<java.lang.String> |
SchemaCQLHelper.reCreateStatementsForSchemaCql(TableMetadata metadata,
Types types)
Generates the DDL statement for a
schema.cql snapshot file. |
Modifier and Type | Field and Description |
---|---|
Types |
KeyspaceMetadata.types |
Modifier and Type | Method and Description |
---|---|
Types |
Types.Builder.build() |
Types |
Types.RawBuilder.build()
Build a Types instance from Raw definitions.
|
static Types |
Types.none() |
static Types |
Types.of(UserType... types) |
Types |
Types.with(UserType type)
Create a Types instance with the provided type added
|
Types |
Types.without(java.nio.ByteBuffer name)
Creates a Types instance with the type with the provided name removed
|
Types |
Types.without(UserType type) |
Types |
Types.withUpdatedUserType(UserType udt) |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params,
Tables tables,
Views views,
Types types,
Functions functions) |
static AbstractType<?> |
CQLTypeParser.parse(java.lang.String keyspace,
java.lang.String unparsed,
Types userTypes) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Types types) |
Copyright © 2009-2022 The Apache Software Foundation