Class FormulaData
- java.lang.Object
-
- org.pentaho.di.trans.step.BaseStepData
-
- org.pentaho.di.trans.steps.formula.FormulaData
-
- All Implemented Interfaces:
StepDataInterface
public class FormulaData extends BaseStepData implements StepDataInterface
- Since:
- 8-sep-2005
- Author:
- Matt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus
-
-
Field Summary
Fields Modifier and Type Field Description RowForumulaContext
context
org.pentaho.reporting.libraries.formula.Formula[]
formulas
org.pentaho.di.core.row.RowMetaInterface
outputRowMeta
org.pentaho.reporting.libraries.formula.parser.FormulaParser
parser
int[]
replaceIndex
static int
RETURN_TYPE_BIGDECIMAL
static int
RETURN_TYPE_BOOLEAN
static int
RETURN_TYPE_BYTE_ARRAY
static int
RETURN_TYPE_DATE
static int
RETURN_TYPE_INTEGER
static int
RETURN_TYPE_LONG
static int
RETURN_TYPE_NUMBER
static int
RETURN_TYPE_STRING
static int
RETURN_TYPE_TIMESTAMP
int[]
returnType
-
Constructor Summary
Constructors Constructor Description FormulaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pentaho.reporting.libraries.formula.Formula
createFormula(String formulaText)
-
Methods inherited from class org.pentaho.di.trans.step.BaseStepData
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, isStopped, setStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.trans.step.StepDataInterface
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, setStatus
-
-
-
-
Field Detail
-
RETURN_TYPE_STRING
public static final int RETURN_TYPE_STRING
- See Also:
- Constant Field Values
-
RETURN_TYPE_NUMBER
public static final int RETURN_TYPE_NUMBER
- See Also:
- Constant Field Values
-
RETURN_TYPE_INTEGER
public static final int RETURN_TYPE_INTEGER
- See Also:
- Constant Field Values
-
RETURN_TYPE_LONG
public static final int RETURN_TYPE_LONG
- See Also:
- Constant Field Values
-
RETURN_TYPE_DATE
public static final int RETURN_TYPE_DATE
- See Also:
- Constant Field Values
-
RETURN_TYPE_BIGDECIMAL
public static final int RETURN_TYPE_BIGDECIMAL
- See Also:
- Constant Field Values
-
RETURN_TYPE_BYTE_ARRAY
public static final int RETURN_TYPE_BYTE_ARRAY
- See Also:
- Constant Field Values
-
RETURN_TYPE_BOOLEAN
public static final int RETURN_TYPE_BOOLEAN
- See Also:
- Constant Field Values
-
RETURN_TYPE_TIMESTAMP
public static final int RETURN_TYPE_TIMESTAMP
- See Also:
- Constant Field Values
-
context
public RowForumulaContext context
-
formulas
public org.pentaho.reporting.libraries.formula.Formula[] formulas
-
parser
public org.pentaho.reporting.libraries.formula.parser.FormulaParser parser
-
outputRowMeta
public org.pentaho.di.core.row.RowMetaInterface outputRowMeta
-
returnType
public int[] returnType
-
replaceIndex
public int[] replaceIndex
-
-
Method Detail
-
createFormula
public org.pentaho.reporting.libraries.formula.Formula createFormula(String formulaText) throws org.pentaho.reporting.libraries.formula.EvaluationException, org.pentaho.reporting.libraries.formula.parser.ParseException
- Throws:
org.pentaho.reporting.libraries.formula.EvaluationException
org.pentaho.reporting.libraries.formula.parser.ParseException
-
-