Class ExistsQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<ExistsQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.ExistsQuery.Builder
- All Implemented Interfaces:
WithJson<ExistsQuery.Builder>
,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 ExistsQuery
build()
Builds aExistsQuery
.ExistsQuery.Builder
field(java.lang.String value)
Required - API name:field
protected ExistsQuery.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classQueryBase.AbstractBuilder<ExistsQuery.Builder>
-
build
Builds aExistsQuery
.- Specified by:
build
in interfaceObjectBuilder<ExistsQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-