| Constructor and Description |
|---|
Agg()
|
| Modifier and Type | Method and Description |
|---|---|
static Collector |
allMatch()
Get a
Collector that calculates the
ALL() function.
|
static <T> Collector |
allMatch(Predicate
Get a
Collector that calculates the
ALL() function.
|
static Collector |
anyMatch()
Get a
Collector that calculates the
ANY() function.
|
static <T> Collector |
anyMatch(Predicate
Get a
Collector that calculates the
ANY() function.
|
static <T> Collector |
avg()
|
static <T |
avg(Function
|
static <T> Collector |
count()
Get a
Collector that calculates the
COUNT(*) function.
|
static <T> Collector |
countDistinct()
Get a
Collector that calculates the
COUNT (DISTINCT *) function.
|
static <T |
countDistinctBy(Function
Get a
Collector that calculates the
COUNT (DISTINCT expr) function.
|
static <T extends Comparable |
denseRank(T value)
Get a
Collector that calculates the
DENSE_RANK() function given natural ordering.
|
static <T> Collector |
denseRank(T value, Comparator
Get a
Collector that calculates the
DENSE_RANK() function given a specific ordering.
|
static <T |
denseRankBy(U value, Function
Get a
Collector that calculates the derived
DENSE_RANK() function given natural ordering.
|
static <T |
denseRankBy(U value, Function
Get a
Collector that calculates the derived
DENSE_RANK() function given a specific ordering.
|
static <T extends Comparable |
max()
Get a
Collector that calculates the
MAX() function.
|
static <T> Collector |
max(Comparator
Get a
Collector that calculates the
MAX() function.
|
static <T |
max(Function
Get a
Collector that calculates the
MAX() function.
|
static <T |
max(Function
Get a
Collector that calculates the
MAX() function.
|
static <T |
maxBy(Function
Get a
Collector that calculates the
MAX() function.
|
static <T |
maxBy(Function
Get a
Collector that calculates the
MIN() function.
|
static <T extends Comparable |
median()
Get a
Collector that calculates the
MEDIAN() function given natural ordering.
|
static <T> Collector |
median(Comparator
Get a
Collector that calculates the
MEDIAN() function given a specific ordering.
|
static <T |
median(Function
Get a
Collector that calculates the
MEDIAN() function given a specific ordering.
|
static <T |
median(Function
Get a
Collector that calculates the
MEDIAN() function given a specific ordering.
|
static <T |
medianBy(Function
Get a
Collector that calculates the derived
MEDIAN() function given natural ordering.
|
static <T |
medianBy(Function
Get a
Collector that calculates the derived
MEDIAN() function given a specific ordering.
|
static <T extends Comparable |
min()
Get a
Collector that calculates the
MIN() function.
|
static <T> Collector |
min(Comparator
Get a
Collector that calculates the
MIN() function.
|
static <T |
min(Function
Get a
Collector that calculates the
MIN() function.
|
static <T |
min(Function
Get a
Collector that calculates the
MIN() function.
|
static <T |
minBy(Function
Get a
Collector that calculates the
MIN() function.
|
static <T |
minBy(Function
Get a
Collector that calculates the
MIN() function.
|
static <T> Collector |
mode()
Get a
Collector that calculates the
MODE() function.
|
static Collector |
noneMatch()
Get a
Collector that calculates the
NONE() function.
|
static <T> Collector |
noneMatch(Predicate
Get a
Collector that calculates the
NONE() function.
|
static <T extends Comparable |
percentile(double percentile)
Get a
Collector that calculates the
PERCENTILE_DISC(percentile) function given natural ordering.
|
static <T> Collector |
percentile(double percentile, Comparator
Get a
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
|
static <T |
percentile(double percentile, Function
Get a
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
|
static <T |
percentile(double percentile, Function
Get a
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
|
static <T |
percentileBy(double percentile, Function
Get a
Collector that calculates the derived
PERCENTILE_DISC(percentile) function given natural ordering.
|
static <T |
percentileBy(double percentile, Function
Get a
Collector that calculates the derived
PERCENTILE_DISC(percentile) function given a specific ordering.
|
static <T extends Comparable |
percentRank(T value)
Get a
Collector that calculates the
PERCENT_RANK() function given natural ordering.
|
static <T> Collector |
percentRank(T value, Comparator
Get a
Collector that calculates the
PERCENT_RANK() function given a specific ordering.
|
static <T |
percentRankBy(U value, Function
Get a
Collector that calculates the derived
PERCENT_RANK() function given natural ordering.
|
static <T |
percentRankBy(U value, Function
Get a
Collector that calculates the derived
PERCENT_RANK() function given a specific ordering.
|
static <T extends Comparable |
rank(T value)
Get a
Collector that calculates the
RANK() function given natural ordering.
|
static <T> Collector |
rank(T value, Comparator
Get a
Collector that calculates the
RANK() function given a specific ordering.
|
static <T |
rankBy(U value, Function
Get a
Collector that calculates the derived
RANK() function given natural ordering.
|
static <T |
rankBy(U value, Function
Get a
Collector that calculates the derived
RANK() function given a specific ordering.
|
static <T> Collector |
sum()
|
static <T |
sum(Function
|
public static <T> Collector<T ,? ,Long > count()
Collector that calculates the
COUNT(*) function.
public static <T> Collector<T ,? ,Long > countDistinct()
Collector that calculates the
COUNT (DISTINCT *) function.
public static <T,U> Collector <T ,? ,Long > countDistinctBy(Function <? super T ,? extends U> function)
Collector that calculates the
COUNT (DISTINCT expr) function.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <T>> min()
Collector that calculates the
MIN() function.
public static <T> Collector<T ,? ,Optional <T>> min(Comparator <? super T> comparator)
Collector that calculates the
MIN() function.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <U>> min(Function <? super T ,? extends U> function)
Collector that calculates the
MIN() function.
public static <T,U> Collector <T ,? ,Optional <U>> min(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
MIN() function.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <T>> minBy(Function <? super T ,? extends U> function)
Collector that calculates the
MIN() function.
public static <T,U> Collector <T ,? ,Optional <T>> minBy(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
MIN() function.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <T>> max()
Collector that calculates the
MAX() function.
public static <T> Collector<T ,? ,Optional <T>> max(Comparator <? super T> comparator)
Collector that calculates the
MAX() function.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <U>> max(Function <? super T ,? extends U> function)
Collector that calculates the
MAX() function.
public static <T,U> Collector <T ,? ,Optional <U>> max(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
MAX() function.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <T>> maxBy(Function <? super T ,? extends U> function)
Collector that calculates the
MAX() function.
public static <T,U> Collector <T ,? ,Optional <T>> maxBy(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
MIN() function.
public static Collector<Boolean ,? ,Boolean > allMatch()
Collector that calculates the
ALL() function.
public static <T> Collector<T ,? ,Boolean > allMatch(Predicate <? super T> predicate)
Collector that calculates the
ALL() function.
public static Collector<Boolean ,? ,Boolean > anyMatch()
Collector that calculates the
ANY() function.
public static <T> Collector<T ,? ,Boolean > anyMatch(Predicate <? super T> predicate)
Collector that calculates the
ANY() function.
public static Collector<Boolean ,? ,Boolean > noneMatch()
Collector that calculates the
NONE() function.
public static <T> Collector<T ,? ,Boolean > noneMatch(Predicate <? super T> predicate)
Collector that calculates the
NONE() function.
public static <T> Collector<T ,? ,Optional <T>> mode()
Collector that calculates the
MODE() function.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <Long >> rank(T value)
Collector that calculates the
RANK() function given natural ordering.
public static <T> Collector<T ,? ,Optional <Long >> rank(T value, Comparator <? super T> comparator)
Collector that calculates the
RANK() function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <Long >> rankBy(U value, Function <? super T ,? extends U> function)
Collector that calculates the derived
RANK() function given natural ordering.
public static <T,U> Collector <T ,? ,Optional <Long >> rankBy(U value, Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the derived
RANK() function given a specific ordering.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <Long >> denseRank(T value)
Collector that calculates the
DENSE_RANK() function given natural ordering.
public static <T> Collector<T ,? ,Optional <Long >> denseRank(T value, Comparator <? super T> comparator)
Collector that calculates the
DENSE_RANK() function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <Long >> denseRankBy(U value, Function <? super T ,? extends U> function)
Collector that calculates the derived
DENSE_RANK() function given natural ordering.
public static <T,U> Collector <T ,? ,Optional <Long >> denseRankBy(U value, Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the derived
DENSE_RANK() function given a specific ordering.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <Double >> percentRank(T value)
Collector that calculates the
PERCENT_RANK() function given natural ordering.
public static <T> Collector<T ,? ,Optional <Double >> percentRank(T value, Comparator <? super T> comparator)
Collector that calculates the
PERCENT_RANK() function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <Double >> percentRankBy(U value, Function <? super T ,? extends U> function)
Collector that calculates the derived
PERCENT_RANK() function given natural ordering.
public static <T,U> Collector <T ,? ,Optional <Double >> percentRankBy(U value, Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the derived
PERCENT_RANK() function given a specific ordering.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <T>> median()
Collector that calculates the
MEDIAN() function given natural ordering.
public static <T> Collector<T ,? ,Optional <T>> median(Comparator <? super T> comparator)
Collector that calculates the
MEDIAN() function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <U>> median(Function <? super T ,? extends U> function)
Collector that calculates the
MEDIAN() function given a specific ordering.
public static <T,U> Collector <T ,? ,Optional <U>> median(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
MEDIAN() function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <T>> medianBy(Function <? super T ,? extends U> function)
Collector that calculates the derived
MEDIAN() function given natural ordering.
public static <T,U> Collector <T ,? ,Optional <T>> medianBy(Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the derived
MEDIAN() function given a specific ordering.
public static <T extends Comparable<? super T>> Collector <T ,? ,Optional <T>> percentile(double percentile)
Collector that calculates the
PERCENTILE_DISC(percentile) function given natural ordering.
public static <T> Collector<T ,? ,Optional <T>> percentile(double percentile, Comparator <? super T> comparator)
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <U>> percentile(double percentile, Function <? super T ,? extends U> function)
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
public static <T,U> Collector <T ,? ,Optional <U>> percentile(double percentile, Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the
PERCENTILE_DISC(percentile) function given a specific ordering.
public static <T,U extends Comparable <? super U>> Collector <T ,? ,Optional <T>> percentileBy(double percentile, Function <? super T ,? extends U> function)
Collector that calculates the derived
PERCENTILE_DISC(percentile) function given natural ordering.
public static <T,U> Collector <T ,? ,Optional <T>> percentileBy(double percentile, Function <? super T ,? extends U> function, Comparator <? super U> comparator)
Collector that calculates the derived
PERCENTILE_DISC(percentile) function given a specific ordering.