public class WacInputFormat.ArchiveRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>
| Constructor and Description | 
|---|
ArchiveRecordReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
org.apache.hadoop.io.LongWritable | 
getCurrentKey()  | 
ArchiveRecordWritable | 
getCurrentValue()  | 
float | 
getProgress()  | 
void | 
initialize(org.apache.hadoop.mapreduce.InputSplit archiveRecordSplit,
          org.apache.hadoop.mapreduce.TaskAttemptContext context)  | 
boolean | 
nextKeyValue()  | 
public ArchiveRecordReader()
public final void initialize(org.apache.hadoop.mapreduce.InputSplit archiveRecordSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>IOExceptionpublic final boolean nextKeyValue() throws IOException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>IOExceptionpublic final org.apache.hadoop.io.LongWritable getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>public final ArchiveRecordWritable getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>public final float getProgress() throws IOException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>IOExceptionpublic final void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,ArchiveRecordWritable>IOExceptionCopyright © 2018 The Archives Unleased Project. All rights reserved.