Class TypeQuery.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<TypeQuery.Builder>
org.opensearch.client.opensearch._types.query_dsl.TypeQuery.Builder
- All Implemented Interfaces:
CopyableBuilder<TypeQuery.Builder,,TypeQuery> MutableBuilder<TypeQuery.Builder,,TypeQuery> ObjectBuilder<TypeQuery>
- Enclosing class:
TypeQuery
public static class TypeQuery.Builder
extends QueryBase.AbstractBuilder<TypeQuery.Builder>
implements CopyableBuilder<TypeQuery.Builder,TypeQuery>
Builder for
TypeQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTypeQuery.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected TypeQuery.Builderself()final TypeQuery.BuilderRequired - API name:valueMethods 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<TypeQuery.Builder,TypeQuery> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classQueryBase.AbstractBuilder<TypeQuery.Builder>
-
value
Required - API name:value -
build
Builds aTypeQuery.- Specified by:
buildin interfaceObjectBuilder<TypeQuery>- Throws:
NullPointerException- if some of the required fields are null.
-