Interface IcebergPartitionField.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergPartitionField.Builder,,IcebergPartitionField> SdkBuilder<IcebergPartitionField.Builder,,IcebergPartitionField> SdkPojo
- Enclosing class:
IcebergPartitionField
@Mutable
@NotThreadSafe
public static interface IcebergPartitionField.Builder
extends SdkPojo, CopyableBuilder<IcebergPartitionField.Builder,IcebergPartitionField>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional unique identifier for this partition field.The name for this partition field.The ID of the source schema field to partition by.The partition transform to apply to the source field.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
-
sourceId
The ID of the source schema field to partition by. This must reference a valid field ID from the table schema.
- Parameters:
sourceId- The ID of the source schema field to partition by. This must reference a valid field ID from the table schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transform
The partition transform to apply to the source field. Supported transforms include
identity,year,month,day,hour,bucket, andtruncate. For more information, see the Apache Iceberg partition transforms documentation.- Parameters:
transform- The partition transform to apply to the source field. Supported transforms includeidentity,year,month,day,hour,bucket, andtruncate. For more information, see the Apache Iceberg partition transforms documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name for this partition field. This name is used in the partitioned file paths.
- Parameters:
name- The name for this partition field. This name is used in the partitioned file paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldId
An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.
- Parameters:
fieldId- An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-