Skip to content

Commit 5df79d4

Browse files
committed
Added some comments to EvalMapper.toEvaluator
1 parent 1035871 commit 5df79d4

File tree

1 file changed

+8
-0
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/evaluator

1 file changed

+8
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/evaluator/EvalMapper.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ public static ExpressionEvaluator.Factory toEvaluator(FoldContext foldCtx, Expre
5656
}
5757

5858
@SuppressWarnings({ "rawtypes", "unchecked" })
59+
/**
60+
* Provides an ExpressionEvaluator factory to evaluate an expression.
61+
*
62+
* @param foldCtx the fold context for folding expressions
63+
* @param exp the expression to generate an evaluator for
64+
* @param layout the mapping from attributes to channels
65+
* @param shardContexts the shard contexts, needed to generate queries for expressions that couldn't be pushed down to Lucene
66+
*/
5967
public static ExpressionEvaluator.Factory toEvaluator(
6068
FoldContext foldCtx,
6169
Expression exp,

0 commit comments

Comments
 (0)