public static interface SchemaDefinition.Builder extends SdkPojo, CopyableBuilder<SchemaDefinition.Builder,SchemaDefinition>
| Modifier and Type | Method and Description |
|---|---|
SchemaDefinition.Builder |
allColumns(Collection<ColumnDefinition> allColumns)
The regular columns of the table.
|
SchemaDefinition.Builder |
allColumns(ColumnDefinition... allColumns)
The regular columns of the table.
|
SchemaDefinition.Builder |
allColumns(Consumer<ColumnDefinition.Builder>... allColumns)
The regular columns of the table.
|
SchemaDefinition.Builder |
clusteringKeys(ClusteringKey... clusteringKeys)
The columns that are part of the clustering key of the table.
|
SchemaDefinition.Builder |
clusteringKeys(Collection<ClusteringKey> clusteringKeys)
The columns that are part of the clustering key of the table.
|
SchemaDefinition.Builder |
clusteringKeys(Consumer<ClusteringKey.Builder>... clusteringKeys)
The columns that are part of the clustering key of the table.
|
SchemaDefinition.Builder |
partitionKeys(Collection<PartitionKey> partitionKeys)
The columns that are part of the partition key of the table .
|
SchemaDefinition.Builder |
partitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)
The columns that are part of the partition key of the table .
|
SchemaDefinition.Builder |
partitionKeys(PartitionKey... partitionKeys)
The columns that are part of the partition key of the table .
|
SchemaDefinition.Builder |
staticColumns(Collection<StaticColumn> staticColumns)
The columns that have been defined as
STATIC. |
SchemaDefinition.Builder |
staticColumns(Consumer<StaticColumn.Builder>... staticColumns)
The columns that have been defined as
STATIC. |
SchemaDefinition.Builder |
staticColumns(StaticColumn... staticColumns)
The columns that have been defined as
STATIC. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSchemaDefinition.Builder allColumns(Collection<ColumnDefinition> allColumns)
The regular columns of the table.
allColumns - The regular columns of the table.SchemaDefinition.Builder allColumns(ColumnDefinition... allColumns)
The regular columns of the table.
allColumns - The regular columns of the table.SchemaDefinition.Builder allColumns(Consumer<ColumnDefinition.Builder>... allColumns)
The regular columns of the table.
This is a convenience method that creates an instance of theColumnDefinition.Builder avoiding the need to create
one manually via ColumnDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #allColumns(List.
allColumns - a consumer that will call methods on
ColumnDefinition.Builder#allColumns(java.util.Collection) SchemaDefinition.Builder partitionKeys(Collection<PartitionKey> partitionKeys)
The columns that are part of the partition key of the table .
partitionKeys - The columns that are part of the partition key of the table .SchemaDefinition.Builder partitionKeys(PartitionKey... partitionKeys)
The columns that are part of the partition key of the table .
partitionKeys - The columns that are part of the partition key of the table .SchemaDefinition.Builder partitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)
The columns that are part of the partition key of the table .
This is a convenience method that creates an instance of thePartitionKey.Builder avoiding the need to create one
manually via PartitionKey.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #partitionKeys(List.
partitionKeys - a consumer that will call methods on
PartitionKey.Builder#partitionKeys(java.util.Collection) SchemaDefinition.Builder clusteringKeys(Collection<ClusteringKey> clusteringKeys)
The columns that are part of the clustering key of the table.
clusteringKeys - The columns that are part of the clustering key of the table.SchemaDefinition.Builder clusteringKeys(ClusteringKey... clusteringKeys)
The columns that are part of the clustering key of the table.
clusteringKeys - The columns that are part of the clustering key of the table.SchemaDefinition.Builder clusteringKeys(Consumer<ClusteringKey.Builder>... clusteringKeys)
The columns that are part of the clustering key of the table.
This is a convenience method that creates an instance of theClusteringKey.Builder avoiding the need to create one
manually via ClusteringKey.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #clusteringKeys(List.
clusteringKeys - a consumer that will call methods on
ClusteringKey.Builder#clusteringKeys(java.util.Collection) SchemaDefinition.Builder staticColumns(Collection<StaticColumn> staticColumns)
The columns that have been defined as STATIC. Static columns store values that are shared by all
rows in the same partition.
staticColumns - The columns that have been defined as STATIC. Static columns store values that are shared
by all rows in the same partition.SchemaDefinition.Builder staticColumns(StaticColumn... staticColumns)
The columns that have been defined as STATIC. Static columns store values that are shared by all
rows in the same partition.
staticColumns - The columns that have been defined as STATIC. Static columns store values that are shared
by all rows in the same partition.SchemaDefinition.Builder staticColumns(Consumer<StaticColumn.Builder>... staticColumns)
The columns that have been defined as STATIC. Static columns store values that are shared by all
rows in the same partition.
StaticColumn.Builder avoiding the need to create one
manually via StaticColumn.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #staticColumns(List.
staticColumns - a consumer that will call methods on
StaticColumn.Builder#staticColumns(java.util.Collection) Copyright © 2023. All rights reserved.