Module org.elasticsearch.compute
Interface EvalOperator.ExpressionEvaluator.Factory
- All Known Implementing Classes:
LuceneQueryExpressionEvaluator.Factory
- Enclosing interface:
EvalOperator.ExpressionEvaluator
public static interface EvalOperator.ExpressionEvaluator.Factory
A Factory for creating ExpressionEvaluators. This must
be thread safe.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleantrueif it is safe and fast to evaluate this expression eagerly inEvalOperator.ExpressionEvaluators that need to be lazy, likeCASE.get(DriverContext context)
-
Method Details
-
get
-
eagerEvalSafeInLazy
default boolean eagerEvalSafeInLazy()trueif it is safe and fast to evaluate this expression eagerly inEvalOperator.ExpressionEvaluators that need to be lazy, likeCASE. This defaults tofalse, but expressions that evaluate quickly and can not produce warnings may override this totrueto get a significant speed-up inCASE-like operations.
-