public class IdentityMultiReducer extends Object implements MultiReducer
Constructor and Description |
---|
IdentityMultiReducer() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
complete(Object state,
TridentCollector collector) |
void |
execute(Object state,
int streamIndex,
TridentTuple input,
TridentCollector collector) |
Object |
init(TridentCollector collector) |
void |
prepare(Map conf,
TridentMultiReducerContext context) |
public void prepare(Map conf, TridentMultiReducerContext context)
prepare
in interface MultiReducer
public Object init(TridentCollector collector)
init
in interface MultiReducer
public void execute(Object state, int streamIndex, TridentTuple input, TridentCollector collector)
execute
in interface MultiReducer
public void complete(Object state, TridentCollector collector)
complete
in interface MultiReducer
public void cleanup()
cleanup
in interface MultiReducer
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.