Class ElasticsearchAggregations

java.lang.Object
org.springframework.data.elasticsearch.client.elc.ElasticsearchAggregations
All Implemented Interfaces:
AggregationsContainer<Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate>>

public class ElasticsearchAggregations extends Object implements AggregationsContainer<Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate>>
AggregationsContainer implementation for the Elasticsearch aggregations.
Since:
4.4
Author:
Peter-Josef Meisch
  • Constructor Details

    • ElasticsearchAggregations

      public ElasticsearchAggregations(Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations)
  • Method Details

    • aggregations

      public Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations()
      Specified by:
      aggregations in interface AggregationsContainer<Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregate>>
      Returns:
      the concrete aggregations implementation