org.eclipse.birt.report.engine.api
Interface IDataPreviewTask

All Superinterfaces:
IEngineTask

public interface IDataPreviewTask
extends IEngineTask


Method Summary
 org.eclipse.birt.data.engine.api.IQueryResults executeDataSet(java.lang.String dataSetName, int maxRows, java.util.HashMap bindings)
          using the binding parameters to execute the data set.
 
Methods inherited from interface org.eclipse.birt.report.engine.api.IEngineTask
addScriptableJavaObject, close, getAppContext, getEngine, getID, getLocale, getParameterValue, getParameterValues, getReportRunnable, setAppContext, setLocale, setParameterValue, setParameterValues, validateParameters
 

Method Detail

executeDataSet

public org.eclipse.birt.data.engine.api.IQueryResults executeDataSet(java.lang.String dataSetName,
                                                                     int maxRows,
                                                                     java.util.HashMap bindings)
using the binding parameters to execute the data set. the caller must close the result before close the task.

Parameters:
dataSetName - dataSet to be executed.
maxRows - the max rows in the return results.
bindings - parameter bindings, each bind contains two strings one for the parameter value, one for the value expressions. (Not the value object).
Returns:
result of the query.


Copyright © 2005 Actuate Corp. All rights reserved.