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 and Description
    `KVInputFormat()`

  - ### Method Summary

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

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

    - ### Methods inherited from class org.apache.hadoop.mapreduce.InputFormat

      `createRecordReader, getSplits`

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

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

- - ### Constructor Detail

    - #### KVInputFormat

          public KVInputFormat()

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.