|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.InputSplit org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat.DataDrivenDBInputSplit
@InterfaceStability.Evolving public static class DataDrivenDBInputFormat.DataDrivenDBInputSplit
A InputSplit that spans a set of rows
Constructor Summary | |
---|---|
DataDrivenDBInputFormat.DataDrivenDBInputSplit()
Default Constructor |
|
DataDrivenDBInputFormat.DataDrivenDBInputSplit(String lower,
String upper)
Convenience Constructor |
Method Summary | |
---|---|
long |
getLength()
Get the size of the split, so that the input splits can be sorted by size. |
String |
getLowerClause()
|
String |
getUpperClause()
|
void |
readFields(DataInput input)
|
void |
write(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(String lower, 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 IOException
InputSplit
getLength
in class DBInputFormat.DBInputSplit
IOException
public void readFields(DataInput input) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class DBInputFormat.DBInputSplit
IOException
public void write(DataOutput output) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class DBInputFormat.DBInputSplit
IOException
public String getLowerClause()
public String getUpperClause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |