In file Pipes.hh: Task context provides the information about the task and job
Inheritance:
Public Methods
-
virtual const JobConf* getJobConf() = 0
- Get the JobConf for the current task
-
virtual const std::string& getInputKey() = 0
- Get the current key.
-
virtual const std::string& getInputValue() = 0
- Get the current value.
-
virtual void emit(const std::string& key, const std::string& value) = 0
- Generate an output record
-
virtual void progress() = 0
- Mark your task as having made progress without changing the status message
-
virtual void setStatus(const std::string& status) = 0
- Set the status message and call progress
-
virtual ~TaskContext()
Documentation
Task context provides the information about the task and job
virtual const JobConf* getJobConf() = 0
-
Get the JobConf for the current task
virtual const std::string& getInputKey() = 0
-
Get the current key.
- Returns:
- the current key
virtual const std::string& getInputValue() = 0
-
Get the current value.
- Returns:
- the current value
virtual void emit(const std::string& key, const std::string& value) = 0
-
Generate an output record
virtual void progress() = 0
-
Mark your task as having made progress without changing the status
message
virtual void setStatus(const std::string& status) = 0
-
Set the status message and call progress
virtual ~TaskContext()
- Direct child classes:
- ReduceContext
MapContext
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.