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) |
OrcMapreduceRecordReader(Reader fileReader,
Reader.Options options,
int rowBatchSize) |
OrcMapreduceRecordReader(RecordReader reader,
TypeDescription schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
NullWritable |
getCurrentKey() |
V |
getCurrentValue() |
float |
getProgress() |
void |
initialize(InputSplit inputSplit,
TaskAttemptContext taskAttemptContext) |
boolean |
nextKeyValue() |
public OrcMapreduceRecordReader(RecordReader reader, TypeDescription schema) throws IOException
IOExceptionpublic OrcMapreduceRecordReader(Reader fileReader, Reader.Options options) throws IOException
IOExceptionpublic OrcMapreduceRecordReader(Reader fileReader, Reader.Options options, int rowBatchSize) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class RecordReader<NullWritable,V extends WritableComparable>IOExceptionpublic 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>IOExceptionInterruptedExceptionpublic NullWritable getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class RecordReader<NullWritable,V extends WritableComparable>IOExceptionInterruptedExceptionpublic V getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class RecordReader<NullWritable,V extends WritableComparable>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException
getProgress in class RecordReader<NullWritable,V extends WritableComparable>IOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.