@InterfaceAudience.Private public class TaskContext extends Object
Constructor and Description |
---|
TaskContext(org.apache.hadoop.mapred.JobConf conf,
Class<?> iKClass,
Class<?> iVClass,
Class<?> oKClass,
Class<?> oVClass,
org.apache.hadoop.mapred.Task.TaskReporter reporter,
org.apache.hadoop.mapred.TaskAttemptID id) |
Modifier and Type | Method and Description |
---|---|
TaskContext |
copyOf() |
org.apache.hadoop.mapred.JobConf |
getConf() |
Class<?> |
getInputKeyClass() |
Class<?> |
getInputValueClass() |
Class<?> |
getOutputKeyClass() |
Class<?> |
getOutputValueClass() |
org.apache.hadoop.mapred.TaskAttemptID |
getTaskAttemptId() |
org.apache.hadoop.mapred.Task.TaskReporter |
getTaskReporter() |
void |
setInputKeyClass(Class<?> klass) |
void |
setInputValueClass(Class<?> klass) |
void |
setOutputKeyClass(Class<?> klass) |
void |
setOutputValueClass(Class<?> klass) |
public Class<?> getInputKeyClass()
public void setInputKeyClass(Class<?> klass)
public Class<?> getInputValueClass()
public void setInputValueClass(Class<?> klass)
public Class<?> getOutputKeyClass()
public void setOutputKeyClass(Class<?> klass)
public Class<?> getOutputValueClass()
public void setOutputValueClass(Class<?> klass)
public org.apache.hadoop.mapred.Task.TaskReporter getTaskReporter()
public org.apache.hadoop.mapred.TaskAttemptID getTaskAttemptId()
public org.apache.hadoop.mapred.JobConf getConf()
public TaskContext copyOf()
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.