public class MongoQuery extends Query
| Modifier and Type | Class and Description |
|---|---|
class |
MongoQuery.MongoQueryResult |
static class |
MongoQuery.MongoResultMapper |
| Constructor and Description |
|---|
MongoQuery(DataService dataService,
String queryId,
String configId,
String expression,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
| Modifier and Type | Method and Description |
|---|---|
MongoConfig |
getConfig() |
String |
getExpression() |
void |
runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
Object |
runPreQuery(InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
addQueryPreprocessedObject, execute, getAdvancedProperties, getAndRemoveQueryPreprocessObject, getConfigId, getCurrentInternalParams, getDataService, getInputEventTrigger, getInputNamespace, getOutputEventTrigger, getQueryId, getQueryParams, getResult, hasResult, isPreBuildResult, isQueryPreprocessInitial, isQueryPreprocessSecondary, isUsingColumnNumbers, isWriteRow, resetCurrentInternalParams, resetQueryPreprocessing, setCurrentInternalParams, setQueryPreprocessingInitial, setQueryPreprocessingSecondary, writeResultEntryaddAttribute, endElement, getNamespace, setNamespace, startRowElement, startWrapperElement, writeResultElementpublic MongoQuery(DataService dataService, String queryId, String configId, String expression, List<QueryParam> queryParams, Result result, EventTrigger inputEventTrigger, EventTrigger outputEventTrigger, Map<String,String> advancedProperties, String inputNamespace) throws DataServiceFault
DataServiceFaultpublic Object runPreQuery(InternalParamCollection params, int queryLevel) throws DataServiceFault
QueryrunPreQuery in class QueryDataServiceFaultpublic void runPostQuery(Object result, XMLStreamWriter xmlWriter, InternalParamCollection params, int queryLevel) throws DataServiceFault
QueryrunPostQuery in class QueryDataServiceFaultpublic MongoConfig getConfig()
public String getExpression()
Copyright © 2017 WSO2. All rights reserved.