Class PartitionField

java.lang.Object
org.apache.iceberg.PartitionField
All Implemented Interfaces:
Serializable

public class PartitionField extends Object implements Serializable
Represents a single field in a PartitionSpec.
See Also:
  • Method Details

    • sourceId

      public int sourceId()
      Returns the field id of the source field in the spec's table schema.
    • fieldId

      public int fieldId()
      Returns the partition field id across all the table metadata's partition specs.
    • name

      public String name()
      Returns the name of this partition field.
    • transform

      public Transform<?,?> transform()
      Returns the transform used to produce partition values from source values.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object