Class KVInputFormat


public class KVInputFormat extends KVInputFormatBase<Text,Text>
A Hadoop InputFormat class for reading data from an Oracle NoSQL Database. Map/reduce keys and values are returned as Text objects. NoSQL Database Key arguments are passed in the canonical format returned by Key.toString format.

Refer to the javadoc for KVInputFormatBase for information on the parameters that may be passed to this class.

A simple example demonstrating the Oracle NoSQL DB Hadoop oracle.kv.hadoop.KVInputFormat class can be found in the KVHOME/example/hadoop directory. It demonstrates how to read records from Oracle NoSQL Database in a Map/Reduce job. The javadoc for that program describes the simple Map/Reduce processing as well as how to invoke the program in Hadoop.

  • Constructor Details

    • KVInputFormat

      public KVInputFormat()