Class SpanNearQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.SpanNearQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,SpanQueryVariant,ToCopyableBuilder<SpanNearQuery.Builder,SpanNearQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SpanNearQuery
extends QueryBase
implements QueryVariant, SpanQueryVariant, ToCopyableBuilder<SpanNearQuery.Builder,SpanNearQuery>
-
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<SpanNearQuery> Json deserializer forSpanNearQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.SpanQueryvariant kind.static SpanNearQuery.Builderbuilder()clauses()Required - Array of one or more other span type queries.booleaninthashCode()final BooleaninOrder()Controls whether matches are required to be in-order.static SpanNearQueryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integerslop()Controls the maximum number of intervening unmatched positions permitted.Create 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.opensearch._types.query_dsl.SpanQueryVariant
toSpanQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSpanNearQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
_spanQueryKind
SpanQueryvariant kind.- Specified by:
_spanQueryKindin interfaceSpanQueryVariant
-
clauses
Required - Array of one or more other span type queries.API name:
clauses -
inOrder
Controls whether matches are required to be in-order.API name:
in_order -
slop
Controls the maximum number of intervening unmatched positions permitted.API name:
slop -
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<SpanNearQuery.Builder,SpanNearQuery> - Returns:
- a new builder instance.
-
builder
-
setupSpanNearQueryDeserializer
-
hashCode
public int hashCode() -
equals
-