Package io.pravega.shared.protocol.netty
Class WireCommands.ReadTableKeys
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReadTableKeys
-
- All Implemented Interfaces:
Request,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.ReadTableKeys extends java.lang.Object implements Request, WireCommand
-
-
Constructor Summary
Constructors Constructor Description ReadTableKeys(long requestId, java.lang.String segment, java.lang.String delegationToken, int suggestedKeyCount, io.netty.buffer.ByteBuf continuationToken, io.netty.buffer.ByteBuf prefixFilter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)io.netty.buffer.ByteBufgetContinuationToken()java.lang.StringgetDelegationToken()io.netty.buffer.ByteBufgetPrefixFilter()longgetRequestId()java.lang.StringgetSegment()intgetSuggestedKeyCount()WireCommandTypegetType()inthashCode()voidprocess(RequestProcessor cp)static WireCommandreadFrom(io.netty.buffer.ByteBufInputStream in, int length)java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)
-
-
-
Constructor Detail
-
ReadTableKeys
@ConstructorProperties({"requestId","segment","delegationToken","suggestedKeyCount","continuationToken","prefixFilter"}) public ReadTableKeys(long requestId, java.lang.String segment, java.lang.String delegationToken, int suggestedKeyCount, io.netty.buffer.ByteBuf continuationToken, io.netty.buffer.ByteBuf prefixFilter)
-
-
Method Detail
-
process
public void process(RequestProcessor cp)
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Specified by:
writeFieldsin interfaceWireCommand- Throws:
java.io.IOException
-
readFrom
public static WireCommand readFrom(io.netty.buffer.ByteBufInputStream in, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
getType
public WireCommandType getType()
- Specified by:
getTypein interfaceWireCommand
-
getRequestId
public long getRequestId()
- Specified by:
getRequestIdin interfaceRequest
-
getSegment
public java.lang.String getSegment()
-
getDelegationToken
public java.lang.String getDelegationToken()
-
getSuggestedKeyCount
public int getSuggestedKeyCount()
-
getContinuationToken
public io.netty.buffer.ByteBuf getContinuationToken()
-
getPrefixFilter
public io.netty.buffer.ByteBuf getPrefixFilter()
-
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
-
-