Class SpanNotQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.SpanNotQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,SpanQueryVariant,ToCopyableBuilder<SpanNotQuery.Builder,SpanNotQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SpanNotQuery
extends QueryBase
implements QueryVariant, SpanQueryVariant, ToCopyableBuilder<SpanNotQuery.Builder,SpanNotQuery>
-
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<SpanNotQuery> Json deserializer forSpanNotQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.SpanQueryvariant kind.static SpanNotQuery.Builderbuilder()final Integerdist()The number of tokens from within the include span that can't have overlap with the exclude span.booleanfinal SpanQueryexclude()Required - API name:excludeinthashCode()final SpanQueryinclude()Required - API name:includestatic SpanNotQueryfinal Integerpost()The number of tokens after the include span that can't have overlap with the exclude span.final Integerpre()The number of tokens before the include span that can't have overlap with the exclude span.protected 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.opensearch._types.query_dsl.SpanQueryVariant
toSpanQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSpanNotQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
_spanQueryKind
SpanQueryvariant kind.- Specified by:
_spanQueryKindin interfaceSpanQueryVariant
-
dist
The number of tokens from within the include span that can't have overlap with the exclude span. Equivalent to setting bothpreandpost.API name:
dist -
exclude
Required - API name:exclude -
include
Required - API name:include -
post
The number of tokens after the include span that can't have overlap with the exclude span.API name:
post -
pre
The number of tokens before the include span that can't have overlap with the exclude span.API name:
pre -
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<SpanNotQuery.Builder,SpanNotQuery> - Returns:
- a new builder instance.
-
builder
-
setupSpanNotQueryDeserializer
-
hashCode
public int hashCode() -
equals
-