Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
org.bson |
Contains the base BSON classes.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<BsonElement> |
ElementExtendingBsonWriter.extraElements |
Modifier and Type | Method and Description |
---|---|
private java.util.List<BsonElement> |
CommandMessage.getExtraElements(SessionContext sessionContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
RequestMessage.addDocument(BsonDocument document,
BsonOutput bsonOutput,
FieldNameValidator validator,
java.util.List<BsonElement> extraElements) |
private <T> void |
RequestMessage.addDocument(T obj,
Encoder<T> encoder,
EncoderContext encoderContext,
BsonOutput bsonOutput,
FieldNameValidator validator,
int maxDocumentSize,
java.util.List<BsonElement> extraElements) |
(package private) static void |
BsonWriterHelper.writeElements(BsonWriter writer,
java.util.List<BsonElement> bsonElements) |
Constructor and Description |
---|
ElementExtendingBsonWriter(BsonBinaryWriter writer,
java.util.List<BsonElement> extraElements) |
Modifier and Type | Method and Description |
---|---|
void |
BsonBinaryWriter.pipe(BsonReader reader,
java.util.List<BsonElement> extraElements) |
void |
AbstractBsonWriter.pipe(BsonReader reader,
java.util.List<BsonElement> extraElements)
Reads a single document from the given BsonReader and writes it to this, appending the given extra elements to the document.
|
private void |
BsonBinaryWriter.pipeDocument(BsonReader reader,
java.util.List<BsonElement> extraElements) |
private void |
AbstractBsonWriter.pipeDocument(BsonReader reader,
java.util.List<BsonElement> extraElements) |
protected void |
AbstractBsonWriter.pipeExtraElements(java.util.List<BsonElement> extraElements)
Pipe a list of extra element to this writer
|
Constructor and Description |
---|
BsonDocument(java.util.List<BsonElement> bsonElements)
Construct a new instance with the given list
BsonElement , none of which may be null. |