|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFileSplit
cascading.tap.hadoop.ZipSplit
public class ZipSplit
A section of an input file in zip format. Returned by
ZipInputFormat.getSplits(JobConf , int) and passed to
ZipInputFormat.getRecordReader(InputSplit , JobConf , Reporter).
| Constructor Summary | |
|---|---|
ZipSplit(Path file,
long length)
Constructor ZipSplit creates a new ZipSplit instance. |
|
ZipSplit(Path file,
String entryPath,
long length)
Constructs a split from zip archive. |
|
| Method Summary | |
|---|---|
String |
getEntryPath()
The path of the file within the zip archive. |
void |
readFields(DataInput in)
|
void |
write(DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipSplit(Path file,
String entryPath,
long length)
file - the zip archive nameentryPath - the path of the file to be read within the zip archive.length - the uncompressed size of the file within the zip archive.
public ZipSplit(Path file,
long length)
file - of type Pathlength - of type long| Method Detail |
|---|
public String getEntryPath()
public void write(DataOutput out)
throws IOException
IOException
public void readFields(DataInput in)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||