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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int fieldId()
      Returns the partition field id across all the table metadata's partition specs.
      int hashCode()  
      java.lang.String name()
      Returns the name of this partition field.
      int sourceId()
      Returns the field id of the source field in the spec's table schema.
      java.lang.String toString()  
      Transform<?,​?> transform()
      Returns the transform used to produce partition values from source values.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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