Class RangeOptions.RangeByLex

  • All Implemented Interfaces:
    RangeOptions.RangeQuery
    Enclosing class:
    RangeOptions

    public static class RangeOptions.RangeByLex
    extends java.lang.Object
    implements RangeOptions.RangeQuery
    Represents a range by lexicographical order in a sorted set.
    The start and stop arguments represent lexicographical boundaries.
    • Constructor Detail

      • RangeByLex

        public RangeByLex​(@NonNull
                          RangeOptions.LexRange start,
                          @NonNull
                          RangeOptions.LexRange end,
                          @NonNull
                          @NonNull RangeOptions.Limit limit)
        Creates a range by lexicographical order in a sorted set.
        The start and stop arguments represent lexicographical boundaries.
        Parameters:
        start - The start lexicographic boundary.
        end - The stop lexicographic boundary.
        limit - The limit argument for a range query. Defaults to null. See Limit class for more information.
      • RangeByLex

        public RangeByLex​(@NonNull
                          RangeOptions.LexRange start,
                          @NonNull
                          RangeOptions.LexRange end)
        Creates a range by lexicographical order in a sorted set.
        The start and stop arguments represent lexicographical boundaries.
        Parameters:
        start - The start lexicographic boundary.
        end - The stop lexicographic boundary.