java.lang.Object
org.jooq.lambda.Agg
A set of additional
Collector
implementations.
The class name isn't set in stone and will change.
- Author:
- Lukas Eder, Jichen Lu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallMatch()
Get aCollector
that calculates theALL()
function.Get aCollector
that calculates theALL()
function.anyMatch()
Get aCollector
that calculates theANY()
function.Get aCollector
that calculates theANY()
function.avg()
bitAnd()
bitAndInt
(ToIntFunction<? super T> function) bitAndLong
(ToLongFunction<? super T> function) bitOr()
bitOrInt
(ToIntFunction<? super T> function) bitOrLong
(ToLongFunction<? super T> function) static Collector<CharSequence,
?, String> Get aCollector
that calculates the common prefix of a set of strings.static Collector<CharSequence,
?, String> Get aCollector
that calculates the common suffix of a set of strings.Get aCollector
that calculates theCORR()
function.correlationDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theCORR()
function.count()
Get aCollector
that calculates theCOUNT(*)
function.Get aCollector
that calculates theCOUNT (DISTINCT *)
function.countDistinctBy
(Function<? super T, ? extends U> function) Get aCollector
that calculates theCOUNT (DISTINCT expr)
function.Get aCollector
that calculates theCOVAR_POP()
function.covarianceDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theCOVAR_POP()
function.static <T extends Comparable<? super T>>
Collector<T,?, Optional<Long>> denseRank
(T value) Get aCollector
that calculates theDENSE_RANK()
function given natural ordering.denseRank
(T value, Comparator<? super T> comparator) Get aCollector
that calculates theDENSE_RANK()
function given a specific ordering.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<Long>> denseRankBy
(U value, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedDENSE_RANK()
function given natural ordering.denseRankBy
(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedDENSE_RANK()
function given a specific ordering.dropping
(long n) Get aCollector
that skip the firstn
elements of a collection.static <T,
A, R> Collector<T, ?, R> Get aCollector
that filters data passed to downstream collector.first()
Get aCollector
that calculates theFIRST
function.last()
Get aCollector
that calculates theLAST
function.static <T extends Comparable<? super T>>
Collector<T,?, Optional<T>> max()
Get aCollector
that calculates theMAX()
function.max
(Comparator<? super T> comparator) Get aCollector
that calculates theMAX()
function.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<U>> Get aCollector
that calculates theMAX()
function.max
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function.static <T extends Comparable<? super T>>
Collector<T,?, Seq<T>> maxAll()
Get aCollector
that calculates theMAX()
function, producing multiple results.maxAll
(Comparator<? super T> comparator) Get aCollector
that calculates theMAX()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<U>> Get aCollector
that calculates theMAX()
function, producing multiple results.maxAll
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<T>> Get aCollector
that calculates theMAX()
function, producing multiple results.maxAllBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<T>> Get aCollector
that calculates theMAX()
function.maxBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function.static <T extends Comparable<? super T>>
Collector<T,?, Optional<T>> median()
Get aCollector
that calculates theMEDIAN()
function given natural ordering.median
(Comparator<? super T> comparator) Get aCollector
that calculates theMEDIAN()
function given a specific ordering.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<U>> Get aCollector
that calculates theMEDIAN()
function given a specific ordering.median
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMEDIAN()
function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T,?, Seq<T>> Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.medianAll
(Comparator<? super T> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<T>> medianAllBy
(Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.medianAllBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedMEDIAN()
function given natural ordering, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<T>> Get aCollector
that calculates the derivedMEDIAN()
function given natural ordering.medianBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedMEDIAN()
function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T,?, Optional<T>> min()
Get aCollector
that calculates theMIN()
function.min
(Comparator<? super T> comparator) Get aCollector
that calculates theMIN()
function.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<U>> Get aCollector
that calculates theMIN()
function.min
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function.static <T extends Comparable<? super T>>
Collector<T,?, Seq<T>> minAll()
Get aCollector
that calculates theMIN()
function, producing multiple results.minAll
(Comparator<? super T> comparator) Get aCollector
that calculates theMIN()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<U>> Get aCollector
that calculates theMIN()
function, producing multiple results.minAll
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<T>> Get aCollector
that calculates theMIN()
function, producing multiple results.minAllBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<T>> Get aCollector
that calculates theMIN()
function.minBy
(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function.mode()
Get aCollector
that calculates theMODE()
function.modeAll()
Get aCollector
that calculates theMODE()
function.Get aCollector
that calculates theMODE()
function.Get aCollector
that calculates theMODE()
function.Get aCollector
that calculates theNONE()
function.Get aCollector
that calculates theNONE()
function.static <T extends Comparable<? super T>>
Collector<T,?, Optional<T>> percentile
(double percentile) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given natural ordering.percentile
(double percentile, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<U>> percentile
(double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering.percentile
(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T,?, Seq<T>> percentileAll
(double percentile) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.percentileAll
(double percentile, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Seq<T>> percentileAllBy
(double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.percentileAllBy
(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<T>> percentileBy
(double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given natural ordering.percentileBy
(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T,?, Optional<Double>> percentRank
(T value) Get aCollector
that calculates thePERCENT_RANK()
function given natural ordering.percentRank
(T value, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENT_RANK()
function given a specific ordering.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<Double>> percentRankBy
(U value, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENT_RANK()
function given natural ordering.percentRankBy
(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENT_RANK()
function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T,?, Optional<Long>> rank
(T value) Get aCollector
that calculates theRANK()
function given natural ordering.rank
(T value, Comparator<? super T> comparator) Get aCollector
that calculates theRANK()
function given a specific ordering.static <T,
U extends Comparable<? super U>>
Collector<T,?, Optional<Long>> Get aCollector
that calculates the derivedRANK()
function given natural ordering.rankBy
(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedRANK()
function given a specific ordering.Get aCollector
that calculates theREGR_AVGX()
function.regrAvgXDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_AVGX()
function.Get aCollector
that calculates theREGR_AVGY()
function.regrAvgYDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_AVGY()
function.Get aCollector
that calculates theREGR_COUNT()
function.regrCount
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_COUNT()
function.Get aCollector
that calculates theREGR_INTERCEPT()
function.regrInterceptDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_INTERCEPT()
function.Get aCollector
that calculates theregrR2Double()
function.regrR2Double
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theregrR2Double()
function.Get aCollector
that calculates theREGR_SLOPE()
function.regrSlopeDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SLOPE()
function.Get aCollector
that calculates theREGR_SXX()
function.regrSxxDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SXX()
function.Get aCollector
that calculates theREGR_SXY()
function.regrSxyDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SXY()
function.Get aCollector
that calculates theREGR_SYY()
function.regrSyyDouble
(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SYY()
function.Get aCollector
that calculates theSTDDEV_POP()
function.stddevDouble
(ToDoubleFunction<? super T> function) Get aCollector
that calculates theSTDDEV_POP()
function.sum()
taking
(long n) Get aCollector
that takes the firstn
elements from a collection.Get aCollector
that calculates theVAR_POP()
function.varianceDouble
(ToDoubleFunction<? super T> function) Get aCollector
that calculates theVAR_POP()
function.
-
Constructor Details
-
Agg
public Agg()
-
-
Method Details
-
filter
public static <T,A, Collector<T,R> ?, filterR> (Predicate<? super T> predicate, Collector<T, A, R> downstream) Get aCollector
that filters data passed to downstream collector. -
first
Get aCollector
that calculates theFIRST
function.Note that unlike in (Oracle) SQL, where the
FIRST
function is an ordered set aggregate function that produces a set of results, this collector just produces the first value in the order of stream traversal. For matching behaviour to Oracle's [ aggregate function ] KEEP (DENSE_RANK FIRST ORDER BY ... ), usemaxAll(Comparator)
instead. -
last
Get aCollector
that calculates theLAST
function.Note that unlike in (Oracle) SQL, where the
FIRST
function is an ordered set aggregate function that produces a set of results, this collector just produces the first value in the order of stream traversal. For matching behaviour to Oracle's [ aggregate function ] KEEP (DENSE_RANK LAST ORDER BY ... ), useminAll(Comparator)
instead. -
taking
Get aCollector
that takes the firstn
elements from a collection. -
dropping
Get aCollector
that skip the firstn
elements of a collection. -
count
Get aCollector
that calculates theCOUNT(*)
function. -
countDistinct
Get aCollector
that calculates theCOUNT (DISTINCT *)
function. -
countDistinctBy
Get aCollector
that calculates theCOUNT (DISTINCT expr)
function. -
sum
-
sum
-
avg
-
avg
-
min
Get aCollector
that calculates theMIN()
function. -
min
Get aCollector
that calculates theMIN()
function. -
min
public static <T,U extends Comparable<? super U>> Collector<T,?, minOptional<U>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMIN()
function. -
min
public static <T,U> Collector<T,?, minOptional<U>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function. -
minBy
public static <T,U extends Comparable<? super U>> Collector<T,?, minByOptional<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMIN()
function. -
minBy
public static <T,U> Collector<T,?, minByOptional<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function. -
minAll
Get aCollector
that calculates theMIN()
function, producing multiple results. -
minAll
Get aCollector
that calculates theMIN()
function, producing multiple results. -
minAll
public static <T,U extends Comparable<? super U>> Collector<T,?, minAllSeq<U>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMIN()
function, producing multiple results. -
minAll
public static <T,U> Collector<T,?, minAllSeq<U>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function, producing multiple results. -
minAllBy
public static <T,U extends Comparable<? super U>> Collector<T,?, minAllBySeq<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMIN()
function, producing multiple results. -
minAllBy
public static <T,U> Collector<T,?, minAllBySeq<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMIN()
function, producing multiple results. -
max
Get aCollector
that calculates theMAX()
function. -
max
Get aCollector
that calculates theMAX()
function. -
max
public static <T,U extends Comparable<? super U>> Collector<T,?, maxOptional<U>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMAX()
function. -
max
public static <T,U> Collector<T,?, maxOptional<U>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function. -
maxBy
public static <T,U extends Comparable<? super U>> Collector<T,?, maxByOptional<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMAX()
function. -
maxBy
public static <T,U> Collector<T,?, maxByOptional<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function. -
maxAll
Get aCollector
that calculates theMAX()
function, producing multiple results. -
maxAll
Get aCollector
that calculates theMAX()
function, producing multiple results. -
maxAll
public static <T,U extends Comparable<? super U>> Collector<T,?, maxAllSeq<U>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMAX()
function, producing multiple results. -
maxAll
public static <T,U> Collector<T,?, maxAllSeq<U>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function, producing multiple results. -
maxAllBy
public static <T,U extends Comparable<? super U>> Collector<T,?, maxAllBySeq<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMAX()
function, producing multiple results. -
maxAllBy
public static <T,U> Collector<T,?, maxAllBySeq<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMAX()
function, producing multiple results. -
allMatch
Get aCollector
that calculates theALL()
function. -
allMatch
Get aCollector
that calculates theALL()
function. -
anyMatch
Get aCollector
that calculates theANY()
function. -
anyMatch
Get aCollector
that calculates theANY()
function. -
noneMatch
Get aCollector
that calculates theNONE()
function. -
noneMatch
Get aCollector
that calculates theNONE()
function. -
bitAnd
-
bitAnd
-
bitAndInt
-
bitAndLong
-
bitOr
-
bitOr
-
bitOrInt
-
bitOrLong
-
mode
Get aCollector
that calculates theMODE()
function. -
modeAll
Get aCollector
that calculates theMODE()
function. -
modeBy
Get aCollector
that calculates theMODE()
function. -
modeAllBy
Get aCollector
that calculates theMODE()
function. -
rank
Get aCollector
that calculates theRANK()
function given natural ordering. -
rank
Get aCollector
that calculates theRANK()
function given a specific ordering. -
rankBy
public static <T,U extends Comparable<? super U>> Collector<T,?, rankByOptional<Long>> (U value, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedRANK()
function given natural ordering. -
rankBy
public static <T,U> Collector<T,?, rankByOptional<Long>> (U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedRANK()
function given a specific ordering. -
denseRank
Get aCollector
that calculates theDENSE_RANK()
function given natural ordering. -
denseRank
public static <T> Collector<T,?, denseRankOptional<Long>> (T value, Comparator<? super T> comparator) Get aCollector
that calculates theDENSE_RANK()
function given a specific ordering. -
denseRankBy
public static <T,U extends Comparable<? super U>> Collector<T,?, denseRankByOptional<Long>> (U value, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedDENSE_RANK()
function given natural ordering. -
denseRankBy
public static <T,U> Collector<T,?, denseRankByOptional<Long>> (U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedDENSE_RANK()
function given a specific ordering. -
percentRank
public static <T extends Comparable<? super T>> Collector<T,?, percentRankOptional<Double>> (T value) Get aCollector
that calculates thePERCENT_RANK()
function given natural ordering. -
percentRank
public static <T> Collector<T,?, percentRankOptional<Double>> (T value, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENT_RANK()
function given a specific ordering. -
percentRankBy
public static <T,U extends Comparable<? super U>> Collector<T,?, percentRankByOptional<Double>> (U value, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENT_RANK()
function given natural ordering. -
percentRankBy
public static <T,U> Collector<T,?, percentRankByOptional<Double>> (U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENT_RANK()
function given a specific ordering. -
median
Get aCollector
that calculates theMEDIAN()
function given natural ordering. -
median
Get aCollector
that calculates theMEDIAN()
function given a specific ordering. -
median
public static <T,U extends Comparable<? super U>> Collector<T,?, medianOptional<U>> (Function<? super T, ? extends U> function) Get aCollector
that calculates theMEDIAN()
function given a specific ordering. -
median
public static <T,U> Collector<T,?, medianOptional<U>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates theMEDIAN()
function given a specific ordering. -
medianBy
public static <T,U extends Comparable<? super U>> Collector<T,?, medianByOptional<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedMEDIAN()
function given natural ordering. -
medianBy
public static <T,U> Collector<T,?, medianByOptional<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedMEDIAN()
function given a specific ordering. -
percentile
public static <T extends Comparable<? super T>> Collector<T,?, percentileOptional<T>> (double percentile) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given natural ordering. -
percentile
public static <T> Collector<T,?, percentileOptional<T>> (double percentile, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering. -
percentile
public static <T,U extends Comparable<? super U>> Collector<T,?, percentileOptional<U>> (double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering. -
percentile
public static <T,U> Collector<T,?, percentileOptional<U>> (double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering. -
percentileBy
public static <T,U extends Comparable<? super U>> Collector<T,?, percentileByOptional<T>> (double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given natural ordering. -
percentileBy
public static <T,U> Collector<T,?, percentileByOptional<T>> (double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering. -
percentileAll
public static <T extends Comparable<? super T>> Collector<T,?, percentileAllSeq<T>> (double percentile) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
percentileAll
public static <T> Collector<T,?, percentileAllSeq<T>> (double percentile, Comparator<? super T> comparator) Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
percentileAllBy
public static <T,U extends Comparable<? super U>> Collector<T,?, percentileAllBySeq<T>> (double percentile, Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
percentileAllBy
public static <T,U> Collector<T,?, percentileAllBySeq<T>> (double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
medianAll
Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
medianAll
Get aCollector
that calculates thePERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
medianAllBy
public static <T,U extends Comparable<? super U>> Collector<T,?, medianAllBySeq<T>> (Function<? super T, ? extends U> function) Get aCollector
that calculates the derivedPERCENTILE_DISC(percentile)
function given a specific ordering, producing multiple results. -
medianAllBy
public static <T,U> Collector<T,?, medianAllBySeq<T>> (Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollector
that calculates the derivedMEDIAN()
function given natural ordering, producing multiple results. -
stddevDouble
Get aCollector
that calculates theSTDDEV_POP()
function. -
stddevDouble
public static <T,U> Collector<T,?, stddevDoubleOptional<Double>> (ToDoubleFunction<? super T> function) Get aCollector
that calculates theSTDDEV_POP()
function. -
varianceDouble
Get aCollector
that calculates theVAR_POP()
function. -
varianceDouble
public static <T> Collector<T,?, varianceDoubleOptional<Double>> (ToDoubleFunction<? super T> function) Get aCollector
that calculates theVAR_POP()
function. -
covarianceDouble
Get aCollector
that calculates theCOVAR_POP()
function. -
covarianceDouble
public static <T> Collector<T,?, covarianceDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theCOVAR_POP()
function. -
correlationDouble
Get aCollector
that calculates theCORR()
function. -
correlationDouble
public static <T> Collector<T,?, correlationDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theCORR()
function. -
regrCount
Get aCollector
that calculates theREGR_COUNT()
function. -
regrCount
public static <T> Collector<T,?, regrCountLong> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_COUNT()
function. -
regrAvgXDouble
Get aCollector
that calculates theREGR_AVGX()
function. -
regrAvgXDouble
public static <T> Collector<T,?, regrAvgXDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_AVGX()
function. -
regrAvgYDouble
Get aCollector
that calculates theREGR_AVGY()
function. -
regrAvgYDouble
public static <T> Collector<T,?, regrAvgYDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_AVGY()
function. -
regrSxxDouble
Get aCollector
that calculates theREGR_SXX()
function. -
regrSxxDouble
public static <T> Collector<T,?, regrSxxDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SXX()
function. -
regrSxyDouble
Get aCollector
that calculates theREGR_SXY()
function. -
regrSxyDouble
public static <T> Collector<T,?, regrSxyDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SXY()
function. -
regrSyyDouble
Get aCollector
that calculates theREGR_SYY()
function. -
regrSyyDouble
public static <T> Collector<T,?, regrSyyDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SYY()
function. -
regrSlopeDouble
Get aCollector
that calculates theREGR_SLOPE()
function. -
regrSlopeDouble
public static <T> Collector<T,?, regrSlopeDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_SLOPE()
function. -
regrInterceptDouble
Get aCollector
that calculates theREGR_INTERCEPT()
function. -
regrInterceptDouble
public static <T> Collector<T,?, regrInterceptDoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theREGR_INTERCEPT()
function. -
regrR2Double
Get aCollector
that calculates theregrR2Double()
function. -
regrR2Double
public static <T> Collector<T,?, regrR2DoubleOptional<Double>> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollector
that calculates theregrR2Double()
function. -
commonPrefix
Get aCollector
that calculates the common prefix of a set of strings. -
commonSuffix
Get aCollector
that calculates the common suffix of a set of strings.
-