|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface HadoopShims.InputSplitShim
InputSplitShim.
| Method Summary | |
|---|---|
org.apache.hadoop.mapred.JobConf |
getJob()
|
long |
getLength()
|
long |
getLength(int i)
Returns the length of the ith Path. |
long[] |
getLengths()
Returns an array containing the lengths of the files in the split. |
String[] |
getLocations()
Returns all the Paths where this input-split resides. |
int |
getNumPaths()
Returns the number of Paths in the split. |
long |
getOffset(int i)
Returns the start offset of the ith Path. |
org.apache.hadoop.fs.Path |
getPath(int i)
Returns the ith Path. |
org.apache.hadoop.fs.Path[] |
getPaths()
Returns all the Paths in the split. |
long[] |
getStartOffsets()
Returns an array containing the startoffsets of the files in the split. |
void |
readFields(DataInput in)
|
void |
shrinkSplit(long length)
|
String |
toString()
|
void |
write(DataOutput out)
|
| Method Detail |
|---|
org.apache.hadoop.mapred.JobConf getJob()
long getLength()
getLength in interface org.apache.hadoop.mapred.InputSplitlong[] getStartOffsets()
long[] getLengths()
long getOffset(int i)
long getLength(int i)
int getNumPaths()
org.apache.hadoop.fs.Path getPath(int i)
org.apache.hadoop.fs.Path[] getPaths()
String[] getLocations()
throws IOException
getLocations in interface org.apache.hadoop.mapred.InputSplitIOExceptionvoid shrinkSplit(long length)
String toString()
toString in class Object
void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||