Package io.pravega.client.tables
Class TableKey
- java.lang.Object
-
- io.pravega.client.tables.TableKey
-
public final class TableKey extends java.lang.ObjectAKeyValueTableKey.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NonNull java.nio.ByteBuffergetPrimaryKey()The Primary Key.java.nio.ByteBuffergetSecondaryKey()The Secondary Key (Optional).inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-