Class ExistsQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<ExistsQuery.Builder>
co.elastic.clients.elasticsearch._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.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsQuerybuild()Builds aExistsQuery.ExistsQuery.Builderfield(java.lang.String value)Required - API name:fieldprotected ExistsQuery.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - 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.
-