public class RDFRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>
| Constructor and Description |
|---|
RDFRecordReader(ModifiableHadoopConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.NullWritable |
getCurrentKey() |
FaunusElement |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit genericSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public RDFRecordReader(ModifiableHadoopConfiguration configuration) throws IOException
IOExceptionpublic 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.NullWritable,FaunusElement>IOExceptionpublic boolean nextKeyValue()
throws IOException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>IOExceptionpublic org.apache.hadoop.io.NullWritable getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>public FaunusElement getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>public float getProgress()
throws IOException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusElement>IOExceptionCopyright © 2012–2016. All rights reserved.