org.apache.hadoop.mapred
Class MapRIFileInputStream
java.lang.Object
java.io.InputStream
org.apache.hadoop.mapred.IFileInputStream
org.apache.hadoop.mapred.MapRIFileInputStream
- All Implemented Interfaces:
- Closeable
public class MapRIFileInputStream
- extends org.apache.hadoop.mapred.IFileInputStream
| Fields inherited from class org.apache.hadoop.mapred.IFileInputStream |
LOG |
|
Constructor Summary |
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. |
| Methods inherited from class org.apache.hadoop.mapred.IFileInputStream |
close, getChecksum, getPosition, read, read, readWithChecksum, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapRIFileInputStream
public MapRIFileInputStream(InputStream in,
long len,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Given input stream and length of file verify the filesize and provide a way to
extract mapoutputsize.
- Throws:
IOException
MapRIFileInputStream
public MapRIFileInputStream(InputStream in,
long len,
boolean checkLength,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
getMapOutputFileInfo
public MapOutputFileInfo getMapOutputFileInfo()
getSize
public long getSize()
- Overrides:
getSize in class org.apache.hadoop.mapred.IFileInputStream
Copyright © 2014 Apache Software Foundation. All Rights Reserved.