Class RowForumulaContext
java.lang.Object
org.pentaho.di.trans.steps.formula.RowForumulaContext
- All Implemented Interfaces:
 org.pentaho.reporting.libraries.formula.FormulaContext
public class RowForumulaContext
extends Object
implements org.pentaho.reporting.libraries.formula.FormulaContext
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.reporting.libraries.base.config.Configurationorg.pentaho.reporting.libraries.formula.function.FunctionRegistryorg.pentaho.reporting.libraries.formula.LocalizationContextorg.pentaho.reporting.libraries.formula.operators.OperatorFactorystatic ObjectgetPrimitive(org.pentaho.di.core.row.ValueMetaInterface valueMeta, Object valueData) static Class<?>getPrimitiveClass(int valueType) Object[]org.pentaho.di.core.row.RowMetaInterfaceorg.pentaho.reporting.libraries.formula.typing.TypeRegistrybooleanisReferenceDirty(Object name) resolveReference(Object name) We return the content of a Value with the given name.org.pentaho.reporting.libraries.formula.typing.TyperesolveReferenceType(Object name) voidsetRowData(Object[] rowData) voidsetRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta)  
- 
Constructor Details
- 
RowForumulaContext
public RowForumulaContext(org.pentaho.di.core.row.RowMetaInterface row)  
 - 
 - 
Method Details
- 
resolveReferenceType
- Specified by:
 resolveReferenceTypein interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
resolveReference
public Object resolveReference(Object name) throws org.pentaho.reporting.libraries.formula.EvaluationException We return the content of a Value with the given name. We cache the position of the field indexes.- Specified by:
 resolveReferencein interfaceorg.pentaho.reporting.libraries.formula.FormulaContext- Throws:
 org.pentaho.reporting.libraries.formula.EvaluationException- See Also:
 - 
org.jfree.formula.FormulaContext#resolveReference(java.lang.Object)
 
 - 
getConfiguration
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()- Specified by:
 getConfigurationin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
getFunctionRegistry
public org.pentaho.reporting.libraries.formula.function.FunctionRegistry getFunctionRegistry()- Specified by:
 getFunctionRegistryin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
getLocalizationContext
public org.pentaho.reporting.libraries.formula.LocalizationContext getLocalizationContext()- Specified by:
 getLocalizationContextin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
getOperatorFactory
public org.pentaho.reporting.libraries.formula.operators.OperatorFactory getOperatorFactory()- Specified by:
 getOperatorFactoryin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
getTypeRegistry
public org.pentaho.reporting.libraries.formula.typing.TypeRegistry getTypeRegistry()- Specified by:
 getTypeRegistryin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 - 
isReferenceDirty
public boolean isReferenceDirty(Object name) throws org.pentaho.reporting.libraries.formula.EvaluationException - Specified by:
 isReferenceDirtyin interfaceorg.pentaho.reporting.libraries.formula.FormulaContext- Throws:
 org.pentaho.reporting.libraries.formula.EvaluationException
 - 
getRowMeta
public org.pentaho.di.core.row.RowMetaInterface getRowMeta()- Returns:
 - the row
 
 - 
setRowMeta
public void setRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta) - Parameters:
 rowMeta- the row to set
 - 
setRowData
- Parameters:
 rowData- the new row of data to inject
 - 
getRowData
- Returns:
 - the current row of data
 
 - 
getPrimitive
public static Object getPrimitive(org.pentaho.di.core.row.ValueMetaInterface valueMeta, Object valueData) throws org.pentaho.di.core.exception.KettleValueException - Throws:
 org.pentaho.di.core.exception.KettleValueException
 - 
getPrimitiveClass
 - 
getCurrentDate
- Specified by:
 getCurrentDatein interfaceorg.pentaho.reporting.libraries.formula.FormulaContext
 
 -