In file Pipes.hh:

class HadoopPipes::TaskContext

Task context provides the information about the task and job

Inheritance:


Public Methods

[more]virtual const JobConf* getJobConf() = 0
Get the JobConf for the current task
[more]virtual const std::string& getInputKey() = 0
Get the current key.
[more]virtual const std::string& getInputValue() = 0
Get the current value.
[more]virtual void emit(const std::string& key, const std::string& value) = 0
Generate an output record
[more]virtual void progress() = 0
Mark your task as having made progress without changing the status message
[more]virtual void setStatus(const std::string& status) = 0
Set the status message and call progress
[more]virtual ~TaskContext()


Documentation

Task context provides the information about the task and job
ovirtual const JobConf* getJobConf() = 0
Get the JobConf for the current task

ovirtual const std::string& getInputKey() = 0
Get the current key.
Returns:
the current key

ovirtual const std::string& getInputValue() = 0
Get the current value.
Returns:
the current value

ovirtual void emit(const std::string& key, const std::string& value) = 0
Generate an output record

ovirtual void progress() = 0
Mark your task as having made progress without changing the status message

ovirtual void setStatus(const std::string& status) = 0
Set the status message and call progress

ovirtual ~TaskContext()


Direct child classes:
ReduceContext
MapContext

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.