Package com.redis.lettucemod.search
Class Reducers.RandomSample
- java.lang.Object
-
- com.redis.lettucemod.search.Reducer
-
- com.redis.lettucemod.search.PropertyReducer
-
- com.redis.lettucemod.search.Reducers.RandomSample
-
- All Implemented Interfaces:
RediSearchArgument
- Enclosing class:
- Reducers
public static class Reducers.RandomSample extends PropertyReducer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReducers.RandomSample.Builderstatic classReducers.RandomSample.SizeBuilder
-
Field Summary
-
Fields inherited from class com.redis.lettucemod.search.PropertyReducer
property
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildFunction(SearchCommandArgs args)static Reducers.RandomSample.SizeBuilderproperty(java.lang.String property)java.lang.StringtoString()-
Methods inherited from class com.redis.lettucemod.search.PropertyReducer
getName, getProperty
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classPropertyReducer
-
buildFunction
protected void buildFunction(SearchCommandArgs args)
- Specified by:
buildFunctionin classReducer
-
property
public static Reducers.RandomSample.SizeBuilder property(java.lang.String property)
-
-