Class PartitionField

  • All Implemented Interfaces:
    java.io.Serializable

    public class PartitionField
    extends java.lang.Object
    implements java.io.Serializable
    Represents a single field in a PartitionSpec.
    See Also:
    Serialized Form
    • Method Detail

      • 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 java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object