Package | Description |
---|---|
com.allanbank.mongodb |
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
Modifier and Type | Method and Description |
---|---|
Document |
MongoCollection.explain(Find query)
Explains the way that the document will be performed.
|
void |
MongoCollection.explainAsync(Callback<Document> results,
Find query)
Explains the way that the document will be performed.
|
Future<Document> |
MongoCollection.explainAsync(Find query)
Explains the way that the document will be performed.
|
MongoIterator<Document> |
MongoCollection.find(Find query)
Finds the set of documents matching the query in the collection.
|
void |
MongoCollection.findAsync(Callback<MongoIterator<Document>> results,
Find query)
Finds the set of documents matching the query in the collection.
|
Future<MongoIterator<Document>> |
MongoCollection.findAsync(Find query)
Finds the set of documents matching the query in the collection.
|
Document |
MongoCollection.findOne(Find query)
Finds a single matching document in the collection.
|
void |
MongoCollection.findOneAsync(Callback<Document> results,
Find query)
Finds a single matching document in the collection.
|
Future<Document> |
MongoCollection.findOneAsync(Find query)
Finds a single matching document in the collection.
|
MongoCursorControl |
MongoCollection.streamingFind(Callback<Document> results,
Find query)
Deprecated.
Use the
MongoCollection.streamingFind(StreamCallback, Find) method
instead. This method will be removed after the 1.3.0 release. |
MongoCursorControl |
MongoCollection.streamingFind(StreamCallback<Document> results,
Find query)
Finds the set of documents matching the query in the collection and
streams them to the provided callback one at a time.
|
Modifier and Type | Method and Description |
---|---|
Find |
Find.Builder.build()
Constructs a new
Find object from the state of the builder. |
Modifier and Type | Method and Description |
---|---|
protected Query |
MongoCollectionImpl.createQuery(Find query,
int limit,
int batchSize,
boolean tailable,
boolean awaitData,
boolean immortal)
Creates a properly configured
Query message. |
Document |
AbstractMongoCollection.explain(Find query)
Explains the way that the document will be performed.
|
abstract void |
AbstractMongoCollection.explainAsync(Callback<Document> results,
Find query)
Explains the way that the document will be performed.
|
void |
MongoCollectionImpl.explainAsync(Callback<Document> results,
Find query)
Explains the way that the document will be performed.
|
Future<Document> |
AbstractMongoCollection.explainAsync(Find query)
Explains the way that the document will be performed.
|
MongoIterator<Document> |
AbstractMongoCollection.find(Find query)
Finds the set of documents matching the query in the collection.
|
abstract void |
AbstractMongoCollection.findAsync(Callback<MongoIterator<Document>> results,
Find query)
Finds the set of documents matching the query in the collection.
|
void |
MongoCollectionImpl.findAsync(Callback<MongoIterator<Document>> results,
Find query)
Finds the set of documents matching the query in the collection.
|
Future<MongoIterator<Document>> |
AbstractMongoCollection.findAsync(Find query)
Finds the set of documents matching the query in the collection.
|
Document |
AbstractMongoCollection.findOne(Find query)
Overridden to call the
AbstractMongoCollection.findOneAsync(Callback, Find) . |
abstract void |
AbstractMongoCollection.findOneAsync(Callback<Document> results,
Find query)
Finds a single matching document in the collection.
|
void |
MongoCollectionImpl.findOneAsync(Callback<Document> results,
Find query)
Finds a single matching document in the collection.
|
Future<Document> |
AbstractMongoCollection.findOneAsync(Find query)
Finds a single matching document in the collection.
|
MongoCursorControl |
AbstractMongoCollection.streamingFind(Callback<Document> results,
Find query)
Deprecated.
|
abstract MongoCursorControl |
AbstractMongoCollection.streamingFind(StreamCallback<Document> results,
Find query)
Finds the set of documents matching the query in the collection and
streams them to the provided callback one at a time.
|
MongoCursorControl |
MongoCollectionImpl.streamingFind(StreamCallback<Document> results,
Find query)
Finds the set of documents matching the query in the collection and
streams them to the provided callback one at a time.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.