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