Class SpanNotQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.SpanNotQuery
- All Implemented Interfaces:
QueryVariant,SpanQueryVariant,JsonpSerializable
@JsonpDeserializable
public class SpanNotQuery
extends QueryBase
implements SpanQueryVariant, QueryVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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 TypeMethodDescriptionQuery variant kind.SpanQuery variant kind.final Integerdist()The number of tokens from within the include span that can’t have overlap with the exclude span.final SpanQueryexclude()Required - Span query whose matches must not overlap those returned.final SpanQueryinclude()Required - Span query whose matches are filtered.static 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 voidMethods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQueryMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.SpanQueryVariant
_toSpanQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forSpanNotQuery
-
-
Method Details
-
of
-
_spanQueryKind
SpanQuery variant kind.- Specified by:
_spanQueryKindin interfaceSpanQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
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 - Span query whose matches must not overlap those returned.API name:
exclude -
include
Required - Span query whose matches are filtered.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
-
setupSpanNotQueryDeserializer
-