Class ExpressionQuery
java.lang.Object
org.elasticsearch.xpack.esql.core.querydsl.query.Query
org.elasticsearch.xpack.esql.io.stream.ExpressionQuery
Implements an Expression query, which matches documents based on a given expression.
-
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.core.querydsl.query.Query
NO_SCORE_BOOST -
Constructor Summary
ConstructorsConstructorDescriptionExpressionQuery(Source source, String targetFieldName, Expression expression) -
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?booleanfield()inthashCode()protected StringUsed byQuery.toString()to produce a pretty string.
-
Constructor Details
-
ExpressionQuery
-
-
Method Details
-
field
-
asBuilder
Description copied from class:QueryUsed internally to convert to retrieve aQueryBuilderby queries. -
hashCode
public int hashCode() -
equals
-
innerToString
Description copied from class:QueryUsed byQuery.toString()to produce a pretty string.- Specified by:
innerToStringin classQuery
-
containsPlan
public boolean containsPlan()Description copied from class:QueryDoes the result of callingQuery.asBuilder()need the plan to serialize itself?- Specified by:
containsPlanin classQuery
-