| Package | Description | 
|---|---|
| com.allanbank.mongodb | 
 Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests. 
 | 
| com.allanbank.mongodb.bson | 
 Strongly typed, immutable implementation of the 
 BSON Specification. 
 | 
| com.allanbank.mongodb.bson.builder | 
 Provides the interfaces for builders to aid in constructing BSON 
  
Documents. | 
| com.allanbank.mongodb.bson.builder.impl | 
 Provides the implementations for builders to aid in constructing BSON 
  
Documents. | 
| com.allanbank.mongodb.bson.element | |
| com.allanbank.mongodb.bson.impl | 
 Provides the implementation of a top level BSON  
Document. | 
| com.allanbank.mongodb.bson.json | 
 Contains a parser of JSON documents based on a JavaCC grammer. 
 | 
| com.allanbank.mongodb.builder | 
 Provides domain classes and builders for queries and the common MongoDB commands. 
 | 
| com.allanbank.mongodb.builder.expression | |
| com.allanbank.mongodb.client | 
 Provides implementations of the main client interfaces and classes to translate the 
  
Reply(s) from the server. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ReadPreference
ReadPreference encapsulates a  
ReadPreference.Mode and a set of tag matching
 documents. | 
| Modifier and Type | Method and Description | 
|---|---|
static ReadPreference | 
ReadPreference.closest(DocumentAssignable... tagMatchDocuments)
Creates a  
ReadPreference to read from the closest/
 ReadPreference.Mode.NEAREST primary of secondary server. | 
