public class GSpreadQuery extends Query
| Constructor and Description |
|---|
GSpreadQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
int worksheetNumber,
boolean hasHeader,
int startingRow,
int headerRow,
int maxRowCount,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
| Modifier and Type | Method and Description |
|---|---|
GSpreadConfig |
getConfig() |
int |
getHeaderRow() |
int |
getMaxRowCount() |
int |
getStartingRow() |
int |
getWorksheetNumber() |
boolean |
isHasHeader() |
org.wso2.carbon.dataservices.core.description.query.GSpreadQuery.GSpreadResultSet |
retrieveData() |
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 GSpreadQuery(DataService dataService, String queryId, List<QueryParam> queryParams, String configId, int worksheetNumber, boolean hasHeader, int startingRow, int headerRow, int maxRowCount, Result result, EventTrigger inputEventTrigger, EventTrigger outputEventTrigger, Map<String,String> advancedProperties, String inputNamespace) throws DataServiceFault
DataServiceFaultpublic boolean isHasHeader()
public int getHeaderRow()
public GSpreadConfig getConfig()
public int getMaxRowCount()
public int getStartingRow()
public int getWorksheetNumber()
public org.wso2.carbon.dataservices.core.description.query.GSpreadQuery.GSpreadResultSet retrieveData()
throws Exception
Exceptionpublic 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 QueryDataServiceFaultCopyright © 2017 WSO2. All rights reserved.