Package io.trino.plugin.hive.util
Class FooterAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable>
java.lang.Object
io.trino.plugin.hive.util.FooterAwareRecordReader<K,V>
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.mapred.RecordReader<K,V>
public class FooterAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable>
extends Object
implements org.apache.hadoop.mapred.RecordReader<K,V>
-
Constructor Summary
ConstructorsConstructorDescriptionFooterAwareRecordReader(org.apache.hadoop.mapred.RecordReader<K, V> delegate, int footerCount, org.apache.hadoop.mapred.JobConf job) -
Method Summary
-
Constructor Details
-
FooterAwareRecordReader
public FooterAwareRecordReader(org.apache.hadoop.mapred.RecordReader<K, V> delegate, int footerCount, org.apache.hadoop.mapred.JobConf job) throws IOException- Throws:
IOException
-
-
Method Details
-
next
- Specified by:
nextin interfaceorg.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> - Throws:
IOException
-
createKey
-
createValue
-
getPos
- Specified by:
getPosin interfaceorg.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> - Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> - Throws:
IOException
-
getProgress
- Specified by:
getProgressin interfaceorg.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> - Throws:
IOException
-