ml.shifu.guagua.mapreduce
类 GuaguaRecordWriter
java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
ml.shifu.guagua.mapreduce.GuaguaRecordWriter
public class GuaguaRecordWriter
- extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
We don't use GuaguaRecordWriter but hadoop MapReduce needs it.
|
方法摘要 |
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
|
void |
write(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuaguaRecordWriter
public GuaguaRecordWriter()
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- 指定者:
- 类
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> 中的 close
- 抛出:
IOException
InterruptedException
write
public void write(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value)
throws IOException,
InterruptedException
- 指定者:
- 类
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> 中的 write
- 抛出:
IOException
InterruptedException
Copyright © 2014. All Rights Reserved.