Package org.jpmml.evaluator
Interface Function
-
- All Known Implementing Classes:
AbstractFunction,AggregateFunction,ArithmeticFunction,BinaryFunction,BooleanFunction,ComparisonFunction,DoubleMathFunction,EqualityFunction,LogicalFunction,MathFunction,MeanFunction,MultiaryFunction,PercentileFunction,RoundingFunction,SplitFunction,StandardDeviationFunction,StatisticalFunction,StringFunction,TernaryFunction,TrigonometricFunction,UnaryFunction,ValueFunction,ValueSetFunction
public interface FunctionA common superinterface for PMML built-in functions and Java user-defined functions.
- See Also:
FunctionRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldValueevaluate(List<FieldValue> arguments)Evaluates this function with the specified arguments.StringgetName()Gets the default name of this function.
-
-
-
Method Detail
-
getName
String getName()
Gets the default name of this function.
The default name should be unique in application scope. Currently, the JPMML library does not check or enforce this constraint in any way.
-
evaluate
FieldValue evaluate(List<FieldValue> arguments)
Evaluates this function with the specified arguments.
- Throws:
FunctionException- If the arguments do not match the formal parameters of this function.
-
-