public class BinStorageRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>
| Modifier and Type | Field and Description | 
|---|---|
| static int | RECORD_1 | 
| static int | RECORD_2 | 
| static int | RECORD_3 | 
| Constructor and Description | 
|---|
| BinStorageRecordReader() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| org.apache.hadoop.io.Text | getCurrentKey() | 
| Tuple | getCurrentValue() | 
| float | getProgress()Get the progress within the split | 
| void | initialize(org.apache.hadoop.mapreduce.InputSplit genericSplit,
          org.apache.hadoop.mapreduce.TaskAttemptContext context) | 
| boolean | nextKeyValue() | 
public static final int RECORD_1
public static final int RECORD_2
public static final int RECORD_3
public void initialize(org.apache.hadoop.mapreduce.InputSplit genericSplit,
                       org.apache.hadoop.mapreduce.TaskAttemptContext context)
                throws IOException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>IOExceptionpublic boolean nextKeyValue()
                     throws IOException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>IOExceptionpublic org.apache.hadoop.io.Text getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>public Tuple getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>public float getProgress()
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple>IOExceptionCopyright © 2007-2017 The Apache Software Foundation