Class SpanNotQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<SpanNotQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.SpanNotQuery.Builder
- All Implemented Interfaces:
WithJson<SpanNotQuery.Builder>,ObjectBuilder<SpanNotQuery>
- Enclosing class:
- SpanNotQuery
public static class SpanNotQuery.Builder
extends QueryBase.AbstractBuilder<SpanNotQuery.Builder>
implements ObjectBuilder<SpanNotQuery>
Builder for
SpanNotQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSpanNotQuery.final SpanNotQuery.BuilderThe number of tokens from within the include span that can’t have overlap with the exclude span.final SpanNotQuery.BuilderRequired - Span query whose matches must not overlap those returned.final SpanNotQuery.BuilderRequired - Span query whose matches must not overlap those returned.final SpanNotQuery.BuilderRequired - Span query whose matches are filtered.final SpanNotQuery.BuilderRequired - Span query whose matches are filtered.final SpanNotQuery.BuilderThe number of tokens after the include span that can’t have overlap with the exclude span.final SpanNotQuery.BuilderThe number of tokens before the include span that can’t have overlap with the exclude span.protected SpanNotQuery.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
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 -
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 -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<SpanNotQuery.Builder>
-
build
Builds aSpanNotQuery.- Specified by:
buildin interfaceObjectBuilder<SpanNotQuery>- Throws:
NullPointerException- if some of the required fields are null.
-