Class IgniteReducer3X<E1,E2,E3,R>
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.IgniteReducer3X<E1,E2,E3,R>
-
- All Implemented Interfaces:
Serializable,IgniteReducer3<E1,E2,E3,R>,IgniteOutClosure<R>
- Direct Known Subclasses:
RX3
public abstract class IgniteReducer3X<E1,E2,E3,R> extends Object implements IgniteReducer3<E1,E2,E3,R>
Convenient reducer subclass that allows for thrown grid exception. This class implementsapply()method that callsapplyx()method and properly wrapsIgniteCheckedExceptionintoGridClosureExceptioninstance.- See Also:
RX3, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IgniteReducer3X()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Rapply()Closure body.abstract Rapplyx()Reducer body that can throwIgniteCheckedException.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.util.lang.IgniteReducer3
collect
-
-
-
-
Method Detail
-
apply
public R apply()
Closure body.- Specified by:
applyin interfaceIgniteOutClosure<E1>- Returns:
- Return value.
-
applyx
public abstract R applyx() throws IgniteCheckedException
Reducer body that can throwIgniteCheckedException.- Returns:
- Reducer return value.
- Throws:
IgniteCheckedException- Thrown in case of any error condition inside of the reducer.
-
-