long | 
MongoCollection.count(DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
long | 
MongoCollection.count(DocumentAssignable query,
     ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
void | 
MongoCollection.countAsync(Callback<Long> results,
          DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
void | 
MongoCollection.countAsync(Callback<Long> results,
          DocumentAssignable query,
          ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
Future<Long> | 
MongoCollection.countAsync(DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
Future<Long> | 
MongoCollection.countAsync(DocumentAssignable query,
          ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
boolean | 
MongoDatabase.createCollection(String name,
                DocumentAssignable options)
Creates the collection with the specified name on the server. 
 | 
void | 
MongoCollection.createIndex(DocumentAssignable options,
           Element... keys)
Creates an index with a generated name, across the keys specified
 allowing duplicate entries. 
 | 
void | 
MongoCollection.createIndex(String name,
           DocumentAssignable options,
           Element... keys)
Creates an index with a generated name, across the keys specified
 allowing duplicate entries. 
 | 
long | 
MongoCollection.delete(DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
MongoCollection.delete(DocumentAssignable query,
      boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
MongoCollection.delete(DocumentAssignable query,
      boolean singleDelete,
      Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
MongoCollection.delete(DocumentAssignable query,
      Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
MongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
MongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
MongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           boolean singleDelete,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
MongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
MongoCollection.deleteAsync(DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
MongoCollection.deleteAsync(DocumentAssignable query,
           boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
MongoCollection.deleteAsync(DocumentAssignable query,
           boolean singleDelete,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
MongoCollection.deleteAsync(DocumentAssignable query,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Document | 
MongoCollection.explain(DocumentAssignable query)
Explains the way that the document will be performed. 
 | 
MongoIterator<Document> | 
MongoCollection.find(DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
void | 
MongoCollection.findAsync(Callback<MongoIterator<Document>> results,
         DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
Future<MongoIterator<Document>> | 
MongoCollection.findAsync(DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
Document | 
MongoCollection.findOne(DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
void | 
MongoCollection.findOneAsync(Callback<Document> results,
            DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
Future<Document> | 
MongoCollection.findOneAsync(DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
int | 
MongoCollection.insert(boolean continueOnError,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
MongoCollection.insert(boolean continueOnError,
      Durability durability,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
MongoCollection.insert(DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
MongoCollection.insert(Durability durability,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
MongoCollection.insertAsync(boolean continueOnError,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
MongoCollection.insertAsync(boolean continueOnError,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
MongoCollection.insertAsync(Callback<Integer> results,
           boolean continueOnError,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
MongoCollection.insertAsync(Callback<Integer> results,
           boolean continueOnError,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
MongoCollection.insertAsync(Callback<Integer> results,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
MongoCollection.insertAsync(Callback<Integer> results,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
MongoCollection.insertAsync(DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
MongoCollection.insertAsync(Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
static ReadPreference | 
ReadPreference.preferPrimary(DocumentAssignable... tagMatchDocuments)
Creates a  
ReadPreference to prefer reading from the primary but
 to fallback to a secondary if the primary is not available. | 
static ReadPreference | 
ReadPreference.preferSecondary(DocumentAssignable... tagMatchDocuments)
Creates a  
ReadPreference to prefer reading from a secondary but
 to 'fallback' to a primary if a secondary is not available. | 
MongoIterator<Document> | 
MongoClient.restart(DocumentAssignable cursorDocument)
Restarts an iterator that was previously saved. 
 | 
MongoCursorControl | 
MongoClient.restart(StreamCallback<Document> results,
       DocumentAssignable cursorDocument)
Restarts a document stream from a cursor that was previously saved. 
 | 
Document | 
MongoDatabase.runAdminCommand(String command,
               DocumentAssignable options)
Runs an administrative command against the 'admin' database. 
 | 
Document | 
MongoDatabase.runAdminCommand(String commandName,
               String commandValue,
               DocumentAssignable options)
Runs an administrative command against the 'admin' database. 
 | 
Document | 
MongoDatabase.runCommand(String command,
          DocumentAssignable options)
Runs a command against the database. 
 | 
Document | 
MongoDatabase.runCommand(String commandName,
          int commandValue,
          DocumentAssignable options)
Runs a command against the database. 
 | 
Document | 
MongoDatabase.runCommand(String commandName,
          String commandValue,
          DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabase.runCommandAsync(Callback<Document> reply,
               String command,
               DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabase.runCommandAsync(Callback<Document> reply,
               String commandName,
               int commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabase.runCommandAsync(Callback<Document> reply,
               String commandName,
               String commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabase.runCommandAsync(String command,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabase.runCommandAsync(String commandName,
               int commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabase.runCommandAsync(String commandName,
               String commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
int | 
MongoCollection.save(DocumentAssignable document)
Saves the  
document to the collection. | 
int | 
MongoCollection.save(DocumentAssignable document,
    Durability durability)
Saves the  
document to the collection. | 
void | 
MongoCollection.saveAsync(Callback<Integer> results,
         DocumentAssignable document)
Saves the  
document to the collection. | 
void | 
MongoCollection.saveAsync(Callback<Integer> results,
         DocumentAssignable document,
         Durability durability)
Saves the  
document to the collection. | 
Future<Integer> | 
MongoCollection.saveAsync(DocumentAssignable document)
Saves the  
document to the collection. | 
Future<Integer> | 
MongoCollection.saveAsync(DocumentAssignable document,
         Durability durability)
Saves the  
document to the collection. | 
static ReadPreference | 
ReadPreference.secondary(DocumentAssignable... tagMatchDocuments)
Creates a  
ReadPreference to read only from a secondary. | 
MongoCursorControl | 
MongoCollection.streamingFind(Callback<Document> results,
             DocumentAssignable query)
Deprecated. 
 
Use the
              
MongoCollection.streamingFind(StreamCallback, DocumentAssignable)
             method instead. This method will be removed after the 1.3.0
             release. | 
MongoCursorControl | 
MongoCollection.streamingFind(StreamCallback<Document> results,
             DocumentAssignable query)
Finds the set of documents matching the query document in the collection
 and streams them to the provided callback one at a time. 
 | 
long | 
MongoCollection.update(DocumentAssignable query,
      DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
long | 
MongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      boolean multiUpdate,
      boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
long | 
MongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      boolean multiUpdate,
      boolean upsert,
      Durability durability)
Applies updates to a set of documents within the collection. 
 | 
long | 
MongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      Durability durability)
Applies updates to a set of documents within the collection. 
 | 
void | 
MongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
void | 
MongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
void | 
MongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
void | 
MongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
MongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
MongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
MongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
MongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Document | 
MongoCollection.updateOptions(DocumentAssignable options)
Updates the collection's options or flags using the  
collMod
 command. | 
| Constructor and Description | 
|---|
ReadPreference(ReadPreference.Mode mode,
              DocumentAssignable... tagMatchDocuments)
Creates a new ReadPreference. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
Document
Interface for a document. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DocumentReference
DocumentReference provides a standard MongoDB reference to a document within
 a collection. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
DocumentBuilder
Interface for a builder used to construct a BSON document. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ArrayBuilder | 
ArrayBuilder.add(DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
DocumentBuilder | 
DocumentBuilder.add(String name,
   DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
ArrayBuilder | 
ArrayBuilder.addDocument(DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
DocumentBuilder | 
DocumentBuilder.addDocument(String name,
           DocumentAssignable value)
Adds a pre-built document element. 
 | 
ArrayBuilder | 
ArrayBuilder.addJavaScript(String code,
             DocumentAssignable scope)
Adds a JavaScript with Scope element. 
 | 
DocumentBuilder | 
DocumentBuilder.addJavaScript(String name,
             String code,
             DocumentAssignable scope)
Adds a JavaScript with Scope element. 
 | 
static DocumentBuilder | 
BuilderFactory.start(DocumentAssignable seedDocument)
Creates a new  
DocumentBuilder to append more elements to an
 existing document. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DocumentBuilderImpl
A builder for BSON documents. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ArrayBuilder | 
ArrayBuilderImpl.add(DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
DocumentBuilder | 
DocumentBuilderImpl.add(String name,
   DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
ArrayBuilder | 
ArrayBuilderImpl.addDocument(DocumentAssignable document)
Adds a pre-constructed document to the array. 
 | 
DocumentBuilder | 
DocumentBuilderImpl.addDocument(String name,
           DocumentAssignable value)
Adds a pre-built document element. 
 | 
ArrayBuilder | 
ArrayBuilderImpl.addJavaScript(String code,
             DocumentAssignable scope)
Adds a JavaScript with Scope element. 
 | 
DocumentBuilder | 
DocumentBuilderImpl.addJavaScript(String name,
             String code,
             DocumentAssignable scope)
Adds a JavaScript with Scope element. 
 | 
| Constructor and Description | 
|---|
DocumentBuilderImpl(DocumentAssignable seedDocument)
Creates a new builder. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DocumentElement
Wraps a single BSON document that may contain nested documents. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
EmptyDocument
An immutable empty document. 
 | 
class  | 
RootDocument
A root level document. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
Json.serialize(DocumentAssignable document)
Serializes the  
Document to an equivalent JSON document. | 
static void | 
Json.serialize(DocumentAssignable document,
         Writer sink)
Serializes the  
Document to an equivalent JSON document. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AggregationGeoNear
AggregationGeoNear provides the options for the  
$geoNear pipeline
 stage of an aggregation. | 
static class  | 
AggregationGroupId.Builder
Builder provides the ability to construct a complex
  
AggregationGroupId. | 
class  | 
ConditionBuilder
ConditionBuilder provides tracking for the condition of a single field within
 a query. 
 | 
class  | 
QueryBuilder
QueryBuilder provides support for constructing queries. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Document | 
QueryBuilder.and(DocumentAssignable... criteria)
Creates a single document that is the conjunction of the criteria
 provided. 
 | 
ConditionBuilder | 
ConditionBuilder.elementMatches(DocumentAssignable arrayElementQuery)
Query to match a single element in the array field. 
 | 
ConditionBuilder | 
ConditionBuilder.equals(DocumentAssignable value)
Checks if the value equals the specified value. 
 | 
ConditionBuilder | 
ConditionBuilder.equalsJavaScript(String value,
                DocumentAssignable scope)
Checks if the value equals the specified value. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.fields(DocumentAssignable fields)
Sets the subset of fields to retrieve from the matched document. 
 | 
ConditionBuilder | 
ConditionBuilder.geoWithin(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field intersects the specified
  
GeoJSON specified geometry. | 
Aggregate.Builder | 
Aggregate.Builder.group(DocumentAssignable aggregations)
Adds a $group operation to the pipeline to aggregate
 documents passing this point in the pipeline into a group of
 documents. 
 | 
Aggregate.Builder | 
Aggregate.Builder.group(DocumentAssignable id,
     AggregationGroupField... aggregations)
Adds a $group operation to the pipeline to aggregate
 documents passing this point in the pipeline into a group of
 documents. 
 | 
Find.Builder | 
Find.Builder.hint(DocumentAssignable indexFields)
Sets the value of hint as to which index should be used to execute
 the query. 
 | 
GroupBy.Builder | 
GroupBy.Builder.initialValue(DocumentAssignable initialValue)
Sets the value of the initial value for the group. 
 | 
ConditionBuilder | 
ConditionBuilder.intersects(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field intersects the specified
  
GeoJSON specified geometry. | 
Aggregate.Builder | 
Aggregate.Builder.match(DocumentAssignable query)
Adds a $match operation to the pipeline to filter documents
 passing this point in the pipeline. 
 | 
Find.Builder | 
Find.Builder.max(DocumentAssignable maximumRange)
Sets the value of maximum range for the index used to the new value. 
 | 
Find.Builder | 
Find.Builder.min(DocumentAssignable minimumRange)
Sets the value of minimum range for the index used to the new value. 
 | 
ConditionBuilder | 
ConditionBuilder.near(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is near the specified
  
GeoJSON specified geometry. | 
ConditionBuilder | 
ConditionBuilder.near(DocumentAssignable geoJsonDoc,
    double maxDistance)
Geospatial query for documents whose field is near the specified
  
GeoJSON specified geometry. | 
ConditionBuilder | 
ConditionBuilder.nearSphere(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is near the specified
  
GeoJSON specified geometry on a sphere. | 
ConditionBuilder | 
ConditionBuilder.nearSphere(DocumentAssignable geoJsonDoc,
          double maxDistance)
Geospatial query for documents whose field is near the specified
  
GeoJSON specified geometry on a sphere. | 
static Document | 
QueryBuilder.nor(DocumentAssignable... criteria)
Creates a single document that is the disjunction of the criteria
 provided. 
 | 
static Document | 
QueryBuilder.not(DocumentAssignable... criteria)
Negate a set of criteria. 
 | 
ConditionBuilder | 
ConditionBuilder.notEqualTo(DocumentAssignable value)
Checks if the value is not equal to the specified value. 
 | 
ConditionBuilder | 
ConditionBuilder.notEqualToJavaScript(String value,
                    DocumentAssignable scope)
Checks if the value is not equal to the specified value. 
 | 
static Document | 
QueryBuilder.or(DocumentAssignable... criteria)
Creates a single document that is the disjunction of the criteria
 provided. 
 | 
Aggregate.Builder | 
Aggregate.Builder.project(DocumentAssignable projection)
Adds a $project operation to the pipeline to create a
 projection of the documents passing this point in the pipeline. 
 | 
Distinct.Builder | 
Distinct.Builder.query(DocumentAssignable query)
Sets the value of the query to select the documents to run the
 distinct against. 
 | 
Find.Builder | 
Find.Builder.query(DocumentAssignable query)
Sets the value of the query document to the new value. 
 | 
MapReduce.Builder | 
MapReduce.Builder.query(DocumentAssignable query)
Sets the query to select the documents to run the map/reduce against. 
 | 
Text.Builder | 
Text.Builder.query(DocumentAssignable query)
Sets the standard MongoDB query document to limit the final results
 to the new value. 
 | 
GroupBy.Builder | 
GroupBy.Builder.query(DocumentAssignable query)
Sets the value of the query to select the documents to run the group
 against. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.query(DocumentAssignable query)
Sets the query to locate the document to update. 
 | 
AggregationGeoNear.Builder | 
AggregationGeoNear.Builder.query(DocumentAssignable query)
Sets the optional query for further refining the documents to add to
 the pipeline. 
 | 
Find.Builder | 
Find.Builder.returnFields(DocumentAssignable returnFields)
Sets the value of the fields to be returned from the matching
 documents to the new value. 
 | 
Text.Builder | 
Text.Builder.returnFields(DocumentAssignable returnFields)
Sets the fields to return from the query to the new value. 
 | 
MapReduce.Builder | 
MapReduce.Builder.scope(DocumentAssignable scope)
Sets the scoped values to expose to the map/reduce/finalize
 functions. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.setFields(DocumentAssignable fields)
Sets the subset of fields to retrieve from the matched document. 
 | 
Find.Builder | 
Find.Builder.setHint(DocumentAssignable indexFields)
Sets the value of hint as to which index should be used to execute
 the query. 
 | 
GroupBy.Builder | 
GroupBy.Builder.setInitialValue(DocumentAssignable initialValue)
Sets the value of the initial value for the group. 
 | 
Find.Builder | 
Find.Builder.setMaximumRange(DocumentAssignable maximumRange)
Sets the value of maximum range for the index used to the new value. 
 | 
Find.Builder | 
Find.Builder.setMinimumRange(DocumentAssignable minimumRange)
Sets the value of minimum range for the index used to the new value. 
 | 
Distinct.Builder | 
Distinct.Builder.setQuery(DocumentAssignable query)
Sets the value of the query to select the documents to run the
 distinct against. 
 | 
Find.Builder | 
Find.Builder.setQuery(DocumentAssignable query)
Sets the value of the query document to the new value. 
 | 
MapReduce.Builder | 
MapReduce.Builder.setQuery(DocumentAssignable query)
Sets the query to select the documents to run the map/reduce against. 
 | 
Text.Builder | 
Text.Builder.setQuery(DocumentAssignable query)
Sets the standard MongoDB query document to limit the final results
 to the new value. 
 | 
GroupBy.Builder | 
GroupBy.Builder.setQuery(DocumentAssignable query)
Sets the value of the query to select the documents to run the group
 against. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.setQuery(DocumentAssignable query)
Sets the query to locate the document to update. 
 | 
AggregationGeoNear.Builder | 
AggregationGeoNear.Builder.setQuery(DocumentAssignable query)
Sets the optional query for further refining the documents to add to
 the pipeline. 
 | 
Find.Builder | 
Find.Builder.setReturnFields(DocumentAssignable returnFields)
Sets the value of the fields to be returned from the matching
 documents to the new value. 
 | 
Text.Builder | 
Text.Builder.setReturnFields(DocumentAssignable returnFields)
Sets the fields to return from the query to the new value. 
 | 
MapReduce.Builder | 
MapReduce.Builder.setScope(DocumentAssignable scope)
Sets the scoped values to expose to the map/reduce/finalize
 functions. 
 | 
Find.Builder | 
Find.Builder.setSort(DocumentAssignable sortFields)
Sets the value of the fields to to sort matching documents by. 
 | 
MapReduce.Builder | 
MapReduce.Builder.setSort(DocumentAssignable sort)
Sets the sort to apply to the input objects. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.setSort(DocumentAssignable sort)
Sets the sort to apply if multiple docs match, choose the first one
 as the object to manipulate. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.setUpdate(DocumentAssignable update)
Sets the updates to be applied to the document. 
 | 
Find.Builder | 
Find.Builder.sort(DocumentAssignable sortFields)
Sets the value of the fields to to sort matching documents by. 
 | 
MapReduce.Builder | 
MapReduce.Builder.sort(DocumentAssignable sort)
Sets the sort to apply to the input objects. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.sort(DocumentAssignable sort)
Sets the sort to apply if multiple docs match, choose the first one
 as the object to manipulate. 
 | 
Aggregate.Builder | 
Aggregate.Builder.step(String operator,
    DocumentAssignable stepDocument)
Adds a generic step to the builder's pipeline. 
 | 
FindAndModify.Builder | 
FindAndModify.Builder.update(DocumentAssignable update)
Sets the updates to be applied to the document. 
 | 
ConditionBuilder | 
ConditionBuilder.within(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is within the specified
  
GeoJSON specified geometry. | 
ConditionBuilder | 
ConditionBuilder.within(DocumentAssignable geoJsonDoc,
      boolean uniqueDocs)
Geospatial query for documents whose field is within the specified
  
GeoJSON specified geometry. | 
| Constructor and Description | 
|---|
AggregationGroupId(DocumentAssignable builder)
Creates a new AggregationGroupId. 
 | 
Find.Builder(DocumentAssignable query)
Creates a new Builder. 
 | 
TextResult(DocumentAssignable document)
Creates a new Text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Element | 
Expressions.set(String name,
   DocumentAssignable document)
Returns an element to set the value to. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
MongoDatabaseImpl.addOptions(String command,
          DocumentAssignable options,
          DocumentBuilder builder)
Adds the options to the document builder. 
 | 
long | 
AbstractMongoCollection.count(DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
long | 
AbstractMongoCollection.count(DocumentAssignable query,
     ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
void | 
AbstractMongoCollection.countAsync(Callback<Long> results,
          DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
abstract void | 
AbstractMongoCollection.countAsync(Callback<Long> results,
          DocumentAssignable query,
          ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
void | 
MongoCollectionImpl.countAsync(Callback<Long> results,
          DocumentAssignable query,
          ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
Future<Long> | 
AbstractMongoCollection.countAsync(DocumentAssignable query)
Counts the set of documents matching the query document in the
 collection. 
 | 
Future<Long> | 
AbstractMongoCollection.countAsync(DocumentAssignable query,
          ReadPreference readPreference)
Counts the set of documents matching the query document in the
 collection. 
 | 
boolean | 
MongoDatabaseImpl.createCollection(String name,
                DocumentAssignable options)
Creates the collection with the specified name on the server. 
 | 
void | 
AbstractMongoCollection.createIndex(DocumentAssignable options,
           Element... keys)
Creates an index with a generated name, across the keys specified
 allowing duplicate entries. 
 | 
abstract void | 
AbstractMongoCollection.createIndex(String name,
           DocumentAssignable options,
           Element... keys)
Creates an index with a generated name, across the keys specified
 allowing duplicate entries. 
 | 
void | 
MongoCollectionImpl.createIndex(String name,
           DocumentAssignable options,
           Element... keys)
Creates an index with a generated name, across the keys specified
 allowing duplicate entries. 
 | 
long | 
AbstractMongoCollection.delete(DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
AbstractMongoCollection.delete(DocumentAssignable query,
      boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
AbstractMongoCollection.delete(DocumentAssignable query,
      boolean singleDelete,
      Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
long | 
AbstractMongoCollection.delete(DocumentAssignable query,
      Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
AbstractMongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
AbstractMongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
abstract void | 
AbstractMongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           boolean singleDelete,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
MongoCollectionImpl.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           boolean singleDelete,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
void | 
AbstractMongoCollection.deleteAsync(Callback<Long> results,
           DocumentAssignable query,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.deleteAsync(DocumentAssignable query)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.deleteAsync(DocumentAssignable query,
           boolean singleDelete)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.deleteAsync(DocumentAssignable query,
           boolean singleDelete,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.deleteAsync(DocumentAssignable query,
           Durability durability)
Deletes a set of documents matching a query from the collection. 
 | 
Document | 
AbstractMongoCollection.explain(DocumentAssignable query)
Explains the way that the document will be performed. 
 | 
MongoIterator<Document> | 
AbstractMongoCollection.find(DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
void | 
AbstractMongoCollection.findAsync(Callback<MongoIterator<Document>> results,
         DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
Future<MongoIterator<Document>> | 
AbstractMongoCollection.findAsync(DocumentAssignable query)
Finds the set of documents matching the query document in the collection. 
 | 
Document | 
AbstractMongoCollection.findOne(DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
void | 
AbstractMongoCollection.findOneAsync(Callback<Document> results,
            DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
Future<Document> | 
AbstractMongoCollection.findOneAsync(DocumentAssignable query)
Finds a single matching document in the collection. 
 | 
int | 
AbstractMongoCollection.insert(boolean continueOnError,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
AbstractMongoCollection.insert(boolean continueOnError,
      Durability durability,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
AbstractMongoCollection.insert(DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
int | 
AbstractMongoCollection.insert(Durability durability,
      DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
AbstractMongoCollection.insertAsync(boolean continueOnError,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
AbstractMongoCollection.insertAsync(boolean continueOnError,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
AbstractMongoCollection.insertAsync(Callback<Integer> results,
           boolean continueOnError,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
abstract void | 
AbstractMongoCollection.insertAsync(Callback<Integer> results,
           boolean continueOnError,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
MongoCollectionImpl.insertAsync(Callback<Integer> results,
           boolean continueOnError,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
AbstractMongoCollection.insertAsync(Callback<Integer> results,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
void | 
AbstractMongoCollection.insertAsync(Callback<Integer> results,
           Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
AbstractMongoCollection.insertAsync(DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
Future<Integer> | 
AbstractMongoCollection.insertAsync(Durability durability,
           DocumentAssignable... documents)
Inserts a set of documents into the collection. 
 | 
MongoIterator<Document> | 
ClientImpl.restart(DocumentAssignable cursorDocument)
Restarts an iterator that was previously saved. 
 | 
MongoIterator<Document> | 
SerialClientImpl.restart(DocumentAssignable cursorDocument)
Restarts an iterator that was previously saved. 
 | 
MongoIterator<Document> | 
MongoClientImpl.restart(DocumentAssignable cursorDocument)
Restarts an iterator that was previously saved. 
 | 
MongoIterator<Document> | 
Client.restart(DocumentAssignable cursorDocument)
Restarts an iterator that was previously saved. 
 | 
MongoCursorControl | 
ClientImpl.restart(StreamCallback<Document> results,
       DocumentAssignable cursorDocument)
Restarts a document stream from a cursor that was previously saved. 
 | 
MongoCursorControl | 
SerialClientImpl.restart(StreamCallback<Document> results,
       DocumentAssignable cursorDocument)
Restarts a document stream from a cursor that was previously saved. 
 | 
MongoCursorControl | 
MongoClientImpl.restart(StreamCallback<Document> results,
       DocumentAssignable cursorDocument)
Restarts a document stream from a cursor that was previously saved. 
 | 
MongoCursorControl | 
Client.restart(StreamCallback<Document> results,
       DocumentAssignable cursorDocument)
Restarts a document stream from a cursor that was previously saved. 
 | 
Document | 
MongoDatabaseImpl.runAdminCommand(String command,
               DocumentAssignable options)
Runs an administrative command against the 'admin' database. 
 | 
Document | 
MongoDatabaseImpl.runAdminCommand(String commandName,
               String commandValue,
               DocumentAssignable options)
Runs an administrative command against the 'admin' database. 
 | 
Document | 
MongoDatabaseImpl.runCommand(String command,
          DocumentAssignable options)
Runs a command against the database. 
 | 
Document | 
MongoDatabaseImpl.runCommand(String commandName,
          int commandValue,
          DocumentAssignable options)
Runs a command against the database. 
 | 
Document | 
MongoDatabaseImpl.runCommand(String commandName,
          String commandValue,
          DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabaseImpl.runCommandAsync(Callback<Document> reply,
               String command,
               DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabaseImpl.runCommandAsync(Callback<Document> reply,
               String commandName,
               int commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
void | 
MongoDatabaseImpl.runCommandAsync(Callback<Document> reply,
               String commandName,
               String commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabaseImpl.runCommandAsync(String command,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabaseImpl.runCommandAsync(String commandName,
               int commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
Future<Document> | 
MongoDatabaseImpl.runCommandAsync(String commandName,
               String commandValue,
               DocumentAssignable options)
Runs a command against the database. 
 | 
int | 
AbstractMongoCollection.save(DocumentAssignable document)
Saves the  
document to the collection. | 
int | 
AbstractMongoCollection.save(DocumentAssignable document,
    Durability durability)
Saves the  
document to the collection. | 
void | 
AbstractMongoCollection.saveAsync(Callback<Integer> results,
         DocumentAssignable document)
Saves the  
document to the collection. | 
abstract void | 
AbstractMongoCollection.saveAsync(Callback<Integer> results,
         DocumentAssignable document,
         Durability durability)
Saves the  
document to the collection. | 
void | 
MongoCollectionImpl.saveAsync(Callback<Integer> results,
         DocumentAssignable document,
         Durability durability)
Saves the  
document to the collection. | 
Future<Integer> | 
AbstractMongoCollection.saveAsync(DocumentAssignable document)
Saves the  
document to the collection. | 
Future<Integer> | 
AbstractMongoCollection.saveAsync(DocumentAssignable document,
         Durability durability)
Saves the  
document to the collection. | 
MongoCursorControl | 
AbstractMongoCollection.streamingFind(Callback<Document> results,
             DocumentAssignable query)
Deprecated.  
 | 
MongoCursorControl | 
AbstractMongoCollection.streamingFind(StreamCallback<Document> results,
             DocumentAssignable query)
Finds the set of documents matching the query document in the collection
 and streams them to the provided callback one at a time. 
 | 
long | 
AbstractMongoCollection.update(DocumentAssignable query,
      DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
long | 
AbstractMongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      boolean multiUpdate,
      boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
long | 
AbstractMongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      boolean multiUpdate,
      boolean upsert,
      Durability durability)
Applies updates to a set of documents within the collection. 
 | 
long | 
AbstractMongoCollection.update(DocumentAssignable query,
      DocumentAssignable update,
      Durability durability)
Applies updates to a set of documents within the collection. 
 | 
void | 
AbstractMongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
void | 
AbstractMongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
abstract void | 
AbstractMongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
void | 
MongoCollectionImpl.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
void | 
AbstractMongoCollection.updateAsync(Callback<Long> results,
           DocumentAssignable query,
           DocumentAssignable update,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           boolean multiUpdate,
           boolean upsert,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Future<Long> | 
AbstractMongoCollection.updateAsync(DocumentAssignable query,
           DocumentAssignable update,
           Durability durability)
Applies updates to a set of documents within the collection. 
 | 
Document | 
MongoCollectionImpl.updateOptions(DocumentAssignable options)
Updates the collection's options or flags using the  
collMod
 command. | 
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.