class UpdateMessage extends LegacyMessage
RequestMessage.EncodingMetadata
Modifier and Type | Field and Description |
---|---|
private UpdateRequest |
updateRequest |
MESSAGE_PROLOGUE_LENGTH, REQUEST_ID
Constructor and Description |
---|
UpdateMessage(java.lang.String collectionName,
UpdateRequest updateRequest,
MessageSettings settings) |
Modifier and Type | Method and Description |
---|---|
protected RequestMessage.EncodingMetadata |
encodeMessageBodyWithMetadata(BsonOutput bsonOutput) |
encodeMessageBodyWithMetadata
addCollectibleDocument, addDocument, addDocument, backpatchMessageLength, encode, getCodec, getCollectionName, getCurrentGlobalId, getEncodingMetadata, getId, getNamespace, getOpCode, getSettings, writeMessagePrologue
private final UpdateRequest updateRequest
UpdateMessage(java.lang.String collectionName, UpdateRequest updateRequest, MessageSettings settings)
protected RequestMessage.EncodingMetadata encodeMessageBodyWithMetadata(BsonOutput bsonOutput)
encodeMessageBodyWithMetadata
in class LegacyMessage