Class TableKey


  • public final class TableKey
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TableKey​(@NonNull java.nio.ByteBuffer primaryKey, java.nio.ByteBuffer secondaryKey)  
      TableKey​(java.nio.ByteBuffer primaryKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      @NonNull java.nio.ByteBuffer getPrimaryKey()
      The Primary Key.
      java.nio.ByteBuffer getSecondaryKey()
      The Secondary Key (Optional).
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • TableKey

        public TableKey​(java.nio.ByteBuffer primaryKey)
      • TableKey

        @ConstructorProperties({"primaryKey","secondaryKey"})
        public TableKey​(@NonNull
                        @NonNull java.nio.ByteBuffer primaryKey,
                        java.nio.ByteBuffer secondaryKey)
    • Method Detail

      • getPrimaryKey

        @NonNull
        public @NonNull java.nio.ByteBuffer getPrimaryKey()
        The Primary Key.
        Returns:
        Primary Key.
      • getSecondaryKey

        public java.nio.ByteBuffer getSecondaryKey()
        The Secondary Key (Optional).
        Returns:
        Secondary Key.
      • 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
      • toString

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