Package | Description |
---|---|
org.bson |
This package contains bson classes required for the driver
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
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(Object key)
Gets the value of the key if it is a BsonArray, or throws if not.
|
BsonArray |
BsonDocument.getArray(Object key,
BsonArray defaultValue)
If the document does not contain the given key, return the given default value.
|
Modifier and Type | Method and Description |
---|---|
BsonArray |
BsonDocument.getArray(Object key,
BsonArray defaultValue)
If the document does not contain the given key, return the given default value.
|
Constructor and Description |
---|
BsonDocumentReader.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 |
---|---|
Class<BsonArray> |
BsonArrayCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonArrayCodec.encode(BsonWriter writer,
BsonArray array,
EncoderContext encoderContext) |
Copyright © 2016. All Rights Reserved.