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) |
|
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
IOException
protected OrcMapredRecordReader(Reader fileReader, Reader.Options options) throws IOException
IOException
public boolean next(NullWritable key, V value) throws IOException
next
in interface RecordReader<NullWritable,V extends WritableComparable>
IOException
public 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>
IOException
public void close() throws IOException
close
in interface RecordReader<NullWritable,V extends WritableComparable>
IOException
public float getProgress() throws IOException
getProgress
in interface RecordReader<NullWritable,V extends WritableComparable>
IOException
public static WritableComparable nextValue(ColumnVector vector, int row, TypeDescription schema, Object previous)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.