Class ElasticsearchFacetResultHelper


  • public class ElasticsearchFacetResultHelper
    extends java.lang.Object
    ElasticsearchFacetResultHelper for mapping ES object to Vitam FacetResult
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FacetResult transformFromEsAggregation​(org.elasticsearch.search.aggregations.Aggregation aggregation)
      Transform an es Aggregation result to a FacetResult object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ElasticsearchFacetResultHelper

        public ElasticsearchFacetResultHelper()
    • Method Detail

      • transformFromEsAggregation

        public static FacetResult transformFromEsAggregation​(org.elasticsearch.search.aggregations.Aggregation aggregation)
        Transform an es Aggregation result to a FacetResult object
        Parameters:
        aggregation - es aggregation result
        Returns:
        FacetResult