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