Interface IcebergPartitionSpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergPartitionSpec.Builder,,IcebergPartitionSpec> SdkBuilder<IcebergPartitionSpec.Builder,,IcebergPartitionSpec> SdkPojo
- Enclosing class:
IcebergPartitionSpec
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<IcebergPartitionField> fields) The list of partition fields that define how the table data is partitioned.fields(Consumer<IcebergPartitionField.Builder>... fields) The list of partition fields that define how the table data is partitioned.fields(IcebergPartitionField... fields) The list of partition fields that define how the table data is partitioned.The unique identifier for this partition specification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fields
The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if
partitionSpecis provided.- Parameters:
fields- The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required ifpartitionSpecis provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if
partitionSpecis provided.- Parameters:
fields- The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required ifpartitionSpecis provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if
This is a convenience method that creates an instance of thepartitionSpecis provided.IcebergPartitionField.Builderavoiding the need to create one manually viaIcebergPartitionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<IcebergPartitionField>).- Parameters:
fields- a consumer that will call methods onIcebergPartitionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specId
The unique identifier for this partition specification. If not specified, defaults to
0.- Parameters:
specId- The unique identifier for this partition specification. If not specified, defaults to0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-