Package glide.api.models.commands.FT
Class FTAggregateOptions.GroupBy
- java.lang.Object
-
- glide.api.models.commands.FT.FTAggregateOptions.FTAggregateClause
-
- glide.api.models.commands.FT.FTAggregateOptions.GroupBy
-
- Enclosing class:
- FTAggregateOptions
public static class FTAggregateOptions.GroupBy extends FTAggregateOptions.FTAggregateClause
A clause for grouping the results in the pipeline based on one or more properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFTAggregateOptions.GroupBy.ReducerA function that handles the group entries, either counting them, or performing multiple aggregate operations.
-
Constructor Summary
Constructors Constructor Description GroupBy(@NonNull GlideString[] properties, @NonNull FTAggregateOptions.GroupBy.Reducer[] reducers)Initialize a new instance.GroupBy(@NonNull java.lang.String[] properties, @NonNull FTAggregateOptions.GroupBy.Reducer[] reducers)Initialize a new instance.
-
-
-
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.
-
-