Class ElasticsearchAggregations

java.lang.Object
org.springframework.data.elasticsearch.client.elc.ElasticsearchAggregations
All Implemented Interfaces:
AggregationsContainer<List<ElasticsearchAggregation>>

public class ElasticsearchAggregations extends Object implements AggregationsContainer<List<ElasticsearchAggregation>>
AggregationsContainer implementation for the Elasticsearch aggregations.
Since:
4.4
Author:
Peter-Josef Meisch
  • Constructor Details

    • ElasticsearchAggregations

      public ElasticsearchAggregations(List<ElasticsearchAggregation> aggregations)
    • ElasticsearchAggregations

      public ElasticsearchAggregations(Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregationsMap)
      convenience constructor taking a map as it is returned from the new Elasticsearch client.
      Parameters:
      aggregationsMap - aggregate map
  • Method Details