Class NestedQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.NestedQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<NestedQuery.Builder,NestedQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NestedQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<NestedQuery.Builder,NestedQuery>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NestedQuery> Json deserializer forNestedQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.static NestedQuery.Builderbuilder()booleaninthashCode()final BooleanIndicates whether to ignore an unmapped path and not return any documents instead of an error.final InnerHitsAPI name:inner_hitsstatic NestedQueryfinal Stringpath()Required - API name:pathfinal Queryquery()Required - API name:queryfinal ChildScoreModeAPI name:score_modeprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
toQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forNestedQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
ignoreUnmapped
Indicates whether to ignore an unmapped path and not return any documents instead of an error.API name:
ignore_unmapped -
innerHits
API name:inner_hits -
path
Required - API name:path -
query
Required - API name:query -
scoreMode
API name:score_mode -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NestedQuery.Builder,NestedQuery> - Returns:
- a new builder instance.
-
builder
-
setupNestedQueryDeserializer
-
hashCode
public int hashCode() -
equals
-