public class MapRIFileInputStream
extends org.apache.hadoop.mapred.IFileInputStream
| Constructor and Description |
|---|
MapRIFileInputStream(InputStream in,
long len,
boolean checkLength,
org.apache.hadoop.conf.Configuration conf) |
MapRIFileInputStream(InputStream in,
long len,
org.apache.hadoop.conf.Configuration conf)
Given input stream and length of file verify the filesize and provide a way to
extract mapoutputsize.
|
| Modifier and Type | Method and Description |
|---|---|
MapOutputFileInfo |
getMapOutputFileInfo() |
long |
getSize() |
close, getChecksum, getPosition, read, read, readWithChecksum, skipavailable, mark, markSupported, read, resetpublic MapRIFileInputStream(InputStream in, long len, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic MapRIFileInputStream(InputStream in, long len, boolean checkLength, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic MapOutputFileInfo getMapOutputFileInfo()
public long getSize()
getSize in class org.apache.hadoop.mapred.IFileInputStreamCopyright © 2016 Apache Software Foundation. All Rights Reserved.