Manipulate Network Options
Manipulate Network Options
com.mongodb.Bytes
com.mongodb.Mongo
Apply method to proxy getCollection, to allow invocation of
dbInstance("collectionName")
instead of getCollection
Apply method to proxy getCollection, to allow invocation of
dbInstance("collectionName")
instead of getCollection
a string for the collection name
MongoCollection A wrapped instance of a Mongo DBCollection Class returning generic DBObjects
Checks to see if a collection by name %lt;name> exists.
Checks to see if a collection by name %lt;name> exists.
The collection to test for existence
false if no collection by that name exists, true if a match to an existing collection was found
Returns a set of the names of collections in this database.
Returns a set of the names of collections in this database.
the names of collections in this database
Execute a database command directly.
Execute a database command directly.
the result of the command from the database
Execute a database command directly.
Execute a database command directly.
the result of the command from the database
Execute a database command directly.
Execute a database command directly.
the result of the command from the database
Creates a collection with a given name and options.
Creates a collection with a given name and options. If the collection does not exist, a new collection is created. Possible options: <dl> <dt>capped</dt>
the name of the collection to return
options
the collection
Drops this database.
Drops this database. Removes all data on disk. Use with caution.
Gets a collection with a given name.
Gets a collection with a given name. If the collection does not exist, a new collection is created.
(String) the name of the collection to return
the collection
Returns a collection matching a given string.
Returns a collection matching a given string.
the name of the collection
the collection
Returns a set of the names of collections in this database.
Returns a set of the names of collections in this database.
the names of collections in this database
Manipulate Network Options
Manipulate Network Options
com.mognodb.Bytes
com.mongodb.Mongo
Gets the read preference for this database.
Gets the read preference for this database. Will be used as default for reads from any collection in this database. See the documentation for com.mongodb.ReadPreference for more information.
get the write concern for this database, which is used for writes to any collection in this database.
get the write concern for this database, which is used for writes to any collection in this database. See the documentation for com.mongodb.WriteConcern for more info.
WriteConcern
The Java Driver is a bit outdated and is missing the finalize option.
The Java Driver is a bit outdated and is missing the finalize option. Additionally, it returns ZERO information about the actual results of the mapreduce, just a cursor to the result collection. This is less than ideal. So I've wrapped it in something more useful.
An instance of MapReduceCommand representing the required MapReduce
MapReduceResult a wrapped result object. This contains the returns success, counts etc, but implements iterator and can be iterated directly
Manipulate Network Options
Manipulate Network Options
com.mognodb.Bytes
com.mongodb.Mongo
Gets the read preference for this database.
Gets the read preference for this database. Will be used as default for reads from any collection in this database. See the documentation for com.mongodb.ReadPreference for more information.
Manipulate Network Options
Manipulate Network Options
com.mongodb.Bytes
com.mongodb.Mongo
Sets the read preference for this database.
Sets the read preference for this database. Will be used as default for reads from any collection in this database. See the documentation for com.mongodb.ReadPreference for more information.
Read Preference to use
Set the write concern for this database.
Set the write concern for this database. Will be used for writes to any collection in this database. See the documentation for com.mongodb.WriteConcern for more info.
(WriteConcern) The write concern to use
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
get the write concern for this database, which is used for writes to any collection in this database.
get the write concern for this database, which is used for writes to any collection in this database. See the documentation for com.mongodb.WriteConcern for more info.
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
Set the write concern for this database.
Set the write concern for this database. Will be used for writes to any collection in this database. See the documentation for com.mongodb.WriteConcern for more info.
(WriteConcern) The write concern to use
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
Wrapper for the Mongo
DB
object providing scala-friendly functionality.1.0
com.mongodb.DB