Class Equals
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<Expression>
org.elasticsearch.xpack.esql.core.expression.Expression
org.elasticsearch.xpack.esql.core.expression.function.Function
org.elasticsearch.xpack.esql.core.expression.function.scalar.ScalarFunction
org.elasticsearch.xpack.esql.core.expression.function.scalar.BinaryScalarFunction
org.elasticsearch.xpack.esql.core.expression.predicate.BinaryPredicate<Object,Object,Boolean,BinaryComparisonOperation>
org.elasticsearch.xpack.esql.core.expression.predicate.BinaryOperator<Object,Object,Boolean,BinaryComparisonOperation>
org.elasticsearch.xpack.esql.core.expression.predicate.operator.comparison.BinaryComparison
org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison
org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals
- All Implemented Interfaces:
NamedWriteable,Writeable,TranslationAware,TranslationAware.SingleValueTranslationAware,Resolvable,Negatable<EsqlBinaryComparison>,EvaluatorMapper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison
EsqlBinaryComparison.BinaryComparisonOperation, EsqlBinaryComparison.BinaryOperatorConstructorNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.evaluator.mapper.EvaluatorMapper
EvaluatorMapper.ToEvaluatorNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.capabilities.TranslationAware
TranslationAware.FinishedTranslatable, TranslationAware.SingleValueTranslationAware, TranslationAware.TranslatableNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.elasticsearch.xpack.esql.core.expression.function.scalar.ScalarFunction
MAX_BYTES_REF_RESULT_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionEquals(Source source, Expression left, Expression right) Equals(Source source, Expression left, Expression right, ZoneId zoneId) -
Method Summary
Modifier and TypeMethodDescriptionasQuery(LucenePushdownPredicates pushdownPredicates, TranslatorHandler handler) This method is responsible for pushing the ES|QL Binary Comparison operators into Lucene.info()negate()protected EqualsreplaceChildren(Expression newLeft, Expression newRight) reverse()translatable(LucenePushdownPredicates pushdownPredicates) Can this instance be translated or not? Usually checks whether the expression arguments are actual fields that exist in Lucene.Methods inherited from class org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison
checkCompatibility, fold, formatIncompatibleTypesMessage, getFunctionType, readFrom, resolveInputType, resolveType, singleValueField, toEvaluator, writeToMethods inherited from class org.elasticsearch.xpack.esql.core.expression.predicate.operator.comparison.BinaryComparison
compare, dataType, zoneIdMethods inherited from class org.elasticsearch.xpack.esql.core.expression.predicate.BinaryOperator
canonicalize, collectCommutative, isCommutativeMethods inherited from class org.elasticsearch.xpack.esql.core.expression.predicate.BinaryPredicate
equals, function, hashCode, nodeString, symbolMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.scalar.BinaryScalarFunction
foldable, left, replaceChildren, rightMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.Function
arguments, functionName, nullableMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, childrenResolved, propertiesToString, references, resolved, semanticEquals, semanticHash, toString, typeResolvedMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
anyMatch, children, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformDown, transformDown, transformDown, 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.evaluator.mapper.EvaluatorMapper
foldMethods inherited from interface org.elasticsearch.xpack.esql.capabilities.TranslationAware
asLuceneQuery
-
Field Details
-
ENTRY
-
-
Constructor Details
-
Equals
-
Equals
-
-
Method Details
-
translatable
Description copied from interface:TranslationAwareCan this instance be translated or not? Usually checks whether the expression arguments are actual fields that exist in Lucene. SeeTranslationAware.Translatablefor precisely what can be signaled from this method.- Specified by:
translatablein interfaceTranslationAware- Overrides:
translatablein classEsqlBinaryComparison
-
asQuery
Description copied from class:EsqlBinaryComparisonThis method is responsible for pushing the ES|QL Binary Comparison operators into Lucene. It covers: In general, we are able to push these down when one of the arguments is a constant (i.e. is foldable). This class assumes that an earlier pass through the query has rearranged things so that the foldable value will be the right hand side input to the operation.- Specified by:
asQueryin interfaceTranslationAware- Overrides:
asQueryin classEsqlBinaryComparison
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
info
- Specified by:
infoin classNode<Expression>
-
replaceChildren
- Specified by:
replaceChildrenin classBinaryScalarFunction
-
swapLeftAndRight
- Specified by:
swapLeftAndRightin classBinaryOperator<Object,Object, Boolean, BinaryComparisonOperation>
-
reverse
- Specified by:
reversein classBinaryComparison
-
negate
- Specified by:
negatein interfaceNegatable<EsqlBinaryComparison>
-