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.


构造方法摘要
GuaguaRecordWriter()
           
 
方法摘要
 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.