| Package | Description |
|---|---|
| org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache. |
| Modifier and Type | Field and Description |
|---|---|
private BlockType.BlockCategory |
BlockType.metricCat |
| Modifier and Type | Method and Description |
|---|---|
BlockType.BlockCategory |
BlockType.getCategory() |
static BlockType.BlockCategory |
BlockType.BlockCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockType.BlockCategory[] |
BlockType.BlockCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
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) |
| Constructor and Description |
|---|
BlockType(String magicStr,
BlockType.BlockCategory metricCat) |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.