Package | Description |
---|---|
org.bson |
Contains the base BSON classes.
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
Modifier and Type | Method and Description |
---|---|
BsonDecimal128 |
BsonValue.asDecimal128()
Gets this value as a BsonDecimal128 if it is one, otherwise throws exception
|
BsonDecimal128 |
BsonDocument.getDecimal128(java.lang.Object key)
Gets the value of the key if it is a BsonDecimal128, or throws if not.
|
BsonDecimal128 |
BsonDocument.getDecimal128(java.lang.Object key,
BsonDecimal128 defaultValue)
If the document does not contain the given key, return the given default value.
|
Modifier and Type | Method and Description |
---|---|
BsonDecimal128 |
BsonDocument.getDecimal128(java.lang.Object key,
BsonDecimal128 defaultValue)
If the document does not contain the given key, return the given default value.
|
Modifier and Type | Method and Description |
---|---|
BsonDecimal128 |
BsonDecimal128Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<BsonDecimal128> |
BsonDecimal128Codec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
BsonDecimal128Codec.encode(BsonWriter writer,
BsonDecimal128 value,
EncoderContext encoderContext) |