| Package | Description |
|---|---|
| com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
| org.bson |
Contains the base BSON classes.
|
| org.bson.codecs |
This package contains all the default BSON codecs.
|
| Modifier and Type | Method and Description |
|---|---|
private BsonDocument |
SaslAuthenticator.createSaslContinueDocument(BsonInt32 conversationId,
byte[] outToken) |
private BsonDocument |
SaslAuthenticator.sendSaslContinue(BsonInt32 conversationId,
byte[] outToken,
InternalConnection connection) |
private void |
SaslAuthenticator.sendSaslContinueAsync(BsonInt32 conversationId,
byte[] outToken,
InternalConnection connection,
SingleResultCallback<BsonDocument> callback) |
| Modifier and Type | Method and Description |
|---|---|
BsonInt32 |
BsonValue.asInt32()
Gets this value as a BsonInt32 if it is one, otherwise throws exception
|
BsonInt32 |
BsonDocument.getInt32(java.lang.Object key)
Gets the value of the key if it is a BsonInt32, or throws if not.
|
BsonInt32 |
BsonDocument.getInt32(java.lang.Object key,
BsonInt32 defaultValue)
If the document does not contain the given key, return the given default value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BsonInt32.compareTo(BsonInt32 o) |
BsonInt32 |
BsonDocument.getInt32(java.lang.Object key,
BsonInt32 defaultValue)
If the document does not contain the given key, return the given default value.
|
| Modifier and Type | Method and Description |
|---|---|
BsonInt32 |
BsonInt32Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<BsonInt32> |
BsonInt32Codec.getEncoderClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
BsonInt32Codec.encode(BsonWriter writer,
BsonInt32 value,
EncoderContext encoderContext) |