Class ParentIdQuery.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<ParentIdQuery.Builder>
org.opensearch.client.opensearch._types.query_dsl.ParentIdQuery.Builder
- All Implemented Interfaces:
CopyableBuilder<ParentIdQuery.Builder,,ParentIdQuery> MutableBuilder<ParentIdQuery.Builder,,ParentIdQuery> ObjectBuilder<ParentIdQuery>
- Enclosing class:
ParentIdQuery
public static class ParentIdQuery.Builder
extends QueryBase.AbstractBuilder<ParentIdQuery.Builder>
implements CopyableBuilder<ParentIdQuery.Builder,ParentIdQuery>
Builder for
ParentIdQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aParentIdQuery.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ParentIdQuery.BuilderAPI name:idfinal ParentIdQuery.BuilderignoreUnmapped(Boolean value) Indicates whether to ignore an unmappedtypeand not return any documents instead of an error.protected ParentIdQuery.Builderself()final ParentIdQuery.BuilderAPI name:typeMethods 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<ParentIdQuery.Builder,ParentIdQuery> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classQueryBase.AbstractBuilder<ParentIdQuery.Builder>
-
id
API name:id -
ignoreUnmapped
Indicates whether to ignore an unmappedtypeand not return any documents instead of an error.API name:
ignore_unmapped -
type
API name:type -
build
Builds aParentIdQuery.- Specified by:
buildin interfaceObjectBuilder<ParentIdQuery>- Throws:
NullPointerException- if some of the required fields are null.
-