org.apache.hadoop.mapred
Class MapOutputFileInfo

java.lang.Object
  extended by org.apache.hadoop.mapred.MapOutputFileInfo

public class MapOutputFileInfo
extends Object


Field Summary
static int MAPOUTPUT_INFO_BYTES
           
 
Constructor Summary
MapOutputFileInfo(org.apache.hadoop.fs.FSDataInputStream in, long fileSize)
           
MapOutputFileInfo(org.apache.hadoop.fs.FSDataInputStream in, long fileSize, boolean checkLen)
           
MapOutputFileInfo(org.apache.hadoop.fs.FSDataOutputStream out, long rawLength, long compressedLength)
           
 
Method Summary
 long getFileBytesWritten()
           
 long getMapOutputSize()
           
 void write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPOUTPUT_INFO_BYTES

public static final int MAPOUTPUT_INFO_BYTES
See Also:
Constant Field Values
Constructor Detail

MapOutputFileInfo

public MapOutputFileInfo(org.apache.hadoop.fs.FSDataOutputStream out,
                         long rawLength,
                         long compressedLength)

MapOutputFileInfo

public MapOutputFileInfo(org.apache.hadoop.fs.FSDataInputStream in,
                         long fileSize)
                  throws IOException
Throws:
IOException

MapOutputFileInfo

public MapOutputFileInfo(org.apache.hadoop.fs.FSDataInputStream in,
                         long fileSize,
                         boolean checkLen)
                  throws IOException
Throws:
IOException
Method Detail

getMapOutputSize

public long getMapOutputSize()

getFileBytesWritten

public long getFileBytesWritten()

write

public void write()
           throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.