Class WrapperQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<WrapperQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.WrapperQuery.Builder
- All Implemented Interfaces:
WithJson<WrapperQuery.Builder>
,ObjectBuilder<WrapperQuery>
- Enclosing class:
- WrapperQuery
public static class WrapperQuery.Builder extends QueryBase.AbstractBuilder<WrapperQuery.Builder> implements ObjectBuilder<WrapperQuery>
Builder for
WrapperQuery
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description WrapperQuery
build()
Builds aWrapperQuery
.WrapperQuery.Builder
query(java.lang.String value)
Required - A base64 encoded query.protected WrapperQuery.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
-
query
Required - A base64 encoded query. The binary data format can be any of JSON, YAML, CBOR or SMILE encodingsAPI name:
query
-
self
- Specified by:
self
in classQueryBase.AbstractBuilder<WrapperQuery.Builder>
-
build
Builds aWrapperQuery
.- Specified by:
build
in interfaceObjectBuilder<WrapperQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-