Class IntervalsWildcard.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsWildcard.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsWildcard.Builder
- All Implemented Interfaces:
WithJson<IntervalsWildcard.Builder>,ObjectBuilder<IntervalsWildcard>
- Enclosing class:
- IntervalsWildcard
public static class IntervalsWildcard.Builder
extends WithJsonObjectBuilderBase<IntervalsWildcard.Builder>
implements ObjectBuilder<IntervalsWildcard>
Builder for
IntervalsWildcard.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnalyzer used to analyze thepattern.build()Builds aIntervalsWildcard.Required - Wildcard pattern used to find matching terms.protected IntervalsWildcard.Builderself()If 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 thepattern. Defaults to the top-level field's analyzer.API name:
analyzer -
pattern
Required - Wildcard pattern used to find matching terms.API name:
pattern -
useField
If specified, match intervals from this field rather than the top-level field. Thepatternis normalized using the search analyzer from this field, unlessanalyzeris specified separately.API name:
use_field -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IntervalsWildcard.Builder>
-
build
Builds aIntervalsWildcard.- Specified by:
buildin interfaceObjectBuilder<IntervalsWildcard>- Throws:
NullPointerException- if some of the required fields are null.
-