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 |
---|---|
BsonInt64 |
BsonValue.asInt64()
Gets this value as a BsonString 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)
Gets the value of the key if it is a BsonInt64, or throws if not.
|
Modifier and Type | Method and Description |
---|---|
int |
BsonInt64.compareTo(BsonInt64 o) |
BsonInt64 |
BsonDocument.getInt64(Object key,
BsonInt64 defaultValue)
Gets the value of the key if it is a BsonInt64, or throws if not.
|
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 © 2016. All Rights Reserved.