Class SpanFirstQuery.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase.AbstractBuilder<SpanFirstQuery.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.SpanFirstQuery.Builder
- All Implemented Interfaces:
WithJson<SpanFirstQuery.Builder>,ObjectBuilder<SpanFirstQuery>
- Enclosing class:
- SpanFirstQuery
public static class SpanFirstQuery.Builder
extends QueryBase.AbstractBuilder<SpanFirstQuery.Builder>
implements ObjectBuilder<SpanFirstQuery>
Builder for
SpanFirstQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSpanFirstQuery.final SpanFirstQuery.Builderend(int value) Required - Controls the maximum end position permitted in a match.final SpanFirstQuery.BuilderRequired - Can be any other span type query.final SpanFirstQuery.Buildermatch(SpanQueryVariant value) Required - Can be any other span type query.final SpanFirstQuery.BuilderRequired - Can be any other span type query.protected SpanFirstQuery.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
-
end
Required - Controls the maximum end position permitted in a match.API name:
end -
match
Required - Can be any other span type query.API name:
match -
match
Required - Can be any other span type query.API name:
match -
match
Required - Can be any other span type query.API name:
match -
self
- Specified by:
selfin classQueryBase.AbstractBuilder<SpanFirstQuery.Builder>
-
build
Builds aSpanFirstQuery.- Specified by:
buildin interfaceObjectBuilder<SpanFirstQuery>- Throws:
NullPointerException- if some of the required fields are null.
-