class GetMoreMessage extends LegacyMessage
RequestMessage.EncodingMetadata| Modifier and Type | Field and Description |
|---|---|
private long |
cursorId |
private int |
numberToReturn |
MESSAGE_PROLOGUE_LENGTH, REQUEST_ID| Constructor and Description |
|---|
GetMoreMessage(java.lang.String collectionName,
long cursorId,
int numberToReturn) |
| Modifier and Type | Method and Description |
|---|---|
protected RequestMessage.EncodingMetadata |
encodeMessageBodyWithMetadata(BsonOutput bsonOutput) |
long |
getCursorId()
Gets the cursor to get more from.
|
private void |
writeGetMore(BsonOutput buffer) |
encodeMessageBodyWithMetadataaddCollectibleDocument, addDocument, addDocument, backpatchMessageLength, encode, getCodec, getCollectionName, getCurrentGlobalId, getEncodingMetadata, getId, getNamespace, getOpCode, getSettings, writeMessagePrologueGetMoreMessage(java.lang.String collectionName,
long cursorId,
int numberToReturn)
public long getCursorId()
protected RequestMessage.EncodingMetadata encodeMessageBodyWithMetadata(BsonOutput bsonOutput)
encodeMessageBodyWithMetadata in class LegacyMessageprivate void writeGetMore(BsonOutput buffer)