Class ExistsQuery.Builder
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<ExistsQuery.Builder>
org.opensearch.client.opensearch._types.query_dsl.ExistsQuery.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsQuery>
- Enclosing class:
- ExistsQuery
public static class ExistsQuery.Builder extends QueryBase.AbstractBuilder<ExistsQuery.Builder> implements ObjectBuilder<ExistsQuery>
Builder for
ExistsQuery.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsQuerybuild()Builds aExistsQuery.ExistsQuery.Builderfield(java.lang.String value)API name:fieldprotected ExistsQuery.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, name
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
API name:field -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<ExistsQuery.Builder>
-
build
Builds aExistsQuery.- Specified by:
buildin interfaceObjectBuilder<ExistsQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-