public static interface Schema.Builder extends SdkPojo, CopyableBuilder<Schema.Builder,Schema>
| Modifier and Type | Method and Description |
|---|---|
Schema.Builder |
compositePartitionKey(Collection<PartitionKey> compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data.
|
Schema.Builder |
compositePartitionKey(Consumer<PartitionKey.Builder>... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data.
|
Schema.Builder |
compositePartitionKey(PartitionKey... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSchema.Builder compositePartitionKey(Collection<PartitionKey> compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
compositePartitionKey - A non-empty list of partition keys defining the attributes used to partition the table data. The order
of the list determines the partition hierarchy. The name and type of each partition key as well as the
partition key order cannot be changed after the table is created. However, the enforcement level of
each partition key can be changed.Schema.Builder compositePartitionKey(PartitionKey... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
compositePartitionKey - A non-empty list of partition keys defining the attributes used to partition the table data. The order
of the list determines the partition hierarchy. The name and type of each partition key as well as the
partition key order cannot be changed after the table is created. However, the enforcement level of
each partition key can be changed.Schema.Builder compositePartitionKey(Consumer<PartitionKey.Builder>... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
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 #compositePartitionKey(List.
compositePartitionKey - a consumer that will call methods on
PartitionKey.Builder#compositePartitionKey(java.util.Collection) Copyright © 2023. All rights reserved.