@InterfaceAudience.LimitedPrivate(value="MapReduce") @InterfaceStability.Unstable public abstract class MapOutput<K,V> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MapOutput.MapOutputComparator<K,V> |
Constructor and Description |
---|
MapOutput(TaskAttemptID mapId,
long size,
boolean primaryMapOutput) |
Modifier and Type | Method and Description |
---|---|
abstract void |
abort() |
abstract void |
commit() |
boolean |
equals(Object obj) |
abstract String |
getDescription() |
TaskAttemptID |
getMapId() |
long |
getSize() |
int |
hashCode() |
boolean |
isPrimaryMapOutput() |
abstract void |
shuffle(MapHost host,
InputStream input,
long compressedLength,
long decompressedLength,
ShuffleClientMetrics metrics,
Reporter reporter) |
String |
toString() |
public MapOutput(TaskAttemptID mapId, long size, boolean primaryMapOutput)
public boolean isPrimaryMapOutput()
public TaskAttemptID getMapId()
public long getSize()
public abstract void shuffle(MapHost host, InputStream input, long compressedLength, long decompressedLength, ShuffleClientMetrics metrics, Reporter reporter) throws IOException
IOException
public abstract void commit() throws IOException
IOException
public abstract void abort()
public abstract String getDescription()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.