Class VectorBinaryOperator
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
- All Implemented Interfaces:
NamedWriteable,Writeable,Resolvable,PromqlPlan
- Direct Known Subclasses:
VectorBinaryArithmetic,VectorBinaryComparison,VectorBinarySet
public abstract sealed class VectorBinaryOperator
extends BinaryPlan
implements PromqlPlan
permits VectorBinarySet, VectorBinaryComparison, VectorBinaryArithmetic
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceUnderlying binary operation (e.g.static interfaceNested 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
ConstructorsModifierConstructorDescriptionprotectedVectorBinaryOperator(Source source, LogicalPlan left, LogicalPlan right, VectorMatch match, boolean dropMetricName, VectorBinaryOperator.BinaryOp binaryOp) -
Method Summary
Modifier and TypeMethodDescriptionbinaryOp()booleanbooleanbooleaninthashCode()match()output()The ordered list of attributes (i.e.abstract VectorBinaryOperatorreplaceChildren(LogicalPlan newLeft, LogicalPlan newRight) The PromQL return type of this plan node.voidwriteTo(StreamOutput out) Methods 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, info, nodeName, nodeProperties, nodeString, nodeString, propertiesToString, replaceChildrenSameSize, source, sourceLocation, sourceText, toString, toString, transformChildren, transformChildren, transformDown, transformDown, transformDown, transformDown, transformDownSkipBranch, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUp
-
Constructor Details
-
VectorBinaryOperator
protected VectorBinaryOperator(Source source, LogicalPlan left, LogicalPlan right, VectorMatch match, boolean dropMetricName, VectorBinaryOperator.BinaryOp binaryOp)
-
-
Method Details
-
match
-
dropMetricName
public boolean dropMetricName() -
binaryOp
-
output
Description copied from class:QueryPlanThe ordered list of attributes (i.e. columns) this plan produces when executed. Must be called only on resolved plans, otherwise may throw an exception or return wrong results.- Specified by:
outputin interfacePromqlPlan- Specified by:
outputin classQueryPlan<LogicalPlan>
-
replaceChildren
- Specified by:
replaceChildrenin classBinaryPlan
-
expressionsResolved
public boolean expressionsResolved()- Specified by:
expressionsResolvedin classLogicalPlan
-
equals
- Overrides:
equalsin classBinaryPlan
-
hashCode
public int hashCode()- Overrides:
hashCodein classBinaryPlan
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
returnType
Description copied from interface:PromqlPlanThe PromQL return type of this plan node.- Specified by:
returnTypein interfacePromqlPlan
-