Package com.redis.lettucemod.search
Class Reducer
- java.lang.Object
-
- com.redis.lettucemod.search.Reducer
-
- All Implemented Interfaces:
RediSearchArgument
- Direct Known Subclasses:
PropertyReducer,Reducers.Count
public abstract class Reducer extends java.lang.Object implements RediSearchArgument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReducer.Builder<B extends Reducer.Builder<B>>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Optional<java.lang.String>as
-
Constructor Summary
Constructors Modifier Constructor Description protectedReducer(java.util.Optional<java.lang.String> as)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbuild(SearchCommandArgs args)protected abstract voidbuildFunction(SearchCommandArgs args)java.util.Optional<java.lang.String>getAs()protected java.lang.StringtoString(java.lang.String string)
-
-
-
Method Detail
-
getAs
public java.util.Optional<java.lang.String> getAs()
-
build
public void build(SearchCommandArgs args)
- Specified by:
buildin interfaceRediSearchArgument
-
toString
protected java.lang.String toString(java.lang.String string)
-
buildFunction
protected abstract void buildFunction(SearchCommandArgs args)
-
-