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.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.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.