Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
org.bson |
Contains the base BSON classes.
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
Modifier and Type | Method and Description |
---|---|
private BsonArray |
TaggableReadPreference.tagsListToBsonArray() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<java.lang.String> |
DescriptionHelper.listToSet(BsonArray array) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BsonArrayWrapper<T> |
Modifier and Type | Method and Description |
---|---|
BsonArray |
BsonArrayWrapper.clone() |
BsonArray |
CommandResultArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
private BsonArray |
ParallelCollectionScanOperation.getCursorDocuments(BsonDocument result) |
Modifier and Type | Method and Description |
---|---|
BsonArray |
BsonValue.asArray()
Gets this value as a BsonArray if it is one, otherwise throws exception
|
BsonArray |
BsonArray.clone() |
BsonArray |
BsonDocument.getArray(java.lang.Object key)
Gets the value of the key if it is a BsonArray, or throws if not.
|
BsonArray |
BsonDocument.getArray(java.lang.Object key,
BsonArray defaultValue)
If the document does not contain the given key, return the given default value.
|
static BsonArray |
BsonArray.parse(java.lang.String json)
Parses a string in MongoDB Extended JSON format to a
BsonArray |
Modifier and Type | Method and Description |
---|---|
BsonArray |
BsonDocument.getArray(java.lang.Object key,
BsonArray defaultValue)
If the document does not contain the given key, return the given default value.
|
Constructor and Description |
---|
Context(BsonDocumentReader.Context parentContext,
BsonContextType contextType,
BsonArray array) |
Modifier and Type | Method and Description |
---|---|
BsonArray |
BsonArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<BsonArray> |
BsonArrayCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonArrayCodec.encode(BsonWriter writer,
BsonArray array,
EncoderContext encoderContext) |