Class FTAggregateOptions.GroupBy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FTAggregateOptions.GroupBy.Reducer
      A function that handles the group entries, either counting them, or performing multiple aggregate operations.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • GroupBy

        public GroupBy​(@NonNull
                       @NonNull GlideString[] properties,
                       @NonNull
                       @NonNull FTAggregateOptions.GroupBy.Reducer[] reducers)
        Initialize a new instance.
        Parameters:
        properties - The list of properties to be used for grouping the results in the pipeline.
        reducers - The list of functions that handles the group entries by performing multiple aggregate operations.
      • GroupBy

        public GroupBy​(@NonNull
                       @NonNull java.lang.String[] properties,
                       @NonNull
                       @NonNull FTAggregateOptions.GroupBy.Reducer[] reducers)
        Initialize a new instance.
        Parameters:
        properties - The list of properties to be used for grouping the results in the pipeline.
        reducers - The list of functions that handles the group entries by performing multiple aggregate operations.