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 Integer
dist()
The number of tokens from within the include span that can’t have overlap with the exclude span.final SpanQuery
exclude()
Required - Span query whose matches must not overlap those returned.final SpanQuery
include()
Required - Span query whose matches are filtered.static SpanNotQuery
final Integer
post()
The number of tokens after the include span that can’t have overlap with the exclude span.final Integer
pre()
The number of tokens before the include span that can’t have overlap with the exclude span.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
Methods 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:
_spanQueryKind
in interfaceSpanQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKind
in interfaceQueryVariant
-
dist
The number of tokens from within the include span that can’t have overlap with the exclude span. Equivalent to setting bothpre
andpost
.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:
serializeInternal
in classQueryBase
-
setupSpanNotQueryDeserializer
-