public class Reducers extends Object
| Constructor and Description |
|---|
Reducers() |
| Modifier and Type | Method and Description |
|---|---|
static Reducer |
avg(String field) |
static Reducer |
count_distinct(String field) |
static Reducer |
count_distinctish(String field) |
static Reducer |
count() |
static Reducer |
first_value(String field) |
static Reducer |
first_value(String field,
SortedField sortBy)
REDUCE FIRST_VALUE {nargs} {property} [BY {property} [ASC|DESC]]
|
static Reducer |
max(String field) |
static Reducer |
min(String field) |
static Reducer |
quantile(String field,
double percentile) |
static Reducer |
random_sample(String field,
int size) |
static Reducer |
stddev(String field) |
static Reducer |
sum(String field) |
static Reducer |
to_list(String field) |
public static Reducer count()
public static Reducer first_value(String field, SortedField sortBy)
field - sortBy - Copyright © 2024. All rights reserved.