Class TranslationAwareExpressionQuery
java.lang.Object
org.elasticsearch.xpack.esql.core.querydsl.query.Query
org.elasticsearch.xpack.esql.querydsl.query.TranslationAwareExpressionQuery
Expressions that store their own
QueryBuilder and implement
TranslationAware can use TranslationAwareExpressionQuery
to wrap their QueryBuilder, instead of using the other existing Query implementations.-
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.core.querydsl.query.Query
NO_SCORE_BOOST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryBuilderUsed internally to convert to retrieve aQueryBuilderby queries.booleanDoes the result of callingQuery.asBuilder()need the plan to serialize itself?protected StringUsed byQuery.toString()to produce a pretty string.booleanscorable()Defines whether a query should contribute to the overall score
-
Constructor Details
-
TranslationAwareExpressionQuery
-
-
Method Details
-
asBuilder
Description copied from class:QueryUsed internally to convert to retrieve aQueryBuilderby queries. -
innerToString
Description copied from class:QueryUsed byQuery.toString()to produce a pretty string.- Specified by:
innerToStringin classQuery
-
scorable
public boolean scorable()Description copied from class:QueryDefines whether a query should contribute to the overall score -
containsPlan
public boolean containsPlan()Description copied from class:QueryDoes the result of callingQuery.asBuilder()need the plan to serialize itself?- Specified by:
containsPlanin classQuery
-