Package io.pravega.client.tables
Class TableKey
- java.lang.Object
-
- io.pravega.client.tables.TableKey
-
public final class TableKey extends java.lang.Object
AKeyValueTable
Key.
-
-
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()
-
-
-
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 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
-
-