Class WrapperQuery.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<WrapperQuery.Builder>
org.opensearch.client.opensearch._types.query_dsl.WrapperQuery.Builder
- All Implemented Interfaces:
CopyableBuilder<WrapperQuery.Builder,,WrapperQuery> MutableBuilder<WrapperQuery.Builder,,WrapperQuery> ObjectBuilder<WrapperQuery>
- Enclosing class:
WrapperQuery
public static class WrapperQuery.Builder
extends QueryBase.AbstractBuilder<WrapperQuery.Builder>
implements CopyableBuilder<WrapperQuery.Builder,WrapperQuery>
Builder for
WrapperQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aWrapperQuery.copy()Create a new builderCopyableBuilderthat is a copy of this one.final WrapperQuery.BuilderRequired - A base64 encoded query.protected WrapperQuery.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<WrapperQuery.Builder,WrapperQuery> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classQueryBase.AbstractBuilder<WrapperQuery.Builder>
-
query
Required - A base64 encoded query. The binary data format can be any of JSON, YAML, CBOR or SMILE encodingsAPI name:
query -
build
Builds aWrapperQuery.- Specified by:
buildin interfaceObjectBuilder<WrapperQuery>- Throws:
NullPointerException- if some of the required fields are null.
-