Package glide.api.models.commands.FT
Class FTAggregateOptions.SortBy
- java.lang.Object
-
- glide.api.models.commands.FT.FTAggregateOptions.FTAggregateClause
-
- glide.api.models.commands.FT.FTAggregateOptions.SortBy
-
- Enclosing class:
- FTAggregateOptions
public static class FTAggregateOptions.SortBy extends FTAggregateOptions.FTAggregateClause
Sort the pipeline using a list of properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFTAggregateOptions.SortBy.SortOrderstatic classFTAggregateOptions.SortBy.SortPropertyA sorting parameter.
-
Constructor Summary
Constructors Constructor Description SortBy(@NonNull FTAggregateOptions.SortBy.SortProperty[] properties)Initialize a new instance.SortBy(@NonNull FTAggregateOptions.SortBy.SortProperty[] properties, int max)Initialize a new instance.
-
-
-
Constructor Detail
-
SortBy
public SortBy(@NonNull @NonNull FTAggregateOptions.SortBy.SortProperty[] properties)Initialize a new instance.- Parameters:
properties- A list of sorting parameters for the sort operation.
-
SortBy
public SortBy(@NonNull @NonNull FTAggregateOptions.SortBy.SortProperty[] properties, int max)Initialize a new instance.- Parameters:
properties- A list of sorting parameters for the sort operation.max- The MAX value for optimizing the sorting, by sorting only for the n-largest elements.
-
-