Class ViewUnionAll
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<LogicalPlan>
org.elasticsearch.xpack.esql.plan.QueryPlan<LogicalPlan>
org.elasticsearch.xpack.esql.plan.logical.LogicalPlan
org.elasticsearch.xpack.esql.plan.logical.Fork
org.elasticsearch.xpack.esql.plan.logical.UnionAll
org.elasticsearch.xpack.esql.plan.logical.ViewUnionAll
- All Implemented Interfaces:
NamedWriteable,Writeable,PostAnalysisPlanVerificationAware,PostOptimizationPlanVerificationAware,TelemetryAware,Resolvable,ExecutesOn,ExecutesOn.Coordinator
A
UnionAll produced by view resolution, as opposed to user-written subqueries.
This type marker allows ViewResolver to distinguish
between unions it has already processed (view-produced) and unions from the parser (subqueries)
that may still contain unresolved view references.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.plan.logical.LogicalPlan
LogicalPlan.StageNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.tree.Node
Node.NodeStringFormatNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.plan.logical.ExecutesOn
ExecutesOn.Coordinator, ExecutesOn.ExecuteLocation, ExecutesOn.RemoteNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.plan.logical.Fork
FORK_FIELD, MAX_BRANCHESFields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_LINES, TO_STRING_MAX_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionViewUnionAll(Source source, LinkedHashMap<String, LogicalPlan> children, List<Attribute> output) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()protected NodeInfo<? extends LogicalPlan> info()Normally, you want to use one of the staticcreatemethods to implement this.voidnodeString(StringBuilder sb, Node.NodeStringFormat format) Append thisNode's string representation tosb.replaceChildren(List<LogicalPlan> newChildren) replaceSubPlans(List<LogicalPlan> subPlans) replaceSubPlansAndOutput(List<LogicalPlan> subPlans, List<Attribute> output) Methods inherited from class org.elasticsearch.xpack.esql.plan.logical.UnionAll
postAnalysisPlanVerification, postOptimizationPlanVerification, refreshOutputMethods inherited from class org.elasticsearch.xpack.esql.plan.logical.Fork
expressionsResolved, getWriteableName, output, outputUnion, outputUnsupportedAttributeNames, refreshedOutput, writeToMethods inherited from class org.elasticsearch.xpack.esql.plan.logical.LogicalPlan
analyzed, childrenResolved, optimized, preAnalyzed, preOptimized, resolved, setAnalyzed, setOptimized, setPreAnalyzed, setPreOptimizedMethods inherited from class org.elasticsearch.xpack.esql.plan.QueryPlan
computeExpressions, computeReferences, expressions, forEachExpression, forEachExpression, forEachExpressionDown, forEachExpressionUp, inputSet, outputSet, references, transformExpressionsDown, transformExpressionsDown, transformExpressionsOnly, transformExpressionsOnly, transformExpressionsOnlyUp, transformExpressionsUp, transformExpressionsUpMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
allMatch, anyMatch, children, collect, collect, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, nodeString, propertiesToString, replaceChildrenSameSize, source, sourceLocation, sourceText, toString, toString, transformChildren, transformChildren, transformDown, transformDown, transformDown, transformDown, transformDownSkipBranch, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUpMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.plan.logical.ExecutesOn.Coordinator
executesOnMethods inherited from interface org.elasticsearch.xpack.esql.capabilities.TelemetryAware
telemetryLabel
-
Constructor Details
-
ViewUnionAll
public ViewUnionAll(Source source, LinkedHashMap<String, LogicalPlan> children, List<Attribute> output)
-
-
Method Details
-
replaceChildren
- Overrides:
replaceChildrenin classUnionAll
-
info
Description copied from class:NodeNormally, you want to use one of the staticcreatemethods to implement this.For
QueryPlans, it is very important that the properties contain all of the expressions and references relevant to this node, and that all the properties are used in the provided constructor; otherwise query plan transformations likeQueryPlan#transformExpressionsOnly(Function)will not have an effect. -
replaceSubPlans
- Overrides:
replaceSubPlansin classUnionAll
-
replaceSubPlansAndOutput
- Overrides:
replaceSubPlansAndOutputin classUnionAll
-
namedSubqueries
-
nodeString
Description copied from class:Node- Overrides:
nodeStringin classNode<LogicalPlan>- Parameters:
sb- target for the stringformat- configuration for rendering the string representation
-
hashCode
public int hashCode() -
equals
-