Wrapper object for AggregationOutput
A builder for a bulk write operation.
A builder for a bulk write operation.
2.7
A wrapper for the new com.mongodb.Cursor - which is used when returning a cursor from the aggregation framework.
A wrapper for the new com.mongodb.Cursor - which is used when returning a cursor from the aggregation framework.
(com.mongodb.Cursor)
2.7
1.0, 12/15/10
2.0
http://dochub.mongodb.org/core/explain
Implicits
object to expose implicit conversions to implementing classes
which facilitate more Scala-like functionality in Mongo.
Implicits
object to expose implicit conversions to implementing classes
which facilitate more Scala-like functionality in Mongo.
For classes of Mongo
(The connection class), DB
, DBCollection
,
and DBCursor
, extension methods of asScala are added which will, when invoked,
return a Scala-ified wrapper class to replace the Java-driver class it was called on.
These scala-ified wrappers do conversions to/from Java datatypes where necessary and will always return Scala types.
Additionally, Collection and Cursors can be called with asScalaTyped
and a type (either an
implicit or explicitly passed Manifest
object is used to determine type) to return
a Type optimized version of themselves. The type must be a subclass of DBObject, and it is up to YOU the
programmer to determine that your underlying collection can be deserialized to objects of type A.
Type oriented Collections and Cursors will ALWAYS try to deserialize DBObjects to their type where appropriate (exceptions are things like group and mapReduce which return non-standard data and will be DBObjects)
Wrapper class for the MongoClient object.
Create a new MongoURI with a URI String e.g.:
Create a new MongoURI with a URI String e.g.:
See http://docs.mongodb.org/manual/reference/connection-string/
2.5
Concrete collection implementation expecting standard DBObject operation This is the version of MongoCollectionBase you should expect to use in most cases.
Concrete collection implementation expecting standard DBObject operation This is the version of MongoCollectionBase you should expect to use in most cases.
2.0, 12/23/10
1.0
Scala wrapper for Mongo DBCollections, including ones which return custom DBObject subclasses via setObjectClass and the like.
Scala wrapper for Mongo DBCollections, including ones which return custom DBObject subclasses via setObjectClass and the like. Provides any non-parameterized methods and the basic structure. Requires an underlying object of a DBCollection.
This is a rewrite of the Casbah 1.0 approach which was rather naive and unecessarily complex.... formerly was MongoCollectionWrapper
2.0, 12/23/10
1.0
Concrete cursor implementation expecting standard DBObject operation This is the version of MongoCursorBase you should expect to use in most cases.
Concrete cursor implementation expecting standard DBObject operation This is the version of MongoCursorBase you should expect to use in most cases.
2.0, 12/23/10
1.0
Scala wrapper for Mongo DBCursors, including ones which return custom DBObject subclasses.
Scala wrapper for Mongo DBCursors, including ones which return custom DBObject subclasses.
This is a rewrite of the Casbah 1.0 approach which was rather naive and unnecessarily complex.... formerly was MongoCursorWrapper
2.0, 12/23/10
2.0
Wrapper for the Mongo DB
object providing scala-friendly functionality.
Wrapper for the Mongo DB
object providing scala-friendly functionality.
1.0
com.mongodb.DB
Concrete cursor implementation for typed Cursor operations via Collection.setObjectClass This is a special case cursor for typed operations.
Concrete cursor implementation for typed Cursor operations via Collection.setObjectClass This is a special case cursor for typed operations.
A Subclass of DBObject
2.0, 12/23/10
1.0
Concrete collection implementation for typed Cursor operations via Collection.setObjectClass et al This is a special case collection for typed operations
Concrete collection implementation for typed Cursor operations via Collection.setObjectClass et al This is a special case collection for typed operations
2.0, 12/23/10
1.0
The options to use for a parallel collection scan.
The options to use for a parallel collection scan.
The number of cursors to return, must be greater than 0
The cursor batch size, must be greater than 0 and less than 10001
The optional read preference.
2.7
com.monogdb.ParallelScanOptions
Wrapper class for the Mongo Connection object.
Wrapper class for the Mongo Connection object.
(Since version 2.7) Please use MongoClient
Create a new MongoURI with a URI String e.g.:
Create a new MongoURI with a URI String e.g.:
(Since version 2.8) Please use MongoClient and MongoClientURI
2.0
Helper object for com.mongodb.AggregationOptions
Helper object for com.mongodb.AggregationOptions
2.7
Wrapper object for MongoClient connections, providing the static methods the Java driver gives.
Wrapper object for MongoClient connections, providing the static methods the Java driver gives. Apply methods are called as MongoClient(<params>)
2.5
Helper class for creating MongoClientOptions instances
Helper class for creating MongoClientOptions instances
2.5
com.mongodb.MongoClientOptions
2.0
Helper object for some static methods
Helper class for creating MongoCredential instances
Helper class for creating MongoCredential instances
2.6
com.mongodb.MongoCredential
Wrapper for the Mongo DB
object providing scala-friendly functionality.
Wrapper for the Mongo DB
object providing scala-friendly functionality.
2.0
com.mongodb.DB
1.0.1
The options to use for a parallel collection scan.
The options to use for a parallel collection scan.
2.7
com.mongodb.ParallelScanOptions
Helper class for creating ReadPreference instances
Helper class for creating ReadPreference instances
2.2
JReadPreference
Helper class for creating WriteConcern instances
Helper class for creating WriteConcern instances
2.0
JWriteConcern
Wrapper object for Mongo Connections, providing the static methods the Java driver gives.
Wrapper object for Mongo Connections, providing the static methods the Java driver gives. Apply methods are called as MongoConnection(<params>)
(Since version 2.7) Please use MongoClient
Helper class for creating MongoOptions instances
Helper class for creating MongoOptions instances
(Since version 2.7) Please use MongoClient and MongoClientOptions
2.0
com.mongodb.MongoOptions
(Since version 2.7) Please use MongoClient and MongoClientURI
2.0
Wrapper object for AggregationOutput
2.5