static class TestCacheConfig.Deserializer extends Object implements org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.io.hfile.Cacheable |
cacheable |
private int |
deserializedIdentifier |
Constructor and Description |
---|
Deserializer(org.apache.hadoop.hbase.io.hfile.Cacheable c) |
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() |
private final org.apache.hadoop.hbase.io.hfile.Cacheable cacheable
private int deserializedIdentifier
Deserializer(org.apache.hadoop.hbase.io.hfile.Cacheable c)
public int getDeserializerIdentifier()
getDeserializerIdentifier
in interface org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>
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>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.