Package org.drools.ruleunits.dsl
Class Accumulators
java.lang.Object
org.drools.ruleunits.dsl.Accumulators
A set of convenient factory methods to create the accumulators used in the rule unit Java DSL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A,B> Accumulator1<A, Double> static <A,B> Accumulator1<A, List> collect()static <A,B> Accumulator1<A, List> static <A,B> Accumulator1<A, Set> static <A,B> Accumulator1<A, Set> collectSet(Function1<A, B> bindingFunc) static <A,B> Accumulator1<A, Long> count()static <A,B> Accumulator1<A, Integer> static <A,B> Accumulator1<A, Long> static <A,B> Accumulator1<A, Integer> static <A,B> Accumulator1<A, Long> static <A,B> Accumulator1<A, Integer> static <A,B> Accumulator1<A, Long>
-
Constructor Details
-
Accumulators
public Accumulators()
-
-
Method Details
-
count
-
collect
-
collect
-
collectSet
-
collectSet
-
sum
-
sumLong
-
avg
-
min
-
minLong
-
max
-
maxLong
-