public class GetDocSumsPacket extends Packet
A packet for requesting a list of document summaries. This packet can be encoded only.
Modifier and Type | Field and Description |
---|---|
static int |
GDF_FLAGS |
static int |
GDF_LOCATION |
static int |
GDF_MLD
features bits, as given in searchlib/src/searchlib/common/packets.h
definition of enum getdocsums_features
|
static int |
GDF_PROPERTIES |
static int |
GDF_QUERYSTACK |
static int |
GDF_RANKP_QFLAGS |
static int |
GDF_RESCLASSNAME |
static int |
GDFLAG_ALLOW_SLIME |
static int |
GDFLAG_IGNORE_ROW
flag bits, as given in fastserver4/src/network/transport.h
definition of enum getdocsums_flags
|
static String |
sessionIdKey
Session id key.
|
CODE_MASK, encodedBody, encodingBuffer, length
Modifier and Type | Method and Description |
---|---|
static GetDocSumsPacket |
create(Result result,
String summaryClass,
boolean sendQuery)
Creates a get docsums packet for a certain result
|
void |
encodeBody(ByteBuffer buffer)
Encodes the body of this package onto the given buffer at the current position.
|
int |
getCode()
Returns the code of this package
|
int |
getNumDocsums() |
String |
getSummaryClass()
Return the document summary class we want the fdispatch
to use when replying to us
|
String |
toString() |
decode, encode, getChannel, hasChannelId, patchChannelId, setChannel
allocateAndEncode, codeDecodedHook, decodeAndDecompressBody, decodeBody, encode, encodeAndCompressBody, getLength, getTimestamp, grantEncodingBuffer, grantEncodingBuffer, isEncoded, setCompressionLimit, setCompressionType, setEncodedBody, setTimestamp
public static final String sessionIdKey
public static final int GDF_MLD
public static final int GDF_QUERYSTACK
public static final int GDF_RANKP_QFLAGS
public static final int GDF_LOCATION
public static final int GDF_RESCLASSNAME
public static final int GDF_PROPERTIES
public static final int GDF_FLAGS
public static final int GDFLAG_IGNORE_ROW
public static final int GDFLAG_ALLOW_SLIME
public static GetDocSumsPacket create(Result result, String summaryClass, boolean sendQuery)
public void encodeBody(ByteBuffer buffer)
BasicPacket
encodeBody
in class BasicPacket
public int getCode()
BasicPacket
getCode
in class BasicPacket
public int getNumDocsums()
public String getSummaryClass()
Copyright © 2018. All rights reserved.