public static final class HFileBlock.BlockDeserializer extends Object implements CacheableDeserializer<Cacheable>
Modifier | Constructor and Description |
---|---|
private |
BlockDeserializer() |
Modifier and Type | Method and Description |
---|---|
HFileBlock |
deserialize(ByteBuff buf,
ByteBuffAllocator alloc) |
int |
getDeserializerIdentifier()
Get the identifier of this deserializer.
|
private BlockDeserializer()
public HFileBlock deserialize(ByteBuff buf, ByteBuffAllocator alloc) throws IOException
deserialize
in interface CacheableDeserializer<Cacheable>
buf
- ByteBuff to deserialize the Cacheable.alloc
- to manage NIO ByteBuffers for future allocation or de-allocation.IOException
public int getDeserializerIdentifier()
CacheableDeserializer
CacheableDeserializerIdManager
getDeserializerIdentifier
in interface CacheableDeserializer<Cacheable>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.