Class IdentityMultiReducer<T>
- java.lang.Object
-
- org.apache.storm.trident.operation.impl.IdentityMultiReducer<T>
-
- All Implemented Interfaces:
Serializable
,MultiReducer<T>
public class IdentityMultiReducer<T> extends Object implements MultiReducer<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityMultiReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
complete(T state, TridentCollector collector)
void
execute(T state, int streamIndex, TridentTuple input, TridentCollector collector)
T
init(TridentCollector collector)
void
prepare(Map<String,Object> conf, TridentMultiReducerContext context)
-
-
-
Method Detail
-
prepare
public void prepare(Map<String,Object> conf, TridentMultiReducerContext context)
- Specified by:
prepare
in interfaceMultiReducer<T>
-
init
public T init(TridentCollector collector)
- Specified by:
init
in interfaceMultiReducer<T>
-
execute
public void execute(T state, int streamIndex, TridentTuple input, TridentCollector collector)
- Specified by:
execute
in interfaceMultiReducer<T>
-
complete
public void complete(T state, TridentCollector collector)
- Specified by:
complete
in interfaceMultiReducer<T>
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceMultiReducer<T>
-
-