public class RowForumulaContext extends Object implements org.pentaho.reporting.libraries.formula.FormulaContext
Constructor and Description |
---|
RowForumulaContext(RowMetaInterface row) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.reporting.libraries.base.config.Configuration |
getConfiguration() |
Date |
getCurrentDate() |
org.pentaho.reporting.libraries.formula.function.FunctionRegistry |
getFunctionRegistry() |
org.pentaho.reporting.libraries.formula.LocalizationContext |
getLocalizationContext() |
org.pentaho.reporting.libraries.formula.operators.OperatorFactory |
getOperatorFactory() |
static Object |
getPrimitive(ValueMetaInterface valueMeta,
Object valueData) |
static Class<?> |
getPrimitiveClass(int valueType) |
Object[] |
getRowData() |
RowMetaInterface |
getRowMeta() |
org.pentaho.reporting.libraries.formula.typing.TypeRegistry |
getTypeRegistry() |
boolean |
isReferenceDirty(Object name) |
Object |
resolveReference(Object name)
We return the content of a Value with the given name.
|
org.pentaho.reporting.libraries.formula.typing.Type |
resolveReferenceType(Object name) |
void |
setRowData(Object[] rowData) |
void |
setRowMeta(RowMetaInterface rowMeta) |
public RowForumulaContext(RowMetaInterface row)
public org.pentaho.reporting.libraries.formula.typing.Type resolveReferenceType(Object name)
resolveReferenceType
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public Object resolveReference(Object name) throws org.pentaho.reporting.libraries.formula.EvaluationException
resolveReference
in interface org.pentaho.reporting.libraries.formula.FormulaContext
org.pentaho.reporting.libraries.formula.EvaluationException
org.jfree.formula.FormulaContext#resolveReference(java.lang.Object)
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
getConfiguration
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public org.pentaho.reporting.libraries.formula.function.FunctionRegistry getFunctionRegistry()
getFunctionRegistry
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public org.pentaho.reporting.libraries.formula.LocalizationContext getLocalizationContext()
getLocalizationContext
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public org.pentaho.reporting.libraries.formula.operators.OperatorFactory getOperatorFactory()
getOperatorFactory
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public org.pentaho.reporting.libraries.formula.typing.TypeRegistry getTypeRegistry()
getTypeRegistry
in interface org.pentaho.reporting.libraries.formula.FormulaContext
public boolean isReferenceDirty(Object name) throws org.pentaho.reporting.libraries.formula.EvaluationException
isReferenceDirty
in interface org.pentaho.reporting.libraries.formula.FormulaContext
org.pentaho.reporting.libraries.formula.EvaluationException
public RowMetaInterface getRowMeta()
public void setRowMeta(RowMetaInterface rowMeta)
rowMeta
- the row to setpublic void setRowData(Object[] rowData)
rowData
- the new row of data to injectpublic Object[] getRowData()
public static Object getPrimitive(ValueMetaInterface valueMeta, Object valueData) throws KettleValueException
KettleValueException
public static Class<?> getPrimitiveClass(int valueType)
public Date getCurrentDate()
getCurrentDate
in interface org.pentaho.reporting.libraries.formula.FormulaContext
Copyright © 2018 Hitachi Vantara. All rights reserved.