Package glide.api.models.commands
Class RangeOptions.Limit
- java.lang.Object
-
- glide.api.models.commands.RangeOptions.Limit
-
- Enclosing class:
- RangeOptions
public static class RangeOptions.Limit extends java.lang.ObjectRepresents a limit argument for a range query in a sorted set.
The optionalLIMITargument can be used to obtain a sub-range from the matching elements (similar toSELECT LIMIToffset, count in SQL).
-
-
Constructor Summary
Constructors Constructor Description Limit(long offset, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()The number of elements to include in the range.longgetOffset()The offset from the start of the range.
-