public class PreservingFieldsOrderJoinerMultiReducer extends Object implements GroupedMultiReducer<JoinState>
Constructor and Description |
---|
PreservingFieldsOrderJoinerMultiReducer(List<JoinType> types,
int numGroupFields,
List<Fields> origins,
List<Fields> joins,
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 conf,
TridentMultiReducerContext context) |
public void prepare(Map 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 © 2019 The Apache Software Foundation. All Rights Reserved.