org.apache.hadoop.hdfs
Class ExtendedBlockId
java.lang.Object
org.apache.hadoop.hdfs.ExtendedBlockId
public final class ExtendedBlockId
- extends Object
An immutable key which identifies a block.
ExtendedBlockId
public ExtendedBlockId(long blockId,
String bpId)
fromExtendedBlock
public static ExtendedBlockId fromExtendedBlock(org.apache.hadoop.hdfs.protocol.ExtendedBlock block)
getBlockId
public long getBlockId()
getBlockPoolId
public String getBlockPoolId()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.