|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.LongWritable,T>
org.apache.hadoop.mapreduce.lib.db.DBInputFormat<T>
org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat<T>
org.apache.hadoop.mapreduce.lib.db.OracleDataDrivenDBInputFormat<T>
public class OracleDataDrivenDBInputFormat<T extends DBWritable>
A InputFormat that reads input data from an SQL table in an Oracle db.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat |
---|
DataDrivenDBInputFormat.DataDrivenDBInputSplit |
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.db.DBInputFormat |
---|
DBInputFormat.DBInputSplit, DBInputFormat.NullDBWritable |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat |
---|
SUBSTITUTE_TOKEN |
Constructor Summary | |
---|---|
OracleDataDrivenDBInputFormat()
|
Method Summary | |
---|---|
protected RecordReader<org.apache.hadoop.io.LongWritable,T> |
createDBRecordReader(DBInputFormat.DBInputSplit split,
org.apache.hadoop.conf.Configuration conf)
|
protected DBSplitter |
getSplitter(int sqlDataType)
|
Methods inherited from class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat |
---|
getBoundingValsQuery, getSplits, setBoundingQuery, setInput, setInput |
Methods inherited from class org.apache.hadoop.mapreduce.lib.db.DBInputFormat |
---|
closeConnection, createRecordReader, getConf, getConnection, getCountQuery, getDBConf, getDBProductName, setConf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
---|
getConf, setConf |
Constructor Detail |
---|
public OracleDataDrivenDBInputFormat()
Method Detail |
---|
protected DBSplitter getSplitter(int sqlDataType)
getSplitter
in class DataDrivenDBInputFormat<T extends DBWritable>
protected RecordReader<org.apache.hadoop.io.LongWritable,T> createDBRecordReader(DBInputFormat.DBInputSplit split, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
createDBRecordReader
in class DataDrivenDBInputFormat<T extends DBWritable>
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |