| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocol |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.util |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
Block |
ExtendedBlock.getLocalBlock() |
|
static Block |
ExtendedBlock.getLocalBlock(ExtendedBlock b) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
Block.compareTo(Block b) |
Compares this Block with the specified Block for order.
|
static boolean |
Block.matchingIdAndGenStamp(Block a,
Block b) |
A helper function to determine if two blocks are equal, based on the block
ID and the generation stamp.
|
void |
ExtendedBlock.set(java.lang.String poolId,
Block blk) |
|
static java.lang.String |
Block.toString(Block b) |
A helper method to output the string representation of the Block portion of
a derived class' instance.
|
| Constructor | Description |
|---|---|
Block(Block blk) |
|
ExtendedBlock(java.lang.String poolId,
Block b) |
| Modifier and Type | Method | Description |
|---|---|---|
static Block |
PBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto b) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto |
PBHelperClient.convert(Block b) |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
StripedBlockUtil.getBlockIndex(Block reportedBlock) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.