public interface IDataExtractionTask extends IExtractionTask
CANCEL_ON_ERROR, CONTINUE_ON_ERROR, STATUS_CANCELLED, STATUS_FAILED, STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_SUCCEEDED, TASK_DATAEXTRACTION, TASK_DATASETPREVIEW, TASK_GETPARAMETERDEFINITION, TASK_RENDER, TASK_RUN, TASK_RUNANDRENDER, TASK_UNKNOWN
Modifier and Type | Method and Description |
---|---|
IExtractionResults |
extract()
Redeclare this method in order to return IExtractionResults.
|
java.util.List |
getMetaData()
Deprecated.
|
java.util.List |
getResultSetList()
returns the metadata corresponding to the data stored in the report
document, for the specific extraction level, i.e., report, daat set,
report item, or report item instance levels.
|
boolean |
isCubeExportEnabled()
to indicate whether the cube export functionality should be enabled or
not.
|
void |
selectColumns(java.lang.String[] columnNames) |
void |
selectResultSet(java.lang.String resultSetName)
select the result set from which to export data.
|
void |
setCubeExportEnabled(boolean isCubeExportEnabled)
to set the indicator whether to enable the cube export functionality.
|
void |
setDistinctValuesOnly(boolean distinct)
whether gets distinct values
|
void |
setInstanceID(InstanceID iid)
* @param iid
identifies a report item instance that data extraction will
happen on
|
void |
setMaxRows(int maxRows) |
void |
setStartRow(int startRow)
Sets start row of the result.
|
extract, setFilters, setSorts
addScriptableJavaObject, cancel, cancel, close, getAppContext, getCancelFlag, getEngine, getErrors, getID, getLocale, getLogger, getParameterDisplayText, getParameterValue, getParameterValues, getReportRunnable, getStatus, getTaskType, getULocale, setAppContext, setDataSource, setDataSource, setErrorHandlingOption, setLocale, setLocale, setLogger, setParameter, setParameter, setParameterDisplayText, setParameterDisplayText, setParameterValue, setParameterValue, setParameterValues, setProgressMonitor, setStatusHandler, setTimeZone, setUserACL, validateParameters
void setCubeExportEnabled(boolean isCubeExportEnabled)
boolean isCubeExportEnabled()
void setInstanceID(InstanceID iid)
java.util.List getMetaData() throws EngineException
EngineException
java.util.List getResultSetList() throws EngineException
EngineException
void selectResultSet(java.lang.String resultSetName)
resultSetName
- the result set namevoid selectColumns(java.lang.String[] columnNames)
columnName
- name of the column to be included in the data setvoid setMaxRows(int maxRows)
maxRows
- set the maximum rows that are returned from ResultSetvoid setStartRow(int startRow)
void setDistinctValuesOnly(boolean distinct)
IExtractionResults extract() throws EngineException
extract
in interface IExtractionTask
EngineException
Copyright © 2014 OpenText Corp. All rights reserved.