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 |
---|---|
BsonDouble |
BsonValue.asDouble()
Gets this value as a BsonString if it is one, otherwise throws exception
|
BsonDouble |
BsonDocument.getDouble(Object key)
Gets the value of the key if it is a BsonDouble, or throws if not.
|
BsonDouble |
BsonDocument.getDouble(Object key,
BsonDouble defaultValue)
If the document does not contain the given key, return the given default value.
|
Modifier and Type | Method and Description |
---|---|
int |
BsonDouble.compareTo(BsonDouble o) |
BsonDouble |
BsonDocument.getDouble(Object key,
BsonDouble defaultValue)
If the document does not contain the given key, return the given default value.
|
Modifier and Type | Method and Description |
---|---|
BsonDouble |
BsonDoubleCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
Class<BsonDouble> |
BsonDoubleCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonDoubleCodec.encode(BsonWriter writer,
BsonDouble value,
EncoderContext encoderContext) |
Copyright © 2016. All Rights Reserved.