Package com.mongodb.internal.connection
Class SplittablePayloadBsonWriter
- java.lang.Object
-
- com.mongodb.internal.connection.BsonWriterDecorator
-
- com.mongodb.internal.connection.SplittablePayloadBsonWriter
-
- All Implemented Interfaces:
BsonWriter
@Deprecated(since="2021-05-27") public class SplittablePayloadBsonWriter extends BsonWriterDecorator
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, int messageStartPosition, MessageSettings settings, SplittablePayload payload)
Deprecated.SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, int messageStartPosition, MessageSettings settings, SplittablePayload payload, int maxSplittableDocumentSize)
Deprecated.SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, MessageSettings settings, SplittablePayload payload)
Deprecated.SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, MessageSettings settings, SplittablePayload payload, int maxSplittableDocumentSize)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
writeEndDocument()
Deprecated.Writes the end of a BSON document to the writer.void
writeStartDocument()
Deprecated.Writes the start of a BSON document to the writer.void
writeStartDocument(java.lang.String name)
Deprecated.Writes the start of a BSON document element to the writer.-
Methods inherited from class com.mongodb.internal.connection.BsonWriterDecorator
flush, pipe, writeBinaryData, writeBinaryData, writeBoolean, writeBoolean, writeDateTime, writeDateTime, writeDBPointer, writeDBPointer, writeDecimal128, writeDecimal128, writeDouble, writeDouble, writeEndArray, writeInt32, writeInt32, writeInt64, writeInt64, writeJavaScript, writeJavaScript, writeJavaScriptWithScope, writeJavaScriptWithScope, writeMaxKey, writeMaxKey, writeMinKey, writeMinKey, writeName, writeNull, writeNull, writeObjectId, writeObjectId, writeRegularExpression, writeRegularExpression, writeStartArray, writeStartArray, writeString, writeString, writeSymbol, writeSymbol, writeTimestamp, writeTimestamp, writeUndefined, writeUndefined
-
-
-
-
Constructor Detail
-
SplittablePayloadBsonWriter
public SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, MessageSettings settings, SplittablePayload payload)
Deprecated.
-
SplittablePayloadBsonWriter
public SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, MessageSettings settings, SplittablePayload payload, int maxSplittableDocumentSize)
Deprecated.
-
SplittablePayloadBsonWriter
public SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, int messageStartPosition, MessageSettings settings, SplittablePayload payload)
Deprecated.
-
SplittablePayloadBsonWriter
public SplittablePayloadBsonWriter(BsonBinaryWriter writer, BsonOutput bsonOutput, int messageStartPosition, MessageSettings settings, SplittablePayload payload, int maxSplittableDocumentSize)
Deprecated.
-
-
Method Detail
-
writeStartDocument
public void writeStartDocument()
Deprecated.Description copied from interface:BsonWriter
Writes the start of a BSON document to the writer.- Specified by:
writeStartDocument
in interfaceBsonWriter
-
writeEndDocument
public void writeEndDocument()
Deprecated.Description copied from interface:BsonWriter
Writes the end of a BSON document to the writer.- Specified by:
writeEndDocument
in interfaceBsonWriter
-
writeStartDocument
public void writeStartDocument(java.lang.String name)
Deprecated.Description copied from interface:BsonWriter
Writes the start of a BSON document element to the writer.- Specified by:
writeStartDocument
in interfaceBsonWriter
- Overrides:
writeStartDocument
in classBsonWriterDecorator
- Parameters:
name
- The name of the element.
-
-