V - the root type of the filepublic class OrcMapredRecordReader<V extends WritableComparable> extends Object implements RecordReader<NullWritable,V>
| Modifier | Constructor and Description | 
|---|---|
| protected  | OrcMapredRecordReader(Reader fileReader,
                     Reader.Options options) | 
| protected  | OrcMapredRecordReader(Reader fileReader,
                     Reader.Options options,
                     int rowBatchSize) | 
|   | OrcMapredRecordReader(RecordReader reader,
                     TypeDescription schema) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| NullWritable | createKey() | 
| V | createValue() | 
| long | getPos() | 
| float | getProgress() | 
| boolean | next(NullWritable key,
    V value) | 
| static WritableComparable | nextValue(ColumnVector vector,
         int row,
         TypeDescription schema,
         Object previous) | 
public OrcMapredRecordReader(RecordReader reader, TypeDescription schema) throws IOException
IOExceptionprotected OrcMapredRecordReader(Reader fileReader, Reader.Options options) throws IOException
IOExceptionprotected OrcMapredRecordReader(Reader fileReader, Reader.Options options, int rowBatchSize) throws IOException
IOExceptionpublic boolean next(NullWritable key, V value) throws IOException
next in interface RecordReader<NullWritable,V extends WritableComparable>IOExceptionpublic NullWritable createKey()
createKey in interface RecordReader<NullWritable,V extends WritableComparable>public V createValue()
createValue in interface RecordReader<NullWritable,V extends WritableComparable>public long getPos()
            throws IOException
getPos in interface RecordReader<NullWritable,V extends WritableComparable>IOExceptionpublic void close()
           throws IOException
close in interface RecordReader<NullWritable,V extends WritableComparable>IOExceptionpublic float getProgress()
                  throws IOException
getProgress in interface RecordReader<NullWritable,V extends WritableComparable>IOExceptionpublic static WritableComparable nextValue(ColumnVector vector, int row, TypeDescription schema, Object previous)
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.