@InterfaceStability.Evolving public static class DataDrivenDBInputFormat.DataDrivenDBInputSplit extends DBInputFormat.DBInputSplit
| Constructor and Description |
|---|
DataDrivenDBInputSplit()
Default Constructor
|
DataDrivenDBInputSplit(String lower,
String upper)
Convenience Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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) |
getEnd, getLocations, getStartgetLocationInfopublic long getLength()
throws IOException
InputSplitgetLength in class DBInputFormat.DBInputSplitIOExceptionpublic void readFields(DataInput input) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class DBInputFormat.DBInputSplitIOExceptionpublic void write(DataOutput output) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class DBInputFormat.DBInputSplitIOExceptionpublic String getLowerClause()
public String getUpperClause()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.