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.hfile.Cacheable |
deserialize(org.apache.hadoop.hbase.nio.ByteBuff b,
boolean reuse,
org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType memType) |
int |
getDeserialiserIdentifier() |
private final org.apache.hadoop.hbase.io.hfile.Cacheable cacheable
private int deserializedIdentifier
Deserializer(org.apache.hadoop.hbase.io.hfile.Cacheable c)
public int getDeserialiserIdentifier()
getDeserialiserIdentifier
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, 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>
IOException
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>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.