Class VectorBinarySet
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.BinaryPlan
org.elasticsearch.xpack.esql.plan.logical.promql.operator.VectorBinaryOperator
org.elasticsearch.xpack.esql.plan.logical.promql.operator.VectorBinarySet
- All Implemented Interfaces:
NamedWriteable,Writeable,Resolvable,PromqlPlan
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.plan.logical.promql.operator.VectorBinaryOperator
VectorBinaryOperator.BinaryOp, VectorBinaryOperator.ScalarFunctionFactoryNested 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.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_LINES, TO_STRING_MAX_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionVectorBinarySet(Source source, LogicalPlan left, LogicalPlan right, VectorMatch match, VectorBinarySet.SetOp op) -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeInfo<VectorBinarySet> info()Normally, you want to use one of the staticcreatemethods to implement this.op()output()A set operator combines series from both operands, so its output schema is the union of both label sets (deduplicated by name, left operand first).replaceChildren(LogicalPlan newLeft, LogicalPlan newRight) unionOutputByName(List<? extends LogicalPlan> plans) Computes the combined output of the given plans as the union of their output attributes, deduplicated by name with the first occurrence winning.Methods inherited from class org.elasticsearch.xpack.esql.plan.logical.promql.operator.VectorBinaryOperator
binaryOp, dropMetricName, equals, expressionsResolved, getWriteableName, hashCode, match, returnType, writeToMethods inherited from class org.elasticsearch.xpack.esql.plan.logical.BinaryPlan
left, leftReferences, replaceChildren, replaceLeft, replaceRight, right, rightReferencesMethods 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, nodeString, propertiesToString, replaceChildrenSameSize, source, sourceLocation, sourceText, toString, toString, toString, transformChildren, transformChildren, transformDown, transformDown, transformDown, transformDown, transformDownSkipBranch, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUp
-
Constructor Details
-
VectorBinarySet
public VectorBinarySet(Source source, LogicalPlan left, LogicalPlan right, VectorMatch match, VectorBinarySet.SetOp op)
-
-
Method Details
-
op
-
output
A set operator combines series from both operands, so its output schema is the union of both label sets (deduplicated by name, left operand first). This differs from arithmetic/comparison operators, which require matching label sets. Onlyor(UNION) is currently translated;and/unlessare rejected by the verifier before reaching translation.- Specified by:
outputin interfacePromqlPlan- Overrides:
outputin classVectorBinaryOperator
-
unionOutputByName
Computes the combined output of the given plans as the union of their output attributes, deduplicated by name with the first occurrence winning. This is the output schema of a set operator (seeoutput()) and is also used to compute the combined output of a flattened top-levelorchain during translation. -
replaceChildren
- Specified by:
replaceChildrenin classVectorBinaryOperator
-
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.- Specified by:
infoin classNode<LogicalPlan>
-