Class TableHiveRecordReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, RecordReader<Text,​Text>

    public class TableHiveRecordReader
    extends Object
    implements RecordReader<Text,​Text>
    Concrete implementation of RecordReader; used to read PrimaryKey/Row pairs from an InputSplit.

    Note that this RecordReader is based on version 1 of MapReduce (as required by the Hive infrastructure), but wraps and delegates to a YARN based (MapReduce version 2) RecordReader. This is done because the RecordReader provided by Oracle NoSQL Database to support Hadoop integration is YARN based, and this class wishes to exploit and reuse the functionality already provided by the YARN based RecordReader class.