Interface IcebergPartitionField.Builder

  • 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

      IcebergPartitionField.Builder transform(String transform)

      The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. For more information, see the Apache Iceberg partition transforms documentation.

      Parameters:
      transform - The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. 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.