Package com.redis.lettucemod.search
Class Apply<K,V>
- java.lang.Object
-
- com.redis.lettucemod.search.Apply<K,V>
-
- All Implemented Interfaces:
AggregateOperation<K,V>,RediSearchArgument<K,V>
public class Apply<K,V> extends java.lang.Object implements AggregateOperation<K,V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApply.Builder<K,V>-
Nested classes/interfaces inherited from interface com.redis.lettucemod.search.AggregateOperation
AggregateOperation.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(SearchCommandArgs<K,V> args)static <K,V>
Apply.Builder<K,V>expression(V expression)KgetAs()VgetExpression()AggregateOperation.TypegetType()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public AggregateOperation.Type getType()
- Specified by:
getTypein interfaceAggregateOperation<K,V>
-
getExpression
public V getExpression()
-
getAs
public K getAs()
-
build
public void build(SearchCommandArgs<K,V> args)
- Specified by:
buildin interfaceRediSearchArgument<K,V>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
expression
public static <K,V> Apply.Builder<K,V> expression(V expression)
-
-