public class CombineSequenceFileRecordReader<K,V>
extends org.apache.hadoop.mapreduce.RecordReader<K,V>
| 构造器和说明 |
|---|
CombineSequenceFileRecordReader(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
Integer index) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
K |
getCurrentKey() |
V |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit curSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext curContext) |
boolean |
nextKeyValue() |
public CombineSequenceFileRecordReader(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
Integer index)
throws IOException,
InterruptedException
public void initialize(org.apache.hadoop.mapreduce.InputSplit curSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext curContext)
throws IOException,
InterruptedException
initialize 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionpublic K getCurrentKey() throws IOException, InterruptedException
getCurrentKey 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionInterruptedExceptionpublic V getCurrentValue() throws IOException, InterruptedException
getCurrentValue 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue 在类中 org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.