public interface CreateMaterializedViewPrimaryKeyStart
Modifier and Type | Method and Description |
---|---|
CreateMaterializedViewPrimaryKey |
withPartitionKey(CqlIdentifier columnName)
Adds a partition key to primary key definition.
|
default CreateMaterializedViewPrimaryKey |
withPartitionKey(String columnName)
Shortcut for
withPartitionKey(CqlIdentifier.asCql(columnName) . |
@NonNull CreateMaterializedViewPrimaryKey withPartitionKey(@NonNull CqlIdentifier columnName)
Partition keys are added in the order of their declaration.
@NonNull default CreateMaterializedViewPrimaryKey withPartitionKey(@NonNull String columnName)
withPartitionKey(CqlIdentifier.asCql(columnName)
.Copyright © 2017–2023. All rights reserved.