V
- the root type of the filepublic class OrcMapreduceRecordReader<V extends WritableComparable> extends RecordReader<NullWritable,V>
Constructor and Description |
---|
OrcMapreduceRecordReader(Reader fileReader,
Reader.Options options) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
NullWritable |
getCurrentKey() |
V |
getCurrentValue() |
float |
getProgress() |
void |
initialize(InputSplit inputSplit,
TaskAttemptContext taskAttemptContext) |
boolean |
nextKeyValue() |
public OrcMapreduceRecordReader(Reader fileReader, Reader.Options options) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class RecordReader<NullWritable,V extends WritableComparable>
IOException
public void initialize(InputSplit inputSplit, TaskAttemptContext taskAttemptContext)
initialize
in class RecordReader<NullWritable,V extends WritableComparable>
public boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue
in class RecordReader<NullWritable,V extends WritableComparable>
IOException
InterruptedException
public NullWritable getCurrentKey() throws IOException, InterruptedException
getCurrentKey
in class RecordReader<NullWritable,V extends WritableComparable>
IOException
InterruptedException
public V getCurrentValue() throws IOException, InterruptedException
getCurrentValue
in class RecordReader<NullWritable,V extends WritableComparable>
IOException
InterruptedException
public float getProgress() throws IOException
getProgress
in class RecordReader<NullWritable,V extends WritableComparable>
IOException
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.