|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface HadoopShims.InputSplitShim
InputSplitShim.
Method Summary | |
---|---|
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. |
Path |
getPath(int i)
Returns the ith Path. |
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 |
---|
JobConf getJob()
long getLength()
long[] getStartOffsets()
long[] getLengths()
long getOffset(int i)
long getLength(int i)
int getNumPaths()
Path getPath(int i)
Path[] getPaths()
String[] getLocations() throws IOException
IOException
void shrinkSplit(long length)
String toString()
toString
in class Object
void readFields(DataInput in) throws IOException
IOException
void write(DataOutput out) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |