Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Field and Description |
---|---|
private Cacheable.MemoryType |
HFileBlock.memType |
Modifier and Type | Method and Description |
---|---|
Cacheable.MemoryType |
Cacheable.getMemoryType() |
Cacheable.MemoryType |
HFileBlock.getMemoryType() |
static Cacheable.MemoryType |
Cacheable.MemoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cacheable.MemoryType[] |
Cacheable.MemoryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
T |
CacheableDeserializer.deserialize(ByteBuff b,
boolean reuse,
Cacheable.MemoryType memType) |
Constructor and Description |
---|
HFileBlock(ByteBuff buf,
boolean usesHBaseChecksum,
Cacheable.MemoryType memType,
long offset,
int nextBlockOnDiskSize,
HFileContext fileContext)
Creates a block from an existing buffer starting with a header.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.