Class LongMinAccumulateFunction
java.lang.Object
org.drools.core.base.accumulators.AbstractAccumulateFunction<LongMinAccumulateFunction.MinData>
org.drools.core.base.accumulators.LongMinAccumulateFunction
- All Implemented Interfaces:
Externalizable,Serializable,AccumulateFunction<LongMinAccumulateFunction.MinData>
public class LongMinAccumulateFunction
extends AbstractAccumulateFunction<LongMinAccumulateFunction.MinData>
An implementation of an accumulator capable of calculating maximum values
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(LongMinAccumulateFunction.MinData data, Object value) Class<?>voidvoidvoidreverse(LongMinAccumulateFunction.MinData data, Object value) booleanbooleantryReverse(LongMinAccumulateFunction.MinData data, Object value) voidMethods inherited from class org.drools.core.base.accumulators.AbstractAccumulateFunction
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.runtime.rule.AccumulateFunction
accumulateValue, initContext
-
Constructor Details
-
LongMinAccumulateFunction
public LongMinAccumulateFunction()
-
-
Method Details
-
readExternal
- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Throws:
IOException
-
createContext
-
init
-
accumulate
-
reverse
-
tryReverse
-
getResult
-
supportsReverse
public boolean supportsReverse() -
getResultType
-