Package redis.clients.jedis.search.aggr
Class Reducers
java.lang.Object
redis.clients.jedis.search.aggr.Reducers
Created by mnunberg on 2/22/18.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Reducerstatic Reducercount()static Reducercount_distinct(String field) static Reducercount_distinctish(String field) static Reducerfirst_value(String field) static Reducerfirst_value(String field, SortedField sortBy) REDUCE FIRST_VALUE {nargs} {property} [BY {property} [ASC|DESC]]static Reducerstatic Reducerstatic Reducerstatic Reducerrandom_sample(String field, int size) private static ReducersingleFieldReducer(String name, String field) static Reducerstatic Reducerstatic Reducer
-
Constructor Details
-
Reducers
public Reducers()
-
-
Method Details
-
count
-
singleFieldReducer
-
count_distinct
-
count_distinctish
-
sum
-
min
-
max
-
avg
-
stddev
-
quantile
-
first_value
REDUCE FIRST_VALUE {nargs} {property} [BY {property} [ASC|DESC]]- Parameters:
field-sortBy-- Returns:
- Reducer
-
first_value
-
to_list
-
random_sample
-