org.apache.hadoop.hbase.codec
Class KeyValueCodec.KeyValueDecoder

java.lang.Object
  extended by org.apache.hadoop.hbase.codec.BaseDecoder
      extended by org.apache.hadoop.hbase.codec.KeyValueCodec.KeyValueDecoder
All Implemented Interfaces:
CellScanner, Codec.Decoder
Enclosing class:
KeyValueCodec

public static class KeyValueCodec.KeyValueDecoder
extends BaseDecoder


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
BaseDecoder.PBIS
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
in, LOG
 
Constructor Summary
KeyValueCodec.KeyValueDecoder(InputStream in)
           
 
Method Summary
protected  Cell parseCell()
          Extract a Cell.
 
Methods inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
advance, current
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValueCodec.KeyValueDecoder

public KeyValueCodec.KeyValueDecoder(InputStream in)
Method Detail

parseCell

protected Cell parseCell()
                  throws IOException
Description copied from class: BaseDecoder
Extract a Cell.

Specified by:
parseCell in class BaseDecoder
Returns:
a parsed Cell or throws an Exception. EOFException or a generic IOException maybe thrown if EOF is reached prematurely. Does not return null.
Throws:
IOException


Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.