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