the mongo collection that will be used to store the cubbies.
the constructor to use when creating cubbies based on mongo objects.
A sequence of sequences of slots. Each slot sequence represents one multi-field index.
A wrapper around a mongodb database iterator.
Batch insert of a collection of cubbies.
Batch insert of a collection of cubbies.
collection to insert.
writeConcern.
Batch insert of a collection of cubbies.
Batch insert of a collection of cubbies.
collection to insert.
Inserts a cubbie into the collection.
Inserts a cubbie into the collection.
the cubbie to add.
the mongo collection that will be used to store the cubbies.
the constructor to use when creating cubbies based on mongo objects.
Drops the underlying database collection.
Drops the underlying database collection.
Find all cubbies for which the attribute/slot with the given name has a value within the provided sequence of values.
Find all cubbies for which the attribute/slot with the given name has a value within the provided sequence of values.
the type of the values the attribute can have.
the name of the attribute.
the sequence of values the attribute can be in.
all cubbies that have a slot with the given name for which the value is in the specified sequence of values.
Find all cubbies for which the id is within the given set of ids.
Find all cubbies for which the id is within the given set of ids.
the id of the object to find.
all cubbies in this collection which have one of the provided ids.
Find all cubbies for which the id is within the given set of ids.
Find all cubbies for which the id is within the given set of ids.
the ids to check against.
all cubbies in this collection which have one of the provided ids.
Find all cubbies for which the provided field/slot has one of the provided values.
Find all cubbies for which the provided field/slot has one of the provided values.
the type of the slot values.
a function from cubbie to the slot to test.
the values the slot can have to be included in the result.
all cubbies in this collection for which the given slot has one of the given values.
A sequence of sequences of slots.
A sequence of sequences of slots. Each slot sequence represents one multi-field index.
Returns a iterator over the cubbies stored in this collection.
Returns a iterator over the cubbies stored in this collection.
cubbie iterator.
By default the collection converts mongo documents eagerly to scala map objects which then become the maps underlying the cubbies.
By default the collection converts mongo documents eagerly to scala map objects which then become the maps underlying the cubbies.
a mongo document object.
the constructor to use to create the cubbies.
a cubbie based on the provided dbo.
Finds all cubbies that match the given queries and instantiates the selected slots of these cubbies.
Finds all cubbies that match the given queries and instantiates the selected slots of these cubbies.
a function that maps a cubbie to a cubbie that should be matched.
a function that maps a cubbie to a cubbie that shows which slots to instantiate (using the select method). If null all slots are selected
an iterator over cubbies as defined above.
Removes all items in the collection that match the given query.
Removes all items in the collection that match the given query.
a function that maps a cubbie to a cubbie that should be matched.
unit
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
The size of the collection.
The size of the collection.
number of cubbies in the collection.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Updates the collection as specified.
Updates the collection as specified.
a function that returns a cubbie to match
a function that returns the modification cubbie.
should an object be created if no match can be found.
should we do updates to all matching cubbies.
a mongo write result.
Efficiently stores the changes made to a given cubbie.
Efficiently stores the changes made to a given cubbie.
an old version of the cubbie to store
a new version of the cubbie to store
a mongodb WriteResult.
A MongoCubbieCollection stores cubbies in a Mongo collection.
the type of the cubbies this collection stores.