Class ExistsQuery.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- 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 forExistsQuery.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistsQuerybuild()Builds aExistsQuery.ExistsQuery.Builderfield(java.lang.String value)Required - API name:fieldprotected ExistsQuery.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
field
public final ExistsQuery.Builder field(java.lang.String value)
Required - API name:field
-
self
protected ExistsQuery.Builder self()
- Specified by:
selfin classQueryBase.AbstractBuilder<ExistsQuery.Builder>
-
build
public ExistsQuery build()
Builds aExistsQuery.- Specified by:
buildin interfaceObjectBuilder<ExistsQuery>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-