Package org.elasticsearch.xpack.esql.optimizer.rules.logical.promql
package org.elasticsearch.xpack.esql.optimizer.rules.logical.promql
-
ClassDescriptionUtility class for analyzing Lucene Automaton patterns to extract optimization opportunities.Represents a pattern fragment that can be optimized.The label-grouping fragment of the PromQL -> ESQL syntax-directed translation.The inherited attribute: the scope a subtree must preserve, threaded down the aggregate chain.The target representation produced by
PromqlAttributesTranslationContext.SynthesizedAttributes.translateLeaf(java.util.List<org.elasticsearch.xpack.esql.core.expression.Attribute>)/PromqlAttributesTranslationContext.SynthesizedAttributes.translate(java.util.List<org.elasticsearch.xpack.esql.core.expression.Attribute>).The synthesized attribute: the labels a subtree exposes, folded up the aggregate chain.Translates PromQL logical plan into ESQL plan.Populates aTimeSeriesCollapsethat wraps aPromqlCommandwith the dimensions and bounds extracted from the inner PromqlCommand.