Package com.redis.lettucemod.search
Class Limit
java.lang.Object
com.redis.lettucemod.search.Limit
- All Implemented Interfaces:
AggregateOperation
,RediSearchArgument
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static interface
static interface
Nested classes/interfaces inherited from interface com.redis.lettucemod.search.AggregateOperation
AggregateOperation.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(SearchCommandArgs args) long
getNum()
long
getType()
static Limit.NumBuilder
offset
(long offset) toString()
-
Constructor Details
-
Limit
public Limit(long offset, long num)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceAggregateOperation
-
getOffset
public long getOffset() -
getNum
public long getNum() -
build
- Specified by:
build
in interfaceRediSearchArgument
-
toString
-
offset
-