Class FTAggregateOptions.SortBy

    • 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.