public class CrossProductRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>
| Constructor and Description |
|---|
CrossProductRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.Text |
getCurrentKey() |
TextArrayWritable |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>public org.apache.hadoop.io.Text getCurrentKey()
throws IOException,
InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>IOExceptionInterruptedExceptionpublic TextArrayWritable getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>public float getProgress()
throws IOException,
InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,TextArrayWritable>IOExceptionCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.