Package io.pravega.client.tables
Class TableEntry
- java.lang.Object
-
- io.pravega.client.tables.TableEntry
-
public final class TableEntry extends java.lang.Object
AKeyValueTable
Entry.
-
-
Constructor Summary
Constructors Constructor Description TableEntry(@NonNull TableKey key, @NonNull Version version, java.nio.ByteBuffer value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NonNull TableKey
getKey()
TheTableKey
.java.nio.ByteBuffer
getValue()
The Value.@NonNull Version
getVersion()
TheVersion
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getVersion
@NonNull public @NonNull Version getVersion()
TheVersion
- 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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-