public static interface HadoopShims.InputSplitShim
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.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(java.io.DataInput in) |
void |
shrinkSplit(long length) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
JobConf getJob()
long getLength()
long[] getStartOffsets()
long[] getLengths()
long getOffset(int i)
long getLength(int i)
int getNumPaths()
Path getPath(int i)
Path[] getPaths()
java.lang.String[] getLocations()
throws java.io.IOException
java.io.IOExceptionvoid shrinkSplit(long length)
java.lang.String toString()
toString in class java.lang.Objectvoid readFields(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionvoid write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionCopyright © 2012 The Apache Software Foundation