Class MongoDBQueryAction
java.lang.Object
com.kingsrook.qqq.backend.module.mongodb.actions.AbstractMongoDBAction
com.kingsrook.qqq.backend.module.mongodb.actions.MongoDBQueryAction
- All Implemented Interfaces:
BaseQueryInterface,QueryInterface
Execute a Query action against a MongoDB backend.
Note that this a collection.aggregate() even if it could maybe do
a collection.find(), to keep the code paths simpler in here, and to
support FieldFunctions (which require aggregate). The performance
difference is hopefully not so bad, but this could potentially be a future
optimization if it was found to be worthwhile.
-
Field Summary
Fields inherited from class com.kingsrook.qqq.backend.module.mongodb.actions.AbstractMongoDBAction
queryStat -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.kingsrook.qqq.backend.module.mongodb.actions.AbstractMongoDBAction
buildAddFieldsDocument, documentToRecord, getBackendTableName, getFieldBackendName, getFieldReference, getPageSize, getQueryStat, logQuery, makeSearchQueryDocument, openClient, recordToDocument, setQueryInQueryStat, setQueryStatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.actions.interfaces.BaseQueryInterface
cancelAction, getQueryStat, setQueryStat, setQueryStatFirstResultTime
-
Constructor Details
-
MongoDBQueryAction
public MongoDBQueryAction()
-
-
Method Details
-
execute
- Specified by:
executein interfaceQueryInterface- Throws:
QException
-