Interface Reducer
- All Known Implementing Classes:
ReducerParams
public interface Reducer
Reducer object for
RSearch.aggregate(String, String, AggregationOptions) method- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionstatic Reducerstatic Reducercount()static ReducercountDistinct(String fieldName) static ReducercountDistinctish(String fieldName) static Reducerstatic ReducerfirstValue(String fieldName) static ReducerfirstValue(String fieldName, String sortFieldName, SortOrder sortOrder) static Reducerstatic Reducerstatic Reducerstatic ReducerrandomSample(String fieldName, int size) static Reducerstatic Reducerstatic Reducer
-
Method Details
-
avg
-
sum
-
max
-
min
-
quantile
-
count
-
countDistinct
-
countDistinctish
-
firstValue
-
firstValue
-
randomSample
-
stddev
-
toList
-
custom
-
as
-