public interface CreateDseTable extends BuildableQuery, OngoingDsePartitionKey, CreateDseTableWithOptions
Modifier and Type | Method and Description |
---|---|
CreateDseTable |
withClusteringColumn(CqlIdentifier columnName,
DataType dataType)
Adds a clustering column definition in the CREATE TABLE statement.
|
default CreateDseTable |
withClusteringColumn(String columnName,
DataType dataType)
|
CreateDseTable |
withColumn(CqlIdentifier columnName,
DataType dataType)
Adds a column definition in the CREATE TABLE statement.
|
default CreateDseTable |
withColumn(String columnName,
DataType dataType)
Shortcut for
withColumn(CqlIdentifier.asCql(columnName), dataType) . |
CreateDseTable |
withStaticColumn(CqlIdentifier columnName,
DataType dataType)
Adds a static column definition in the CREATE TABLE statement.
|
default CreateDseTable |
withStaticColumn(String columnName,
DataType dataType)
|
withPartitionKey, withPartitionKey
withCompactStorage
asCql, build, build, build, builder
withClusteringOrder, withClusteringOrder, withClusteringOrder, withClusteringOrderByIds
withBloomFilterFpChance, withCaching, withCDC, withComment, withCompaction, withCompression, withCompression, withDcLocalReadRepairChance, withDefaultTimeToLiveSeconds, withDeflateCompression, withDeflateCompression, withGcGraceSeconds, withLZ4Compression, withLZ4Compression, withMaxIndexInterval, withMemtableFlushPeriodInMs, withMinIndexInterval, withNoCompression, withReadRepairChance, withSnappyCompression, withSnappyCompression, withSpeculativeRetry
getOptions, withOption
withEdgeLabel, withEdgeLabel, withEdgeLabel, withVertexLabel, withVertexLabel, withVertexLabel
@NonNull CreateDseTable withClusteringColumn(@NonNull CqlIdentifier columnName, @NonNull DataType dataType)
This includes the column declaration (you don't need an additional addColumn
call).
Clustering key columns are added in the order of their declaration.
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default CreateDseTable withClusteringColumn(@NonNull String columnName, @NonNull DataType dataType)
@NonNull CreateDseTable withColumn(@NonNull CqlIdentifier columnName, @NonNull DataType dataType)
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default CreateDseTable withColumn(@NonNull String columnName, @NonNull DataType dataType)
withColumn(CqlIdentifier.asCql(columnName), dataType)
.@NonNull CreateDseTable withStaticColumn(@NonNull CqlIdentifier columnName, @NonNull DataType dataType)
This includes the column declaration (you don't need an additional addColumn
call).
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default CreateDseTable withStaticColumn(@NonNull String columnName, @NonNull DataType dataType)
Copyright © 2017–2023. All rights reserved.