Package oracle.kv.hadoop

# Class KVInputFormat

java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<K,V>
oracle.kv.hadoop.KVInputFormatBase<Text,Text>
oracle.kv.hadoop.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 Summary

  Constructors
  Constructor
  Description
  `KVInputFormat()`

- ## Method Summary

  ### Methods inherited from class oracle.kv.hadoop.KVInputFormatBase

  `setBatchSize, setConsistency, setDepth, setKVHelperHosts, setKVSecurity, setKVStoreName, setParentKey, setSubRange, setTimeout, setTimeoutUnit`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### KVInputFormat

    public KVInputFormat()