public class JoinerMultiReducer extends Object implements GroupedMultiReducer<JoinState>
Constructor and Description |
---|
JoinerMultiReducer(List<JoinType> types,
int numGroupFields,
List<Fields> sides) |
Modifier and Type | Method and 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) |
public void prepare(Map<String,Object> conf, TridentMultiReducerContext context)
prepare
in interface GroupedMultiReducer<JoinState>
public JoinState init(TridentCollector collector, TridentTuple group)
init
in interface GroupedMultiReducer<JoinState>
public void execute(JoinState state, int streamIndex, TridentTuple group, TridentTuple input, TridentCollector collector)
execute
in interface GroupedMultiReducer<JoinState>
public void complete(JoinState state, TridentTuple group, TridentCollector collector)
complete
in interface GroupedMultiReducer<JoinState>
public void cleanup()
cleanup
in interface GroupedMultiReducer<JoinState>
Copyright © 2022 The Apache Software Foundation. All rights reserved.