Class IntervalsPrefix.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsPrefix.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsPrefix.Builder
- All Implemented Interfaces:
WithJson<IntervalsPrefix.Builder>,ObjectBuilder<IntervalsPrefix>
- Enclosing class:
- IntervalsPrefix
public static class IntervalsPrefix.Builder
extends WithJsonObjectBuilderBase<IntervalsPrefix.Builder>
implements ObjectBuilder<IntervalsPrefix>
Builder for
IntervalsPrefix.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IntervalsPrefix.BuilderAnalyzer used to analyze theprefix.build()Builds aIntervalsPrefix.final IntervalsPrefix.BuilderRequired - Beginning characters of terms you wish to find in the top-level field.protected IntervalsPrefix.Builderself()final IntervalsPrefix.BuilderIf specified, match intervals from this field rather than the top-level field.Methods 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
-
analyzer
Analyzer used to analyze theprefix.API name:
analyzer -
prefix
Required - Beginning characters of terms you wish to find in the top-level field.API name:
prefix -
useField
If specified, match intervals from this field rather than the top-level field. Theprefixis normalized using the search analyzer from this field, unlessanalyzeris specified separately.API name:
use_field -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IntervalsPrefix.Builder>
-
build
Builds aIntervalsPrefix.- Specified by:
buildin interfaceObjectBuilder<IntervalsPrefix>- Throws:
NullPointerException- if some of the required fields are null.
-