Class KeyPair

    • Method Detail

      • getPrimaryKey

        public PrimaryKey getPrimaryKey()
        Returns the PrimaryKey from the pair.
        Returns:
        the PrimaryKey
      • getIndexKey

        public IndexKey getIndexKey()
        Returns the IndexKey from the pair.
        Returns:
        the IndexKey
      • compareTo

        public int compareTo​(KeyPair other)
        Compares the IndexKey of this object with the IndexKey of the specified object for order. If the IndexKey values are the same a secondary comparison is done on the PrimaryKey values.
        Specified by:
        compareTo in interface Comparable<KeyPair>
      • toJsonString

        public String toJsonString()