Class IndexTypes

    • Field Detail

      • VALUE

        public static final String VALUE
        A normal index on field values. The index is ordered, lexicographically if there is more than one field.
        See Also:
        Constant Field Values
      • COUNT

        public static final String COUNT
        A count of the number of indexed entries. If the index's expression is grouped, a separate count is maintained for each group.
        See Also:
        Constant Field Values
      • COUNT_UPDATES

        public static final String COUNT_UPDATES
        A count of the number of times that any indexed record has been updated. Unlike COUNT, the count does not go down when records are deleted.
        See Also:
        Constant Field Values
      • COUNT_NOT_NULL

        public static final String COUNT_NOT_NULL
        A count of the number of non-null values for a field. If the index's expression has more than one field, the count indicates when none of the fields was null.
        See Also:
        Constant Field Values
      • MAX_EVER_TUPLE

        public static final String MAX_EVER_TUPLE
        An index remembering the greatest value(s) ever stored.
        See Also:
        Constant Field Values
      • MIN_EVER_LONG

        public static final String MIN_EVER_LONG
        An index remembering the smallest nonnegative integer ever stored. Because this index does not work with negative numbers or non-integer fields, consider using MIN_EVER_TUPLE instead.
        See Also:
        Constant Field Values
      • MAX_EVER_LONG

        public static final String MAX_EVER_LONG
        An index remembering the smallest nonnegative integer ever stored. Because this index does not work with negative numbers or non-integer fields, consider using MAX_EVER_TUPLE instead.
        See Also:
        Constant Field Values
      • MAX_EVER_VERSION

        public static final String MAX_EVER_VERSION
        An index remembering the maximum ever value stored where one column is the record version. This can be used to detect if there have been any changes to the record store or to subsections of the record store (if there are grouping columns included in the index definition).

        This index is like MAX_EVER_TUPLE except that the expression may contain exactly one aggregated column that contains a VersionKeyExpression with one caveat. If a record is written with an incomplete version-stamp, then the aggregate index entry is guaranteed to be updated to include the value from that record. For example, if there are two columns defined as part of the index, and the first corresponds to an integer field while the second corresponds to the record version, then the value stored by this index may go backwards if, for example, one stores a record where the first field has value 2 and has an incomplete version-stamp and then, in a separate transaction, one stores a record with the first field has value 1 and has an incomplete version-stamp.

        See Also:
        Constant Field Values
      • RANK

        public static final String RANK
        A ranked set index, allowing efficient rank and select operations.
        See Also:
        Constant Field Values
      • TIME_WINDOW_LEADERBOARD

        public static final String TIME_WINDOW_LEADERBOARD
        An index with sliding time window leaderboards.
        See Also:
        Constant Field Values
      • BITMAP_VALUE

        public static final String BITMAP_VALUE
        An index storing bitmaps of which records meet a specific condition.
        See Also:
        Constant Field Values
      • PERMUTED_MIN

        public static final String PERMUTED_MIN
        An index remembering minimum values in a way that can enumerate minima ordered by value and not (part of the) group.
        See Also:
        Constant Field Values
      • PERMUTED_MAX

        public static final String PERMUTED_MAX
        An index remembering maximum values in a way that can enumerate maxima ordered by value and not (part of the) group.
        See Also:
        Constant Field Values