15 #ifndef REDUCE_TASK_CORE_H
16 #define REDUCE_TASK_CORE_H
18 #include <Poco/SharedPtr.h>
33 virtual void reset() = 0;
34 virtual void getNext(std::string &
key, std::string &value) = 0;
45 virtual void addKeyValue(
const std::string &
key,
const std::string &value) = 0;
67 virtual void fillReduceResult(Poco::SharedPtr<ReduceResultIf> reduceResult) = 0;
80 virtual Poco::SharedPtr<ReduceTaskIf>
getReduceTask()
const = 0;
92 virtual void executeJob(
const Poco::SharedPtr<ReduceJobIf> &reduceJob) = 0;