## Uses of Class
org.apache.hadoop.hdfs.protocol.BlockType

- Packages that use BlockType
  Package | Description
  --- | ---
  org.apache.hadoop.hdfs |
  org.apache.hadoop.hdfs.protocol | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
  org.apache.hadoop.hdfs.protocolPB | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- - ### Uses of BlockType in org.apache.hadoop.hdfs

    Methods in org.apache.hadoop.hdfs that return BlockType
    Modifier and Type | Method and Description
    --- | ---
    `BlockType` | ReadStatistics.`getBlockType()`

  - ### Uses of BlockType in org.apache.hadoop.hdfs.protocol

    Methods in org.apache.hadoop.hdfs.protocol that return BlockType
    Modifier and Type | Method and Description
    --- | ---
    `static BlockType` | BlockType.`fromBlockId(long blockId)` Parse a BlockId to find the BlockType Note: the old block id generation algorithm was based on a pseudo random number generator, so there may be legacy blocks that make this conversion unreliable.
    `static BlockType` | BlockType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static BlockType[]` | BlockType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

  - ### Uses of BlockType in org.apache.hadoop.hdfs.protocolPB

    Methods in org.apache.hadoop.hdfs.protocolPB that return BlockType
    Modifier and Type | Method and Description
    --- | ---
    `static BlockType` | PBHelperClient.`convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockTypeProto blockType)`

    Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type BlockType
    Modifier and Type | Method and Description
    --- | ---
    `static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockTypeProto` | PBHelperClient.`convert(BlockType blockType)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.