public class DocsumPacket extends Packet
Modifier and Type | Field and Description |
---|---|
private byte[] |
data |
private com.yahoo.document.GlobalId |
globalId |
CODE_MASK, encodedBody, encodingBuffer, length
Modifier | Constructor and Description |
---|---|
private |
DocsumPacket() |
|
DocsumPacket(byte[] buffer)
Constructor used by streaming search
|
Modifier and Type | Method and Description |
---|---|
static DocsumPacket |
create() |
void |
decodeBody(ByteBuffer buffer)
Fills this packet from a byte buffer positioned at the
first byte of the packet
|
int |
getCode()
Returns the code of this package
|
byte[] |
getData() |
com.yahoo.document.GlobalId |
getGlobalId() |
String |
toString() |
decode, encode, getChannel, hasChannelId, patchChannelId, setChannel
allocateAndEncode, codeDecodedHook, decodeAndDecompressBody, encode, encodeAndCompressBody, encodeBody, getLength, getTimestamp, grantEncodingBuffer, grantEncodingBuffer, isEncoded, setCompressionLimit, setCompressionType, setEncodedBody, setTimestamp
private DocsumPacket()
public DocsumPacket(byte[] buffer)
public static DocsumPacket create()
public int getCode()
BasicPacket
getCode
in class BasicPacket
public void decodeBody(ByteBuffer buffer)
decodeBody
in class BasicPacket
public com.yahoo.document.GlobalId getGlobalId()
public byte[] getData()
Copyright © 2018. All rights reserved.