Class InsensitiveEquals
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.expression.predicate.operator.comparison.InsensitiveBinaryComparison
org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.InsensitiveEquals
- All Implemented Interfaces:
NamedWriteable,Writeable,TranslationAware,TranslationAware.SingleValueTranslationAware,Resolvable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.capabilities.TranslationAware
TranslationAware.SingleValueTranslationAwareNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasQuery(TranslatorHandler handler) Translates the implementing expression into a Query.static org.apache.lucene.util.automaton.Automatonautomaton(org.apache.lucene.util.BytesRef val) fold(FoldContext ctx) protected NodeInfo<InsensitiveEquals> info()protected InsensitiveEqualsreplaceChildren(Expression newLeft, Expression newRight) protected Expression.TypeResolutionReturns the field that only supports single-value semantics.symbol()booleantranslatable(LucenePushdownPredicates pushdownPredicates) Indicates whether the expression can be translated or not.Methods inherited from class org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.InsensitiveBinaryComparison
dataTypeMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.scalar.BinaryScalarFunction
foldable, left, replaceChildren, right, writeToMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.Function
arguments, equals, functionName, hashCode, nodeString, nullableMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, canonicalize, 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, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformDown, transformDown, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp
-
Field Details
-
ENTRY
-
-
Constructor Details
-
InsensitiveEquals
-
-
Method Details
-
getWriteableName
-
info
- Specified by:
infoin classNode<Expression>
-
replaceChildren
- Specified by:
replaceChildrenin classBinaryScalarFunction
-
symbol
-
resolveType
- Overrides:
resolveTypein classExpression
-
automaton
public static org.apache.lucene.util.automaton.Automaton automaton(org.apache.lucene.util.BytesRef val) -
fold
- Overrides:
foldin classExpression
-
translatable
Description copied from interface:TranslationAwareIndicates whether the expression can be translated or not. Usually checks whether the expression arguments are actual fields that exist in Lucene. -
asQuery
Description copied from interface:TranslationAwareTranslates the implementing expression into a Query. If during translation a child needs to be translated first, the handler needs to be used even if the child implements this interface as well. This is to ensure that the child is wrapped in a SingleValueQuery if necessary.So use this:
Query childQuery = handler.asQuery(child);and not this:
Query childQuery = child.asQuery(handler); -
singleValueField
Description copied from interface:TranslationAware.SingleValueTranslationAwareReturns the field that only supports single-value semantics.
-