Uses of Enum Class
org.apache.hadoop.hdfs.protocol.BlockType
Packages that use BlockType
Package
Description
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 -
Uses of BlockType in org.apache.hadoop.hdfs.protocol
Methods in org.apache.hadoop.hdfs.protocol that return BlockTypeModifier and TypeMethodDescriptionstatic BlockTypeBlockType.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.LocatedBlock.getBlockType()LocatedStripedBlock.getBlockType()static BlockTypeReturns the enum constant of this class with the specified name.static BlockType[]BlockType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of BlockType in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB that return BlockTypeModifier and TypeMethodDescriptionstatic BlockTypePBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockTypeProto blockType) Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type BlockType