ml.shifu.guagua.mapreduce
类 GuaguaLineRecordReader
java.lang.Object
ml.shifu.guagua.mapreduce.GuaguaLineRecordReader
- 所有已实现的接口:
- ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>>
public class GuaguaLineRecordReader
- extends Object
- implements ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>>
Copy from LineRecordReader but to support GuaguaRecordReader interface.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuaguaLineRecordReader
public GuaguaLineRecordReader()
initialize
public void initialize(ml.shifu.guagua.io.GuaguaFileSplit genericSplit)
throws IOException
- 指定者:
- 接口
ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>> 中的 initialize
- 抛出:
IOException
nextKeyValue
public boolean nextKeyValue()
throws IOException
- 指定者:
- 接口
ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>> 中的 nextKeyValue
- 抛出:
IOException
getCurrentKey
public GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable> getCurrentKey()
- 指定者:
- 接口
ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>> 中的 getCurrentKey
getCurrentValue
public GuaguaWritableAdapter<org.apache.hadoop.io.Text> getCurrentValue()
- 指定者:
- 接口
ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>> 中的 getCurrentValue
getProgress
public float getProgress()
- Get the progress within the split
close
public void close()
throws IOException
- 指定者:
- 接口
ml.shifu.guagua.io.GuaguaRecordReader<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.Text>> 中的 close
- 抛出:
IOException
Copyright © 2014. All Rights Reserved.