public class ParameterExpressionRuntime extends Object implements ExpressionRuntime
Constructor and Description |
---|
ParameterExpressionRuntime(ParameterContext parameterContext,
DataRow dataRow) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration()
Returns the report configuration that was used to initiate this processing run.
|
int |
getCurrentDataItem()
Returns the row number of the raw datasource that is currently accessed.
|
int |
getCurrentGroup() |
int |
getCurrentRow()
Returns the number of the row in the tablemodel that is currently being processed.
|
TableModel |
getData()
Grants access to the tablemodel was granted using report properties, now direct.
|
DataFactory |
getDataFactory() |
DataRow |
getDataRow()
Returns the current data-row.
|
DataSchema |
getDataSchema() |
String |
getExportDescriptor()
Returns the current export descriptor as returned by the OutputProcessorMetaData object.
|
int |
getGroupStartRow(int groupIndex) |
int |
getGroupStartRow(String groupName) |
ProcessingContext |
getProcessingContext()
Returns the current processing context.
|
ResourceBundleFactory |
getResourceBundleFactory()
Returns the resource-bundle factory of current processing context.
|
boolean |
isCrosstabActive()
A flag indicating that a crosstab is actively processed.
|
boolean |
isStructuralComplexReport()
A flag indicating that this report contains crosstabs.
|
public ParameterExpressionRuntime(ParameterContext parameterContext, DataRow dataRow) throws ReportProcessingException
ReportProcessingException
public DataFactory getDataFactory()
getDataFactory
in interface ExpressionRuntime
public DataRow getDataRow()
getDataRow
in interface ExpressionRuntime
public DataSchema getDataSchema()
getDataSchema
in interface ExpressionRuntime
public Configuration getConfiguration()
getConfiguration
in interface ExpressionRuntime
public ResourceBundleFactory getResourceBundleFactory()
getResourceBundleFactory
in interface ExpressionRuntime
public TableModel getData()
getData
in interface ExpressionRuntime
public int getCurrentRow()
getCurrentRow
in interface ExpressionRuntime
public int getCurrentDataItem()
ExpressionRuntime
getCurrentDataItem
in interface ExpressionRuntime
public int getCurrentGroup()
getCurrentGroup
in interface ExpressionRuntime
public int getGroupStartRow(String groupName)
getGroupStartRow
in interface ExpressionRuntime
public int getGroupStartRow(int groupIndex)
getGroupStartRow
in interface ExpressionRuntime
public String getExportDescriptor()
getExportDescriptor
in interface ExpressionRuntime
public ProcessingContext getProcessingContext()
getProcessingContext
in interface ExpressionRuntime
public boolean isStructuralComplexReport()
ExpressionRuntime
isStructuralComplexReport
in interface ExpressionRuntime
public boolean isCrosstabActive()
ExpressionRuntime
isCrosstabActive
in interface ExpressionRuntime
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.