Class TableEntry


  • public final class TableEntry
    extends java.lang.Object
    A KeyValueTable Entry.
    • Constructor Detail

      • TableEntry

        @ConstructorProperties({"key","version","value"})
        public TableEntry​(@NonNull
                          @NonNull TableKey key,
                          @NonNull
                          @NonNull Version version,
                          java.nio.ByteBuffer value)
    • Method Detail

      • getVersion

        @NonNull
        public @NonNull Version getVersion()
        Returns:
        The version of the TableKey.
      • getValue

        public java.nio.ByteBuffer getValue()
        The Value.
        Returns:
        The value associated to the TableKey.
      • 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