@InterfaceAudience.Private @InterfaceStability.Stable public class ShuffleHeader extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HTTP_HEADER_NAME |
static String |
DEFAULT_HTTP_HEADER_VERSION |
static String |
HTTP_HEADER_NAME
Header info of the shuffle http request/response
|
static String |
HTTP_HEADER_VERSION |
| Constructor and Description |
|---|
ShuffleHeader() |
ShuffleHeader(String mapId,
long compressedLength,
long uncompressedLength,
int forReduce) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public static final String HTTP_HEADER_NAME
public static final String DEFAULT_HTTP_HEADER_NAME
public static final String HTTP_HEADER_VERSION
public static final String DEFAULT_HTTP_HEADER_VERSION
public ShuffleHeader()
public ShuffleHeader(String mapId, long compressedLength, long uncompressedLength, int forReduce)
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.