public class TokenOutputFormat extends org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
| Modifier and Type | Class and Description |
|---|---|
static class |
TokenOutputFormat.TokenOutputCommitter |
| Constructor and Description |
|---|
TokenOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) |
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Get the output commiter.
|
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Get the record writer.
|
public TokenOutputFormat()
public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
getRecordWriter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>java.io.IOExceptionjava.lang.InterruptedExceptionpublic void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) throws java.io.IOException, java.lang.InterruptedException
checkOutputSpecs in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>java.io.IOExceptionjava.lang.InterruptedExceptionpublic org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
getOutputCommitter in class org.apache.hadoop.mapreduce.OutputFormat<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>java.io.IOExceptionjava.lang.InterruptedException