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,
com.mongodb.DBCollection collection,
Class<T> type)
Creates and returns a
Query for the given arguments. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createQuery
public <T> Query<T> createQuery(Datastore datastore, com.mongodb.DBCollection collection, Class<T> type)
QueryFactory
Query
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 QueryFactory
QueryFactory.createQuery(Datastore, DBCollection, Class, com.mongodb.DBObject)
public <T> Query<T> createQuery(Datastore datastore)
QueryFactory
Query
typically for use in aggregation pipelines.createQuery
in interface QueryFactory
Copyright © 2016. All rights reserved.