hep.aida
Interface IEvaluator
-
- All Known Implementing Classes:
- Evaluator
public interface IEvaluatorUser's level interface of an IEvaluator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubleevaluateDouble()Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to.java.lang.Stringexpression()Get the expression that defined the IEvaluator.voidinitialize(ITuple ituple)Initialize the IEvaluator and associate it to an ITuple.
-
-
-
Method Detail
-
initialize
void initialize(ITuple ituple) throws java.lang.IllegalArgumentException
Initialize the IEvaluator and associate it to an ITuple.- Parameters:
ituple- The ITuple to which the IEvaluator is associated.- Throws:
java.lang.IllegalArgumentException- If the IEvaluator and the ITuple are not compatible.
-
evaluateDouble
double evaluateDouble() throws java.lang.RuntimeExceptionEvaluate the IEvaluator from the data in the current row of the ITuple it is associated to.- Returns:
- The current value of the Evaluator.
- Throws:
java.lang.RuntimeException- if the IEvaluator has not been initialized.
-
expression
java.lang.String expression()
Get the expression that defined the IEvaluator.- Returns:
- The expression.
-
-
DMelt 3.0 © DataMelt by jWork.ORG