public class JRFillDatasetRun extends java.lang.Object implements JRDatasetRun
| Modifier and Type | Field and Description |
|---|---|
protected JRExpression |
connectionExpression |
protected JRFillDataset |
dataset |
protected JRExpression |
dataSourceExpression |
protected JRBaseFiller |
filler |
protected JRDatasetParameter[] |
parameters |
protected JRExpression |
parametersMapExpression |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillDatasetRun(JRBaseFiller filler,
JRDatasetRun datasetRun,
JRFillDataset dataset) |
|
JRFillDatasetRun(JRBaseFiller filler,
JRDatasetRun datasetRun,
JRFillObjectFactory factory)
Construct an instance for a dataset run.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advanceDataset() |
protected void |
checkInterrupted() |
java.lang.Object |
clone() |
protected void |
copyConnectionParameter(java.util.Map<java.lang.String,java.lang.Object> parameterValues) |
protected void |
detail() |
void |
evaluate(JRFillElementDataset elementDataset,
byte evaluation)
Instantiates and iterates the sub dataset for a chart dataset evaluation.
|
JRExpression |
getConnectionExpression()
Returns the DB connection expression.
|
protected JRFillDataset |
getDataset() |
java.lang.String |
getDatasetName()
Returns the sub dataset name.
|
JRExpression |
getDataSourceExpression()
Returns the data source expression.
|
JRDatasetParameter[] |
getParameters()
Returns the list of parameter values.
|
JRExpression |
getParametersMapExpression()
Returns the parameters map expression.
|
protected void |
group() |
protected void |
init() |
protected void |
iterate() |
protected final JRBaseFiller filler
protected final JRFillDataset dataset
protected JRExpression parametersMapExpression
protected JRDatasetParameter[] parameters
protected JRExpression connectionExpression
protected JRExpression dataSourceExpression
public JRFillDatasetRun(JRBaseFiller filler, JRDatasetRun datasetRun, JRFillObjectFactory factory)
filler - the fillerdatasetRun - the dataset runfactory - the fill object factoryprotected JRFillDatasetRun(JRBaseFiller filler, JRDatasetRun datasetRun, JRFillDataset dataset)
public void evaluate(JRFillElementDataset elementDataset, byte evaluation) throws JRException
elementDataset - the chart datasetevaluation - the evaluation typeJRExceptionprotected void copyConnectionParameter(java.util.Map<java.lang.String,java.lang.Object> parameterValues)
protected void iterate()
throws JRException
JRExceptionprotected boolean advanceDataset()
throws JRException
JRExceptionprotected void checkInterrupted()
protected void group()
throws JRException,
JRScriptletException
JRExceptionJRScriptletExceptionprotected void init()
throws JRScriptletException,
JRException
JRScriptletExceptionJRExceptionprotected void detail()
throws JRScriptletException,
JRException
JRScriptletExceptionJRExceptionpublic java.lang.String getDatasetName()
JRDatasetRungetDatasetName in interface JRDatasetRunpublic JRExpression getParametersMapExpression()
JRDatasetRunThe result of this expression is used as the parameters map when instantiating the dataset.
getParametersMapExpression in interface JRDatasetRunpublic JRDatasetParameter[] getParameters()
JRDatasetRungetParameters in interface JRDatasetRunpublic JRExpression getConnectionExpression()
JRDatasetRunThe result of this expression is used as the DB connection when instantiating the dataset.
getConnectionExpression in interface JRDatasetRunpublic JRExpression getDataSourceExpression()
JRDatasetRunThe result of this expression is used as the data source when instantiating the dataset.
getDataSourceExpression in interface JRDatasetRunprotected JRFillDataset getDataset()
public java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com