Class SortKey

  • All Implemented Interfaces:
    java.io.Serializable, StructLike

    public class SortKey
    extends java.lang.Object
    A struct of flattened sort field values.

    Instances of this class can produce sort values from a row passed to wrap(StructLike).

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SortKey copy()  
      boolean equals​(java.lang.Object o)  
      <T> T get​(int pos, java.lang.Class<T> javaClass)  
      int hashCode()  
      <T> void set​(int pos, T value)  
      int size()  
      java.lang.String toString()  
      void wrap​(StructLike row)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface StructLike
      • get

        public <T> T get​(int pos,
                         java.lang.Class<T> javaClass)
        Specified by:
        get in interface StructLike
      • set

        public <T> void set​(int pos,
                            T value)
        Specified by:
        set in interface StructLike
      • toString

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

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

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