Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDBEncoder |
class |
LazyDBEncoder
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
|
Modifier and Type | Method and Description |
---|---|
DBEncoder |
DBEncoderFactory.create() |
Modifier and Type | Method and Description |
---|---|
CommandResult |
DB.command(DBObject cmd,
DBEncoder encoder)
Executes a database command.
|
CommandResult |
DB.command(DBObject cmd,
int options,
DBEncoder encoder)
Executes a database command.
|
CommandResult |
DB.command(DBObject cmd,
int options,
ReadPreference readPrefs,
DBEncoder encoder)
Executes a database command.
|
abstract void |
DBCollection.createIndex(DBObject keys,
DBObject options,
DBEncoder encoder)
Forces creation of an index on a set of fields, if one does not already exist.
|
WriteResult |
DBCollection.insert(DBObject[] arr,
WriteConcern concern,
DBEncoder encoder)
Saves document(s) to the database.
|
abstract WriteResult |
DBCollection.insert(List<DBObject> list,
WriteConcern concern,
DBEncoder encoder)
Saves document(s) to the database.
|
abstract WriteResult |
DBCollection.remove(DBObject o,
WriteConcern concern,
DBEncoder encoder)
Removes objects from the database collection.
|
abstract WriteResult |
DBCollection.update(DBObject q,
DBObject o,
boolean upsert,
boolean multi,
WriteConcern concern,
DBEncoder encoder)
Performs an update operation.
|