Package io.pravega.shared.protocol.netty
Class WireCommands.TableKey
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.TableKey
-
- Enclosing class:
- WireCommands
public static final class WireCommands.TableKey extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static WireCommands.TableKeyEMPTYstatic intHEADER_BYTESstatic longNO_VERSIONstatic longNOT_EXISTS
-
Constructor Summary
Constructors Constructor Description TableKey(io.netty.buffer.ByteBuf data, long keyVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)io.netty.buffer.ByteBufgetData()longgetKeyVersion()inthashCode()static WireCommands.TableKeyreadFrom(EnhancedByteBufInputStream in, int length)intsize()java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)
-
-
-
Field Detail
-
NO_VERSION
public static final long NO_VERSION
- See Also:
- Constant Field Values
-
NOT_EXISTS
public static final long NOT_EXISTS
- See Also:
- Constant Field Values
-
HEADER_BYTES
public static final int HEADER_BYTES
- See Also:
- Constant Field Values
-
EMPTY
public static final WireCommands.TableKey EMPTY
-
-
Method Detail
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Throws:
java.io.IOException
-
readFrom
public static WireCommands.TableKey readFrom(EnhancedByteBufInputStream in, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
size
public int size()
-
getData
public io.netty.buffer.ByteBuf getData()
-
getKeyVersion
public long getKeyVersion()
-
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
-
-