java.lang.Object
org.evrete.util.SessionCollector<T,S>
- Type Parameters:
T- the type of the input elementsS- the type of theRuleSessioncontext
- All Implemented Interfaces:
Collector<T,S, S>
public class SessionCollector<T,S extends RuleSession<S>>
extends Object
implements Collector<T,S,S>
A class that collects/inserts elements into a
RuleSession instance.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.Collector
Collector.Characteristics -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SessionCollector
-
-
Method Details
-
supplier
- Specified by:
supplierin interfaceCollector<T,S extends RuleSession<S>, S extends RuleSession<S>>
-
accumulator
- Specified by:
accumulatorin interfaceCollector<T,S extends RuleSession<S>, S extends RuleSession<S>>
-
combiner
- Specified by:
combinerin interfaceCollector<T,S extends RuleSession<S>, S extends RuleSession<S>>
-
finisher
- Specified by:
finisherin interfaceCollector<T,S extends RuleSession<S>, S extends RuleSession<S>>
-
characteristics
- Specified by:
characteristicsin interfaceCollector<T,S extends RuleSession<S>, S extends RuleSession<S>>
-