Class RollupSearchRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<RollupSearchRequest.Builder>
co.elastic.clients.elasticsearch.rollup.RollupSearchRequest.Builder
- All Implemented Interfaces:
WithJson<RollupSearchRequest.Builder>,ObjectBuilder<RollupSearchRequest>
- Enclosing class:
- RollupSearchRequest
@Deprecated
public static class RollupSearchRequest.Builder
extends RequestBase.AbstractBuilder<RollupSearchRequest.Builder>
implements ObjectBuilder<RollupSearchRequest>
Deprecated.
Builder for
RollupSearchRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregations(String key, Aggregation value) Deprecated.Specifies aggregations.aggregations(String key, AggregationVariant value) Deprecated.Specifies aggregations.Deprecated.Specifies aggregations.aggregations(Map<String, Aggregation> map) Deprecated.Specifies aggregations.build()Deprecated.Builds aRollupSearchRequest.Deprecated.Required - A comma-separated list of data streams and indices used to limit the request.Deprecated.Required - A comma-separated list of data streams and indices used to limit the request.Deprecated.Specifies a DSL query that is subject to some limitations.query(QueryVariant value) Deprecated.Specifies a DSL query that is subject to some limitations.Deprecated.Specifies a DSL query that is subject to some limitations.protected RollupSearchRequest.Builderself()Deprecated.Deprecated.Must be zero if set, as rollups work on pre-aggregated data.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()Deprecated.
-
-
Method Details
-
aggregations
Deprecated.Specifies aggregations.API name:
aggregationsAdds all entries of
maptoaggregations. -
aggregations
Deprecated.Specifies aggregations.API name:
aggregationsAdds an entry to
aggregations. -
aggregations
Deprecated.Specifies aggregations.API name:
aggregationsAdds an entry to
aggregations. -
aggregations
public final RollupSearchRequest.Builder aggregations(String key, Function<Aggregation.Builder, ObjectBuilder<Aggregation>> fn) Deprecated.Specifies aggregations.API name:
aggregationsAdds an entry to
aggregationsusing a builder lambda. -
index
Deprecated.Required - A comma-separated list of data streams and indices used to limit the request. This parameter has the following rules:- At least one data stream, index, or wildcard expression must be
specified. This target can include a rollup or non-rollup index. For data
streams, the stream's backing indices can only serve as non-rollup indices.
Omitting the parameter or using
_allare not permitted. - Multiple non-rollup indices may be specified.
- Only one rollup index may be specified. If more than one are supplied, an exception occurs.
- Wildcard expressions (
*) may be used. If they match more than one rollup index, an exception occurs. However, you can use an expression to match multiple non-rollup indices or data streams.
API name:
indexAdds all elements of
listtoindex. - At least one data stream, index, or wildcard expression must be
specified. This target can include a rollup or non-rollup index. For data
streams, the stream's backing indices can only serve as non-rollup indices.
Omitting the parameter or using
-
index
Deprecated.Required - A comma-separated list of data streams and indices used to limit the request. This parameter has the following rules:- At least one data stream, index, or wildcard expression must be
specified. This target can include a rollup or non-rollup index. For data
streams, the stream's backing indices can only serve as non-rollup indices.
Omitting the parameter or using
_allare not permitted. - Multiple non-rollup indices may be specified.
- Only one rollup index may be specified. If more than one are supplied, an exception occurs.
- Wildcard expressions (
*) may be used. If they match more than one rollup index, an exception occurs. However, you can use an expression to match multiple non-rollup indices or data streams.
API name:
indexAdds one or more values to
index. - At least one data stream, index, or wildcard expression must be
specified. This target can include a rollup or non-rollup index. For data
streams, the stream's backing indices can only serve as non-rollup indices.
Omitting the parameter or using
-
query
Deprecated.Specifies a DSL query that is subject to some limitations.API name:
query -
query
Deprecated.Specifies a DSL query that is subject to some limitations.API name:
query -
query
Deprecated.Specifies a DSL query that is subject to some limitations.API name:
query -
size
Deprecated.Must be zero if set, as rollups work on pre-aggregated data.API name:
size -
self
Deprecated.- Specified by:
selfin classRequestBase.AbstractBuilder<RollupSearchRequest.Builder>
-
build
Deprecated.Builds aRollupSearchRequest.- Specified by:
buildin interfaceObjectBuilder<RollupSearchRequest>- Throws:
NullPointerException- if some of the required fields are null.
-