Uses of Enum Class
org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory
-
Uses of BlockType.BlockCategory in org.apache.hadoop.hbase.io.hfile
Modifier and TypeMethodDescriptionBlockType.getCategory()
static BlockType.BlockCategory
Returns the enum constant of this class with the specified name.static BlockType.BlockCategory[]
BlockType.BlockCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
CacheConfig.shouldCacheBlockOnRead
(BlockType.BlockCategory category) Should we cache a block of a particular category? We always cache important blocks such as index blocks, as long as the block cache is available.boolean
CacheConfig.shouldCacheCompressed
(BlockType.BlockCategory category) Returns true if thisBlockType.BlockCategory
should be compressed in blockcache, false otherwiseModifierConstructorDescriptionprivate
BlockType
(String magicStr, BlockType.BlockCategory metricCat)