static class TestByteBufferIOEngine.BufferGrabbingDeserializer extends Object implements org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>
ByteBuff to be
deserialized.| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.nio.ByteBuff |
buf |
private int |
identifier |
| Constructor and Description |
|---|
BufferGrabbingDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.io.hfile.Cacheable |
deserialize(org.apache.hadoop.hbase.nio.ByteBuff b,
org.apache.hadoop.hbase.io.ByteBuffAllocator alloc) |
int |
getDeserializerIdentifier() |
void |
setIdentifier(int identifier) |
private org.apache.hadoop.hbase.nio.ByteBuff buf
private int identifier
BufferGrabbingDeserializer()
public org.apache.hadoop.hbase.io.hfile.Cacheable deserialize(org.apache.hadoop.hbase.nio.ByteBuff b, org.apache.hadoop.hbase.io.ByteBuffAllocator alloc) throws IOException
deserialize in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>IOExceptionpublic void setIdentifier(int identifier)
public int getDeserializerIdentifier()
getDeserializerIdentifier in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.