All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.query.dsl.embedded.impl.InfinispanAggregation Maven / Gradle / Ivy

package org.infinispan.query.dsl.embedded.impl;

import java.util.Map;

import org.hibernate.search.engine.search.aggregation.SearchAggregation;
import org.infinispan.objectfilter.impl.syntax.parser.AggregationPropertyPath;

public class InfinispanAggregation {

   private final SearchAggregation> searchAggregation;
   private final AggregationPropertyPath propertyPath;
   private final boolean displayGroupFirst;

   public InfinispanAggregation(SearchAggregation> searchAggregation, AggregationPropertyPath propertyPath,
                                boolean displayGroupFirst) {
      this.searchAggregation = searchAggregation;
      this.propertyPath = propertyPath;
      this.displayGroupFirst = displayGroupFirst;
   }

   public SearchAggregation> searchAggregation() {
      return searchAggregation;
   }

   public AggregationPropertyPath propertyPath() {
      return propertyPath;
   }

   public boolean displayGroupFirst() {
      return displayGroupFirst;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy