Package org.elasticsearch.compute.ann
Annotation Interface Evaluator
Implement an evaluator from a static
process method. The generated
evaluator provides each argument in one of three ways:
- If the argument isn't annotated or an array then it is considered to be a sub-evaluator and the generated Evaluator will take an Evaluator for this on construction and call it for each position.
- If the argument isn't annotated but is an array then it is considered to be an array of evaluators and the generated Evaluator will take an array of Evaluators on construction and evaluate each of them for each position.
- If parameter has the
Fixedannotation then it must be provided at construction time and is passed unchanged to the process method.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionExtra part of the name of the evaluator.Exceptions thrown by the process method to catch and convert into a warning and turn into a null value.
-
Element Details
-
extraName
String extraNameExtra part of the name of the evaluator. Use for disambiguating when there are multiple ways to evaluate a function.- Default:
""
-
warnExceptions
Exceptions thrown by the process method to catch and convert into a warning and turn into a null value.- Default:
{}
-