public class ExcelQuery extends Query
Constructor and Description |
---|
ExcelQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
String workbookName,
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 |
---|---|
Map<Integer,String> |
getColumnMappings() |
ExcelConfig |
getConfig() |
int |
getHeaderRow() |
int |
getMaxRowCount() |
int |
getStartingRow() |
String |
getWorkbookName() |
boolean |
isHasHeader() |
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, writeResultEntry
addAttribute, endElement, getNamespace, setNamespace, startRowElement, startWrapperElement, writeResultElement
public ExcelQuery(DataService dataService, String queryId, List<QueryParam> queryParams, String configId, String workbookName, boolean hasHeader, int startingRow, int headerRow, int maxRowCount, Result result, EventTrigger inputEventTrigger, EventTrigger outputEventTrigger, Map<String,String> advancedProperties, String inputNamespace) throws DataServiceFault
DataServiceFault
public ExcelConfig getConfig()
public boolean isHasHeader()
public int getMaxRowCount()
public int getStartingRow()
public int getHeaderRow()
public String getWorkbookName()
public Object runPreQuery(InternalParamCollection params, int queryLevel) throws DataServiceFault
Query
runPreQuery
in class Query
DataServiceFault
public void runPostQuery(Object result, XMLStreamWriter xmlWriter, InternalParamCollection params, int queryLevel) throws DataServiceFault
Query
runPostQuery
in class Query
DataServiceFault
Copyright © 2019 WSO2. All rights reserved.