public interface CreateMaterializedViewPrimaryKey extends CreateMaterializedViewPrimaryKeyStart, RelationStructure<CreateMaterializedView>, BuildableQuery
Modifier and Type | Method and Description |
---|---|
CreateMaterializedViewPrimaryKey |
withClusteringColumn(CqlIdentifier columnName)
Adds a clustering column to primary key definition.
|
default CreateMaterializedViewPrimaryKey |
withClusteringColumn(String columnName)
Shortcut for
withClusteringColumn(CqlIdentifier.asCql(columnName) . |
withPartitionKey, withPartitionKey
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
@NonNull CreateMaterializedViewPrimaryKey withClusteringColumn(@NonNull CqlIdentifier columnName)
Clustering columns are added in the order of their declaration.
@NonNull default CreateMaterializedViewPrimaryKey withClusteringColumn(@NonNull String columnName)
withClusteringColumn(CqlIdentifier.asCql(columnName)
.Copyright © 2017–2022. All rights reserved.