Class Agg
java.lang.Object
org.jooq.lambda.Agg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallMatch()Get aCollectorthat calculates theALL()function.Get aCollectorthat calculates theALL()function.anyMatch()Get aCollectorthat calculates theANY()function.Get aCollectorthat calculates theANY()function.avg()private static <T> doubleavg0(List<T> list, ToDoubleFunction<? super T> function) 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 aCollectorthat calculates the common prefix of a set of strings.static Collector<CharSequence, ?, String> Get aCollectorthat calculates the common suffix of a set of strings.Get aCollectorthat calculates theCORR()function.correlationDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theCORR()function.count()Get aCollectorthat calculates theCOUNT(*)function.Get aCollectorthat calculates theCOUNT (DISTINCT *)function.countDistinctBy(Function<? super T, ? extends U> function) Get aCollectorthat calculates theCOUNT (DISTINCT expr)function.Get aCollectorthat calculates theCOVAR_POP()function.covarianceDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theCOVAR_POP()function.covarianceFinisher(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY, BiFunction<List<T>, ToDoubleFunction<? super T>, Double> sumOrAvg) static <T extends Comparable<? super T>>
Collector<T, ?, Optional<Long>> denseRank(T value) Get aCollectorthat calculates theDENSE_RANK()function given natural ordering.denseRank(T value, Comparator<? super T> comparator) Get aCollectorthat 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 aCollectorthat calculates the derivedDENSE_RANK()function given natural ordering.denseRankBy(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedDENSE_RANK()function given a specific ordering.dropping(long n) Get aCollectorthat skip the firstnelements of a collection.static <T,A, R> Collector <T, ?, R> Get aCollectorthat filters data passed to downstream collector.first()Get aCollectorthat calculates theFIRSTfunction.last()Get aCollectorthat calculates theLASTfunction.private static <T1,T2, R> Optional <R> private static <T1,T2, T3, R>
Optional<R> static <T extends Comparable<? super T>>
Collector<T, ?, Optional<T>> max()Get aCollectorthat calculates theMAX()function.max(Comparator<? super T> comparator) Get aCollectorthat calculates theMAX()function.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<U>> Get aCollectorthat calculates theMAX()function.max(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function.static <T extends Comparable<? super T>>
Collector<T, ?, Seq<T>> maxAll()Get aCollectorthat calculates theMAX()function, producing multiple results.maxAll(Comparator<? super T> comparator) Get aCollectorthat calculates theMAX()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Seq<U>> Get aCollectorthat calculates theMAX()function, producing multiple results.maxAll(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Seq<T>> Get aCollectorthat calculates theMAX()function, producing multiple results.maxAllBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<T>> Get aCollectorthat calculates theMAX()function.maxBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function.static <T extends Comparable<? super T>>
Collector<T, ?, Optional<T>> median()Get aCollectorthat calculates theMEDIAN()function given natural ordering.median(Comparator<? super T> comparator) Get aCollectorthat calculates theMEDIAN()function given a specific ordering.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<U>> Get aCollectorthat calculates theMEDIAN()function given a specific ordering.median(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMEDIAN()function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T, ?, Seq<T>> Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering, producing multiple results.medianAll(Comparator<? super T> comparator) Get aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates the derivedMEDIAN()function given natural ordering, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<T>> Get aCollectorthat calculates the derivedMEDIAN()function given natural ordering.medianBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedMEDIAN()function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T, ?, Optional<T>> min()Get aCollectorthat calculates theMIN()function.min(Comparator<? super T> comparator) Get aCollectorthat calculates theMIN()function.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<U>> Get aCollectorthat calculates theMIN()function.min(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function.static <T extends Comparable<? super T>>
Collector<T, ?, Seq<T>> minAll()Get aCollectorthat calculates theMIN()function, producing multiple results.minAll(Comparator<? super T> comparator) Get aCollectorthat calculates theMIN()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Seq<U>> Get aCollectorthat calculates theMIN()function, producing multiple results.minAll(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Seq<T>> Get aCollectorthat calculates theMIN()function, producing multiple results.minAllBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function, producing multiple results.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<T>> Get aCollectorthat calculates theMIN()function.minBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function.mode()Get aCollectorthat calculates theMODE()function.private static <T,X> Collector <T, ?, X> modeAll()Get aCollectorthat calculates theMODE()function.Get aCollectorthat calculates theMODE()function.Get aCollectorthat calculates theMODE()function.Get aCollectorthat calculates theNONE()function.Get aCollectorthat calculates theNONE()function.static <T extends Comparable<? super T>>
Collector<T, ?, Optional<T>> percentile(double percentile) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given natural ordering.percentile(double percentile, Comparator<? super T> comparator) Get aCollectorthat 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 aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering.percentile(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T, ?, Seq<T>> percentileAll(double percentile) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering, producing multiple results.percentileAll(double percentile, Comparator<? super T> comparator) Get aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates the derivedPERCENTILE_DISC(percentile)function given natural ordering.percentileBy(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedPERCENTILE_DISC(percentile)function given a specific ordering.percentileCollector(Function<? super T, ? extends U> function, Comparator<? super U> comparator, Supplier<R> onEmpty, Function<T, R> onSingle, Function<List<Tuple2<T, U>>, R> finisher) private static intpercentileIndex(double percentile, int size) static <T extends Comparable<? super T>>
Collector<T, ?, Optional<Double>> percentRank(T value) Get aCollectorthat calculates thePERCENT_RANK()function given natural ordering.percentRank(T value, Comparator<? super T> comparator) Get aCollectorthat 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 aCollectorthat calculates the derivedPERCENT_RANK()function given natural ordering.percentRankBy(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedPERCENT_RANK()function given a specific ordering.static <T extends Comparable<? super T>>
Collector<T, ?, Optional<Long>> rank(T value) Get aCollectorthat calculates theRANK()function given natural ordering.rank(T value, Comparator<? super T> comparator) Get aCollectorthat calculates theRANK()function given a specific ordering.static <T, U extends Comparable<? super U>>
Collector<T, ?, Optional<Long>> Get aCollectorthat calculates the derivedRANK()function given natural ordering.rankBy(U value, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedRANK()function given a specific ordering.Get aCollectorthat calculates theREGR_AVGX()function.regrAvgXDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_AVGX()function.Get aCollectorthat calculates theREGR_AVGY()function.regrAvgYDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_AVGY()function.Get aCollectorthat calculates theREGR_COUNT()function.regrCount(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_COUNT()function.Get aCollectorthat calculates theREGR_INTERCEPT()function.regrInterceptDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_INTERCEPT()function.Get aCollectorthat calculates theregrR2Double()function.regrR2Double(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theregrR2Double()function.Get aCollectorthat calculates theREGR_SLOPE()function.regrSlopeDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SLOPE()function.Get aCollectorthat calculates theREGR_SXX()function.regrSxxDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SXX()function.Get aCollectorthat calculates theREGR_SXY()function.regrSxyDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SXY()function.Get aCollectorthat calculates theREGR_SYY()function.regrSyyDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SYY()function.Get aCollectorthat calculates theSTDDEV_POP()function.stddevDouble(ToDoubleFunction<? super T> function) Get aCollectorthat calculates theSTDDEV_POP()function.sum()private static <T> doublesum0(List<T> list, ToDoubleFunction<? super T> function) taking(long n) Get aCollectorthat takes the firstnelements from a collection.private static <T> doublevariance0(List<T> l, ToDoubleFunction<? super T> function) Get aCollectorthat calculates theVAR_POP()function.varianceDouble(ToDoubleFunction<? super T> function) Get aCollectorthat calculates theVAR_POP()function.
-
Constructor Details
-
Agg
public Agg()
-
-
Method Details
-
filter
-
first
Get aCollectorthat calculates theFIRSTfunction.Note that unlike in (Oracle) SQL, where the
FIRSTfunction 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 aCollectorthat calculates theLASTfunction.Note that unlike in (Oracle) SQL, where the
FIRSTfunction 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
-
dropping
-
count
-
countDistinct
-
countDistinctBy
-
sum
-
sum
-
avg
-
avg
-
min
Get aCollectorthat calculates theMIN()function. -
min
Get aCollectorthat calculates theMIN()function. -
min
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<U>> min(Function<? super T, ? extends U> function) Get aCollectorthat calculates theMIN()function. -
min
public static <T,U> Collector<T, ?, Optional<U>> min(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function. -
minBy
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<T>> minBy(Function<? super T, ? extends U> function) Get aCollectorthat calculates theMIN()function. -
minBy
public static <T,U> Collector<T, ?, Optional<T>> minBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMIN()function. -
minAll
Get aCollectorthat calculates theMIN()function, producing multiple results. -
minAll
Get aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates theMIN()function, producing multiple results. -
max
Get aCollectorthat calculates theMAX()function. -
max
Get aCollectorthat calculates theMAX()function. -
max
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<U>> max(Function<? super T, ? extends U> function) Get aCollectorthat calculates theMAX()function. -
max
public static <T,U> Collector<T, ?, Optional<U>> max(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function. -
maxBy
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<T>> maxBy(Function<? super T, ? extends U> function) Get aCollectorthat calculates theMAX()function. -
maxBy
public static <T,U> Collector<T, ?, Optional<T>> maxBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMAX()function. -
maxAll
Get aCollectorthat calculates theMAX()function, producing multiple results. -
maxAll
Get aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates theMAX()function, producing multiple results. -
allMatch
-
allMatch
-
anyMatch
-
anyMatch
-
noneMatch
-
noneMatch
-
bitAnd
-
bitAnd
-
bitAndInt
-
bitAndLong
-
bitOr
-
bitOr
-
bitOrInt
-
bitOrLong
-
mode
-
modeAll
-
mode0
-
modeBy
-
modeAllBy
-
rank
Get aCollectorthat calculates theRANK()function given natural ordering. -
rank
Get aCollectorthat calculates theRANK()function given a specific ordering. -
rankBy
-
rankBy
-
denseRank
Get aCollectorthat calculates theDENSE_RANK()function given natural ordering. -
denseRank
public static <T> Collector<T, ?, Optional<Long>> denseRank(T value, Comparator<? super T> comparator) Get aCollectorthat calculates theDENSE_RANK()function given a specific ordering. -
denseRankBy
-
denseRankBy
-
percentRank
public static <T extends Comparable<? super T>> Collector<T, ?, Optional<Double>> percentRank(T value) Get aCollectorthat calculates thePERCENT_RANK()function given natural ordering. -
percentRank
public static <T> Collector<T, ?, Optional<Double>> percentRank(T value, Comparator<? super T> comparator) Get aCollectorthat calculates thePERCENT_RANK()function given a specific ordering. -
percentRankBy
-
percentRankBy
-
median
Get aCollectorthat calculates theMEDIAN()function given natural ordering. -
median
Get aCollectorthat calculates theMEDIAN()function given a specific ordering. -
median
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<U>> median(Function<? super T, ? extends U> function) Get aCollectorthat calculates theMEDIAN()function given a specific ordering. -
median
public static <T,U> Collector<T, ?, Optional<U>> median(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates theMEDIAN()function given a specific ordering. -
medianBy
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<T>> medianBy(Function<? super T, ? extends U> function) Get aCollectorthat calculates the derivedMEDIAN()function given natural ordering. -
medianBy
public static <T,U> Collector<T, ?, Optional<T>> medianBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates the derivedMEDIAN()function given a specific ordering. -
percentile
public static <T extends Comparable<? super T>> Collector<T, ?, Optional<T>> percentile(double percentile) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given natural ordering. -
percentile
public static <T> Collector<T, ?, Optional<T>> percentile(double percentile, Comparator<? super T> comparator) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering. -
percentile
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<U>> percentile(double percentile, Function<? super T, ? extends U> function) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering. -
percentile
public static <T,U> Collector<T, ?, Optional<U>> percentile(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering. -
percentileBy
public static <T, U extends Comparable<? super U>> Collector<T, ?, Optional<T>> percentileBy(double percentile, Function<? super T, ? extends U> function) Get aCollectorthat calculates the derivedPERCENTILE_DISC(percentile)function given natural ordering. -
percentileBy
public static <T,U> Collector<T, ?, Optional<T>> percentileBy(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator) Get aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates the derivedPERCENTILE_DISC(percentile)function given a specific ordering, producing multiple results. -
percentileCollector
-
percentileIndex
private static int percentileIndex(double percentile, int size) -
medianAll
Get aCollectorthat calculates thePERCENTILE_DISC(percentile)function given a specific ordering, producing multiple results. -
medianAll
Get aCollectorthat 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 aCollectorthat 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 aCollectorthat calculates the derivedMEDIAN()function given natural ordering, producing multiple results. -
stddevDouble
-
stddevDouble
public static <T,U> Collector<T, ?, Optional<Double>> stddevDouble(ToDoubleFunction<? super T> function) Get aCollectorthat calculates theSTDDEV_POP()function. -
varianceDouble
-
varianceDouble
public static <T> Collector<T, ?, Optional<Double>> varianceDouble(ToDoubleFunction<? super T> function) Get aCollectorthat calculates theVAR_POP()function. -
variance0
-
covarianceDouble
-
covarianceDouble
public static <T> Collector<T, ?, Optional<Double>> covarianceDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theCOVAR_POP()function. -
covarianceFinisher
private static <T> Function<List<T>, Optional<Double>> covarianceFinisher(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY, BiFunction<List<T>, ToDoubleFunction<? super T>, Double> sumOrAvg) -
correlationDouble
-
correlationDouble
public static <T> Collector<T, ?, Optional<Double>> correlationDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theCORR()function. -
regrCount
-
regrCount
public static <T> Collector<T,?, regrCountLong> (ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_COUNT()function. -
regrAvgXDouble
-
regrAvgXDouble
public static <T> Collector<T, ?, Optional<Double>> regrAvgXDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_AVGX()function. -
regrAvgYDouble
-
regrAvgYDouble
public static <T> Collector<T, ?, Optional<Double>> regrAvgYDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_AVGY()function. -
regrSxxDouble
-
regrSxxDouble
public static <T> Collector<T, ?, Optional<Double>> regrSxxDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SXX()function. -
regrSxyDouble
-
regrSxyDouble
public static <T> Collector<T, ?, Optional<Double>> regrSxyDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SXY()function. -
regrSyyDouble
-
regrSyyDouble
public static <T> Collector<T, ?, Optional<Double>> regrSyyDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SYY()function. -
regrSlopeDouble
-
regrSlopeDouble
public static <T> Collector<T, ?, Optional<Double>> regrSlopeDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_SLOPE()function. -
regrInterceptDouble
-
regrInterceptDouble
public static <T> Collector<T, ?, Optional<Double>> regrInterceptDouble(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theREGR_INTERCEPT()function. -
regrR2Double
-
regrR2Double
public static <T> Collector<T, ?, Optional<Double>> regrR2Double(ToDoubleFunction<? super T> functionX, ToDoubleFunction<? super T> functionY) Get aCollectorthat calculates theregrR2Double()function. -
sum0
-
avg0
-
commonPrefix
Get aCollectorthat calculates the common prefix of a set of strings. -
commonSuffix
Get aCollectorthat calculates the common suffix of a set of strings. -
mapAll
-
mapAll
-