Interface IcebergPartitionField.Builder

    • Method Detail

      • sourceId

        IcebergPartitionField.Builder sourceId​(Integer sourceId)

        The identifier of the source field from the table schema that this partition field is based on.

        Parameters:
        sourceId - The identifier of the source field from the table schema that this partition field is based on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transform

        IcebergPartitionField.Builder transform​(String transform)

        The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.

        Parameters:
        transform - The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        IcebergPartitionField.Builder name​(String name)

        The name of the partition field as it will appear in the partitioned table structure.

        Parameters:
        name - The name of the partition field as it will appear in the partitioned table structure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldId

        IcebergPartitionField.Builder fieldId​(Integer fieldId)

        The unique identifier assigned to this partition field within the Iceberg table's partition specification.

        Parameters:
        fieldId - The unique identifier assigned to this partition field within the Iceberg table's partition specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.