Interface CompositeAggregationFrom3AsStep<V1,V2,V3>

Type Parameters:
V1 - The type of values returned by the first inner aggregation.
V2 - The type of values returned by the second inner aggregation.
V3 - The type of values returned by the third inner aggregation.
All Superinterfaces:
CompositeAggregationFromAsStep

@Incubating public interface CompositeAggregationFrom3AsStep<V1,V2,V3> extends CompositeAggregationFromAsStep
The step in a "multi-step" composite aggregation definition where 3 inner aggregations have been defined and the result of the composite aggregation can be defined.
  • Method Summary

    Modifier and Type
    Method
    Description
    as(org.hibernate.search.util.common.function.TriFunction<V1,V2,V3,V> transformer)
    Defines the result of the composite aggregation as the result of applying the given function to the three inner aggregations defined so far.

    Methods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.CompositeAggregationFromAsStep

    asArray, asArray, asList, asList
  • Method Details

    • as

      <V> AggregationFinalStep<V> as(org.hibernate.search.util.common.function.TriFunction<V1,V2,V3,V> transformer)
      Defines the result of the composite aggregation as the result of applying the given function to the three inner aggregations defined so far.
      Type Parameters:
      V - The type of values returned by the transformer.
      Parameters:
      transformer - A function to transform the values of inner aggregations defined so far.
      Returns:
      The next DSL step.