Package com.redis.lettucemod.search
Class Limit
- java.lang.Object
-
- com.redis.lettucemod.search.Limit
-
- All Implemented Interfaces:
AggregateOperation,RediSearchArgument
public class Limit extends java.lang.Object implements AggregateOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLimit.Builderstatic interfaceLimit.NumBuilderstatic interfaceLimit.OffsetBuilder-
Nested classes/interfaces inherited from interface com.redis.lettucemod.search.AggregateOperation
AggregateOperation.Type
-
-
Constructor Summary
Constructors Constructor Description Limit(long offset, long num)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(SearchCommandArgs args)longgetNum()longgetOffset()AggregateOperation.TypegetType()static Limit.NumBuilderoffset(long offset)java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public AggregateOperation.Type getType()
- Specified by:
getTypein interfaceAggregateOperation
-
getOffset
public long getOffset()
-
getNum
public long getNum()
-
build
public void build(SearchCommandArgs args)
- Specified by:
buildin interfaceRediSearchArgument
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
offset
public static Limit.NumBuilder offset(long offset)
-
-