Class OpenSearchAggregation

java.lang.Object
org.opensearch.data.client.osc.OpenSearchAggregation
All Implemented Interfaces:
org.springframework.data.elasticsearch.core.AggregationContainer<Aggregation>

public class OpenSearchAggregation extends Object implements org.springframework.data.elasticsearch.core.AggregationContainer<Aggregation>
AggregationContainer for a Aggregation that holds OpenEearch data.
Since:
4.4
  • Constructor Details

    • OpenSearchAggregation

      public OpenSearchAggregation(Aggregation aggregation)
  • Method Details

    • aggregation

      public Aggregation aggregation()
      Specified by:
      aggregation in interface org.springframework.data.elasticsearch.core.AggregationContainer<Aggregation>