Class BoundaryRecordReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class BoundaryRecordReader extends org.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
-
-
Constructor Summary
Constructors Constructor Description BoundaryRecordReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Long
getCurrentKey()
BoundBox
getCurrentValue()
float
getProgress()
void
initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
boolean
nextKeyValue()
-
-
-
Method Detail
-
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException
- Specified by:
initialize
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
InterruptedException
-
nextKeyValue
public boolean nextKeyValue() throws IOException, InterruptedException
- Specified by:
nextKeyValue
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
InterruptedException
-
getCurrentKey
public Long getCurrentKey() throws IOException, InterruptedException
- Specified by:
getCurrentKey
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
InterruptedException
-
getCurrentValue
public BoundBox getCurrentValue() throws IOException, InterruptedException
- Specified by:
getCurrentValue
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
InterruptedException
-
getProgress
public float getProgress() throws IOException, InterruptedException
- Specified by:
getProgress
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
InterruptedException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordReader<Long,BoundBox>
- Throws:
IOException
-
-