Class PermutedMinMaxIndexMaintainer


  • @API(EXPERIMENTAL)
    public class PermutedMinMaxIndexMaintainer
    extends StandardIndexMaintainer
    An index that maintains an extremum value in a way that can be enumerated by that value rather than by group. This is done by specifying a number of grouping fields that are permuted to after the value. This number is specified by the IndexOptions.PERMUTED_SIZE_OPTION index option. For example, an PERMUTED_MAX index on field(val).groupBy(concatenateFields(group, subgroup)) with a permuted size of 1 can, for an ordered range of group value(s) (including just a single group), list the maximum value for each subgroup, ordered by that maximum.