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 query will be performed.
|
void |
AsyncMongoCollection.explainAsync(Callback<Document> results,
Find query)
Explains the way that the query will be performed.
|
ListenableFuture<Document> |
AsyncMongoCollection.explainAsync(Find query)
Explains the way that the document will be performed.
|
void |
AsyncMongoCollection.explainAsync(LambdaCallback<Document> results,
Find query)
Explains the way that the query will be performed.
|
MongoIterator<Document> |
MongoCollection.find(Find query)
Finds the set of documents matching the query in the collection.
|
void |
AsyncMongoCollection.findAsync(Callback<MongoIterator<Document>> results,
Find query)
Finds the set of documents matching the query in the collection.
|
ListenableFuture<MongoIterator<Document>> |
AsyncMongoCollection.findAsync(Find query)
Finds the set of documents matching the query in the collection.
|
void |
AsyncMongoCollection.findAsync(LambdaCallback<MongoIterator<Document>> results,
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 |
AsyncMongoCollection.findOneAsync(Callback<Document> results,
Find query)
Finds a single matching document in the collection.
|
ListenableFuture<Document> |
AsyncMongoCollection.findOneAsync(Find query)
Finds a single matching document in the collection.
|
void |
AsyncMongoCollection.findOneAsync(LambdaCallback<Document> results,
Find query)
Finds a single matching document in the collection.
|
MongoCursorControl |
AsyncMongoCollection.stream(LambdaCallback<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 |
AsyncMongoCollection.stream(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 |
AsyncMongoCollection.streamingFind(Callback<Document> results,
Find query)
Deprecated.
Use the
AsyncMongoCollection.stream(StreamCallback, Find) method instead.
This method will be removed after the 1.3.0 release. |
MongoCursorControl |
AsyncMongoCollection.streamingFind(StreamCallback<Document> results,
Find query)
Deprecated.
Use the
AsyncMongoCollection.stream(StreamCallback, Find) method instead.
This method will be removed after the 1.4.0 release. |
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 |
AbstractMongoOperations.createQuery(Find query,
int limit,
int batchSize,
boolean tailable,
boolean awaitData,
boolean immortal)
Creates a properly configured
Query message. |
Document |
SynchronousMongoCollectionImpl.explain(Find query)
Explains the way that the query will be performed.
|
void |
AbstractMongoOperations.explainAsync(Callback<Document> results,
Find query)
|
ListenableFuture<Document> |
AbstractAsyncMongoCollection.explainAsync(Find query)
Explains the way that the document will be performed.
|
void |
AbstractAsyncMongoCollection.explainAsync(LambdaCallback<Document> results,
Find query)
Explains the way that the query will be performed.
|
MongoIterator<Document> |
SynchronousMongoCollectionImpl.find(Find query)
Finds the set of documents matching the query in the collection.
|
void |
AbstractMongoOperations.findAsync(Callback<MongoIterator<Document>> results,
Find query)
|
ListenableFuture<MongoIterator<Document>> |
AbstractAsyncMongoCollection.findAsync(Find query)
Finds the set of documents matching the query in the collection.
|
void |
AbstractAsyncMongoCollection.findAsync(LambdaCallback<MongoIterator<Document>> results,
Find query)
Finds the set of documents matching the query in the collection.
|
Document |
SynchronousMongoCollectionImpl.findOne(Find query)
Overridden to call the
AbstractMongoOperations.findOneAsync(com.allanbank.mongodb.Callback, Find) . |
void |
AbstractMongoOperations.findOneAsync(Callback<Document> results,
Find query)
|
ListenableFuture<Document> |
AbstractAsyncMongoCollection.findOneAsync(Find query)
Finds a single matching document in the collection.
|
void |
AbstractAsyncMongoCollection.findOneAsync(LambdaCallback<Document> results,
Find query)
Finds a single matching document in the collection.
|
MongoCursorControl |
AbstractAsyncMongoCollection.stream(LambdaCallback<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 |
AbstractMongoOperations.stream(StreamCallback<Document> results,
Find query)
|
MongoCursorControl |
AbstractAsyncMongoCollection.streamingFind(Callback<Document> results,
Find query)
Deprecated.
|
MongoCursorControl |
AbstractAsyncMongoCollection.streamingFind(StreamCallback<Document> results,
Find query)
Deprecated.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.