Class Analyzer
java.lang.Object
org.elasticsearch.xpack.esql.rule.RuleExecutor<LogicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRuleExecutor<LogicalPlan,AnalyzerContext>
org.elasticsearch.xpack.esql.analysis.Analyzer
This class is part of the planner. Resolves references (such as variable and index names) and performs implicit casting.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.rule.RuleExecutor
RuleExecutor.Batch<TreeType extends Node<TreeType>>, RuleExecutor.ExecutionInfo, RuleExecutor.Limiter, RuleExecutor.Transformation -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyze(LogicalPlan plan) protected Iterable<RuleExecutor.Batch<LogicalPlan>> batches()mappingAsAttributes(Source source, Map<String, EsField> mapping) Specific flattening method, different from the default EsRelation that: 1.verify(LogicalPlan plan, BitSet partialMetrics) Methods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRuleExecutor
context, transformMethods inherited from class org.elasticsearch.xpack.esql.rule.RuleExecutor
execute, executeWithInfo
-
Field Details
-
NO_FIELDS
-
-
Constructor Details
-
Analyzer
-
-
Method Details
-
analyze
-
verify
-
batches
- Specified by:
batchesin classRuleExecutor<LogicalPlan>
-
mappingAsAttributes
Specific flattening method, different from the default EsRelation that: 1. takes care of data type widening (for certain types) 2. drops the object and keyword hierarchyPublic for testing.
-