Class QueryString
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.expression.function.fulltext.FullTextFunction
org.elasticsearch.xpack.esql.expression.function.fulltext.QueryString
- All Implemented Interfaces:
NamedWriteable,Writeable,PostAnalysisPlanVerificationAware,TranslationAware,Resolvable,EvaluatorMapper,OptionalArgument,ExpressionScoreMapper
Full text function that performs a
QueryStringQuery .-
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.evaluator.mapper.EvaluatorMapper
EvaluatorMapper.ToEvaluatorNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.score.ExpressionScoreMapper
ExpressionScoreMapper.ToScorerNested 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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryString(Source source, Expression queryString, Expression options) QueryString(Source source, Expression queryString, Expression options, QueryBuilder queryBuilder) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()protected NodeInfo<? extends Expression> info()options()replaceChildren(List<Expression> newChildren) replaceQueryBuilder(QueryBuilder queryBuilder) protected Expression.TypeResolutionResolves the type for the function parameters, as part of the type resolution for the functionprotected Querytranslate(TranslatorHandler handler) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.esql.expression.function.fulltext.FullTextFunction
asQuery, dataType, fieldAsFieldAttribute, fieldVerifier, functionType, getNameFromFieldAttribute, nullable, populateOptionsMap, postAnalysisPlanVerification, query, queryAsObject, queryBuilder, resolveOptions, resolveQuery, resolveType, toEvaluator, toScorer, translatableMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.Function
arguments, nodeStringMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, canonicalize, childrenResolved, fold, foldable, 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, 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
-
ALLOWED_OPTIONS
-
ENTRY
-
QUERY_DATA_TYPES
-
-
Constructor Details
-
QueryString
-
QueryString
public QueryString(Source source, Expression queryString, Expression options, QueryBuilder queryBuilder)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
functionName
- Overrides:
functionNamein classFunction
-
options
-
resolvedOptions
- Overrides:
resolvedOptionsin classFullTextFunction
-
resolveParams
Description copied from class:FullTextFunctionResolves the type for the function parameters, as part of the type resolution for the function- Overrides:
resolveParamsin classFullTextFunction- Returns:
- type resolution for the function parameters
-
replaceChildren
- Specified by:
replaceChildrenin classNode<Expression>
-
info
- Specified by:
infoin classNode<Expression>
-
translate
- Specified by:
translatein classFullTextFunction
-
replaceQueryBuilder
- Specified by:
replaceQueryBuilderin classFullTextFunction
-
equals
- Overrides:
equalsin classFullTextFunction
-
hashCode
public int hashCode()- Overrides:
hashCodein classFullTextFunction
-