@InterfaceAudience.Private @InterfaceStability.Evolving public class BlockMetadataHeader extends Object
限定符和类型 | 方法和说明 |
---|---|
DataChecksum |
getChecksum()
Get the version
|
short |
getVersion()
Get the version
|
static BlockMetadataHeader |
readHeader(DataInputStream in)
This reads all the fields till the beginning of checksum.
|
public short getVersion()
public DataChecksum getChecksum()
public static BlockMetadataHeader readHeader(DataInputStream in) throws IOException
in
- IOException
Copyright © 2009 The Apache Software Foundation