|
||||||||||
| 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
@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 org.apache.hadoop.mapreduce.InputSplit |
|---|
getLocationInfo |
| 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' end| Method Detail |
|---|
public long getLength()
throws IOException
InputSplit
getLength in class DBInputFormat.DBInputSplitIOException
public void readFields(DataInput input)
throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class DBInputFormat.DBInputSplitIOException
public void write(DataOutput output)
throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class DBInputFormat.DBInputSplitIOExceptionpublic String getLowerClause()
public String getUpperClause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||