Package | Description |
---|---|
com.mongodb | |
com.mongodb.client.model |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDBEncoder
The default BSON encoder for BSONObject instances.
|
class |
LazyDBEncoder
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
|
Modifier and Type | Method and Description |
---|---|
DBEncoder |
DBEncoderFactory.create()
Creates an instance.
|
DBEncoder |
InsertOptions.getDbEncoder()
The encoder to use for the documents.
|
Modifier and Type | Method and Description |
---|---|
CommandResult |
DB.command(DBObject command,
DBEncoder encoder)
Executes a database command.
|
CommandResult |
DB.command(DBObject command,
com.mongodb.ReadPreference readPreference,
DBEncoder encoder)
Executes a database command with the selected readPreference, and encodes the command using the given encoder.
|
InsertOptions |
InsertOptions.dbEncoder(DBEncoder dbEncoder)
Set the encoder to use for the documents.
|
WriteResult |
DBCollection.insert(DBObject[] documents,
com.mongodb.WriteConcern aWriteConcern,
DBEncoder encoder)
Insert documents into a collection.
|
WriteResult |
DBCollection.insert(List<? extends DBObject> documents,
com.mongodb.WriteConcern aWriteConcern,
DBEncoder dbEncoder)
Insert documents into a collection.
|
WriteResult |
DBCollection.remove(DBObject query,
com.mongodb.WriteConcern writeConcern,
DBEncoder encoder)
Remove documents from a collection.
|
WriteResult |
DBCollection.update(DBObject query,
DBObject update,
boolean upsert,
boolean multi,
com.mongodb.WriteConcern concern,
Boolean bypassDocumentValidation,
DBEncoder encoder)
Modify an existing document or documents in collection.
|
WriteResult |
DBCollection.update(DBObject query,
DBObject update,
boolean upsert,
boolean multi,
com.mongodb.WriteConcern concern,
DBEncoder encoder)
Modify an existing document or documents in collection.
|
Modifier and Type | Method and Description |
---|---|
DBEncoder |
DBCollectionUpdateOptions.getEncoder()
Returns the encoder
|
DBEncoder |
DBCollectionRemoveOptions.getEncoder()
Returns the encoder
|
Modifier and Type | Method and Description |
---|---|
DBCollectionUpdateOptions |
DBCollectionUpdateOptions.encoder(DBEncoder encoder)
Sets the encoder
|
DBCollectionRemoveOptions |
DBCollectionRemoveOptions.encoder(DBEncoder encoder)
Sets the encoder
|
Copyright © 2017. All rights reserved.