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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()Deprecated.
 
- 
- 
Method Details- 
aggregationsDeprecated.Specifies aggregations.API name: aggregationsAdds all entries of maptoaggregations.
- 
aggregationsDeprecated.Specifies aggregations.API name: aggregationsAdds an entry to aggregations.
- 
aggregationsDeprecated.Specifies aggregations.API name: aggregationsAdds an entry to aggregations.
- 
aggregationspublic 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.
- 
indexDeprecated.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 
- 
indexDeprecated.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 
- 
queryDeprecated.Specifies a DSL query that is subject to some limitations.API name: query
- 
queryDeprecated.Specifies a DSL query that is subject to some limitations.API name: query
- 
queryDeprecated.Specifies a DSL query that is subject to some limitations.API name: query
- 
sizeDeprecated.Must be zero if set, as rollups work on pre-aggregated data.API name: size
- 
selfDeprecated.- Specified by:
- selfin class- RequestBase.AbstractBuilder<RollupSearchRequest.Builder>
 
- 
buildDeprecated.Builds aRollupSearchRequest.- Specified by:
- buildin interface- ObjectBuilder<RollupSearchRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-