Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.io.hfile.bucket |
Provides
BucketCache , an implementation of
BlockCache . |
Modifier and Type | Field and Description |
---|---|
(package private) static CacheableDeserializer<Cacheable> |
HFileBlock.BLOCK_DESERIALIZER
Used deserializing blocks from Cache.
|
Modifier and Type | Field and Description |
---|---|
private static Map<Integer,CacheableDeserializer<Cacheable>> |
CacheableDeserializerIdManager.registeredDeserializers |
Modifier and Type | Method and Description |
---|---|
CacheableDeserializer<Cacheable> |
Cacheable.getDeserializer()
Returns CacheableDeserializer instance which reconstructs original object from ByteBuffer.
|
CacheableDeserializer<Cacheable> |
HFileBlock.getDeserializer() |
static CacheableDeserializer<Cacheable> |
CacheableDeserializerIdManager.getDeserializer(int id)
Get the cacheable deserializer as the given identifier Id
|
Modifier and Type | Method and Description |
---|---|
static int |
CacheableDeserializerIdManager.registerDeserializer(CacheableDeserializer<Cacheable> cd)
Register the given cacheable deserializer and generate an unique identifier
id for it
|
Modifier and Type | Method and Description |
---|---|
protected CacheableDeserializer<Cacheable> |
BucketCache.BucketEntry.deserializerReference(UniqueIndexMap<Integer> deserialiserMap) |
Modifier and Type | Method and Description |
---|---|
Cacheable |
FileIOEngine.read(long offset,
int length,
CacheableDeserializer<Cacheable> deserializer)
Transfers data from file to the given byte buffer
|
Cacheable |
FileMmapEngine.read(long offset,
int length,
CacheableDeserializer<Cacheable> deserializer) |
Cacheable |
ByteBufferIOEngine.read(long offset,
int length,
CacheableDeserializer<Cacheable> deserializer) |
Cacheable |
IOEngine.read(long offset,
int length,
CacheableDeserializer<Cacheable> deserializer)
Transfers data from IOEngine to a Cacheable object.
|
protected void |
BucketCache.BucketEntry.setDeserialiserReference(CacheableDeserializer<Cacheable> deserializer,
UniqueIndexMap<Integer> deserialiserMap) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.