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. Use getDeserializedByteBuff() to get this reference.| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.nio.ByteBuff |
buf |
| 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.hfile.Cacheable |
deserialize(org.apache.hadoop.hbase.nio.ByteBuff b,
boolean reuse,
org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType memType) |
int |
getDeserialiserIdentifier() |
org.apache.hadoop.hbase.nio.ByteBuff |
getDeserializedByteBuff() |
private org.apache.hadoop.hbase.nio.ByteBuff buf
BufferGrabbingDeserializer()
public org.apache.hadoop.hbase.io.hfile.Cacheable deserialize(org.apache.hadoop.hbase.nio.ByteBuff b) throws IOException
deserialize in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>IOExceptionpublic org.apache.hadoop.hbase.io.hfile.Cacheable deserialize(org.apache.hadoop.hbase.nio.ByteBuff b, boolean reuse, org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType memType) throws IOException
deserialize in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>IOExceptionpublic int getDeserialiserIdentifier()
getDeserialiserIdentifier in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>public org.apache.hadoop.hbase.nio.ByteBuff getDeserializedByteBuff()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.