|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.lib.db.IntegerSplitter
org.apache.hadoop.mapreduce.lib.db.DateSplitter
org.apache.hadoop.mapreduce.lib.db.OracleDateSplitter
public class OracleDateSplitter
Implement DBSplitter over date/time values returned by an Oracle db. Make use of logic from DateSplitter, since this just needs to use some Oracle-specific functions on the formatting end when generating InputSplits.
Constructor Summary | |
---|---|
OracleDateSplitter()
|
Method Summary | |
---|---|
protected java.lang.String |
dateToString(java.util.Date d)
Given a Date 'd', format it as a string for use in a SQL date comparison operation. |
Methods inherited from class org.apache.hadoop.mapreduce.lib.db.DateSplitter |
---|
split |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleDateSplitter()
Method Detail |
---|
protected java.lang.String dateToString(java.util.Date d)
DateSplitter
dateToString
in class DateSplitter
d
- the date to format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |