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, withPartitionKeywithClusteringOrder, withClusteringOrder, withClusteringOrder, withClusteringOrderByIdswithBloomFilterFpChance, withCaching, withCDC, withComment, withCompaction, withCompression, withCompression, withDcLocalReadRepairChance, withDefaultTimeToLiveSeconds, withDeflateCompression, withDeflateCompression, withGcGraceSeconds, withLZ4Compression, withLZ4Compression, withMaxIndexInterval, withMemtableFlushPeriodInMs, withMinIndexInterval, withNoCompression, withReadRepairChance, withSnappyCompression, withSnappyCompression, withSpeculativeRetrygetOptions, 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–2020. All rights reserved.