|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.InputSplit
org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit
org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat.DataDrivenDBInputSplit
public static class DataDrivenDBInputFormat.DataDrivenDBInputSplit
A InputSplit that spans a set of rows
Constructor Summary | |
---|---|
DataDrivenDBInputFormat.DataDrivenDBInputSplit()
Default Constructor |
|
DataDrivenDBInputFormat.DataDrivenDBInputSplit(java.lang.String lower,
java.lang.String upper)
Convenience Constructor |
Method Summary | |
---|---|
long |
getLength()
Get the size of the split, so that the input splits can be sorted by size. |
java.lang.String |
getLowerClause()
|
java.lang.String |
getUpperClause()
|
void |
readFields(java.io.DataInput input)
|
void |
write(java.io.DataOutput output)
|
Methods inherited from class org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit |
---|
getEnd, getLocations, getStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataDrivenDBInputFormat.DataDrivenDBInputSplit()
public DataDrivenDBInputFormat.DataDrivenDBInputSplit(java.lang.String lower, java.lang.String upper)
lower
- the string to be put in the WHERE clause to guard on the 'lower' endupper
- the string to be put in the WHERE clause to guard on the 'upper' endMethod Detail |
---|
public long getLength() throws java.io.IOException
InputSplit
getLength
in class DBInputFormat.DBInputSplit
java.io.IOException
public void readFields(java.io.DataInput input) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class DBInputFormat.DBInputSplit
java.io.IOException
public void write(java.io.DataOutput output) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
write
in class DBInputFormat.DBInputSplit
java.io.IOException
public java.lang.String getLowerClause()
public java.lang.String getUpperClause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |