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| 限定符和类型 | 方法和说明 |
|---|---|
IExtractionResults |
extract()
Redeclare this method in order to return IExtractionResults.
|
java.util.List |
getMetaData()
已过时。
|
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, setSortsaddScriptableJavaObject, 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, validateParametersvoid setCubeExportEnabled(boolean isCubeExportEnabled)
boolean isCubeExportEnabled()
void setInstanceID(InstanceID iid)
java.util.List getMetaData()
throws EngineException
EngineExceptionjava.util.List getResultSetList()
throws EngineException
EngineExceptionvoid 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 在接口中 IExtractionTaskEngineExceptionCopyright © 2008 Actuate Corp. All rights reserved.