Class GreaterThan
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.GreaterThan
- 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_SIZEFields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionGreaterThan(Source source, Expression left, Expression right) GreaterThan(Source source, Expression left, Expression right, ZoneId zoneId) -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeInfo<GreaterThan> info()Normally, you want to use one of the staticcreatemethods to implement this.negate()protected GreaterThanreplaceChildren(Expression newLeft, Expression newRight) reverse()Reverses the direction of this comparison on the comparison axis.Methods inherited from class org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison
asQuery, checkCompatibility, fold, formatIncompatibleTypesMessage, getFunctionType, readFrom, resolveInputType, resolveType, singleValueField, toEvaluator, translatable, 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, collect, 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
-
GreaterThan
-
GreaterThan
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
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<Expression>
-
replaceChildren
- Specified by:
replaceChildrenin classBinaryScalarFunction
-
swapLeftAndRight
- Specified by:
swapLeftAndRightin classBinaryOperator<Object,Object, Boolean, BinaryComparisonOperation>
-
negate
- Specified by:
negatein interfaceNegatable<EsqlBinaryComparison>
-
reverse
Description copied from class:BinaryComparisonReverses the direction of this comparison on the comparison axis. Some operations like Greater/LessThan/OrEqual will behave as if the operands of a numerical comparison get multiplied with a negative number. Others like Not/Equal can be immutable to this operation.- Specified by:
reversein classBinaryComparison
-