org.apache.hadoop.hbase.codec.prefixtree.decode.timestamp
Class TimestampDecoder

java.lang.Object
  extended by org.apache.hadoop.hbase.codec.prefixtree.decode.timestamp.TimestampDecoder

@InterfaceAudience.Private
public class TimestampDecoder
extends Object

Given a block and its blockMeta, this will decode the timestamp for the i-th Cell in the block.


Field Summary
protected  byte[] block
           
protected  PrefixTreeBlockMeta blockMeta
           
 
Constructor Summary
TimestampDecoder()
          construct
 
Method Summary
 long getLong(int index)
          methods
 void initOnBlock(PrefixTreeBlockMeta blockMeta, byte[] block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockMeta

protected PrefixTreeBlockMeta blockMeta

block

protected byte[] block
Constructor Detail

TimestampDecoder

public TimestampDecoder()
construct

Method Detail

initOnBlock

public void initOnBlock(PrefixTreeBlockMeta blockMeta,
                        byte[] block)

getLong

public long getLong(int index)
methods



Copyright © 2015 The Apache Software Foundation. All rights reserved.