public abstract class AbstractQueryFactory extends Object implements QueryFactory
QueryFactory.| Constructor and Description |
|---|
AbstractQueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> Query<T> |
createQuery(Datastore datastore)
Creates an unvalidated
Query typically for use in aggregation pipelines. |
<T> Query<T> |
createQuery(Datastore datastore,
DBCollection collection,
Class<T> type)
Creates and returns a
Query for the given arguments. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateQuerypublic <T> Query<T> createQuery(Datastore datastore, DBCollection collection, Class<T> type)
QueryFactoryQuery for the given arguments. Default implementations of this
method will simply delegate to QueryFactory.createQuery(Datastore, DBCollection, Class, DBObject)
with the last argument being null.createQuery in interface QueryFactoryQueryFactory.createQuery(Datastore, DBCollection, Class, com.mongodb.DBObject)public <T> Query<T> createQuery(Datastore datastore)
QueryFactoryQuery typically for use in aggregation pipelines.createQuery in interface QueryFactory