org.apache.hadoop.hbase.codec
Class CellCodec

java.lang.Object
  extended by org.apache.hadoop.hbase.codec.CellCodec
All Implemented Interfaces:
Codec

@InterfaceAudience.LimitedPrivate(value="Configuration")
public class CellCodec
extends Object
implements Codec

Basic Cell codec that just writes out all the individual elements of a Cell. Uses ints delimiting all lengths. Profligate. Needs tune up. Note: This will not write tags of a Cell.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.codec.Codec
Codec.Decoder, Codec.Encoder
 
Constructor Summary
CellCodec()
           
 
Method Summary
 Codec.Decoder getDecoder(InputStream is)
           
 Codec.Encoder getEncoder(OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellCodec

public CellCodec()
Method Detail

getDecoder

public Codec.Decoder getDecoder(InputStream is)
Specified by:
getDecoder in interface Codec

getEncoder

public Codec.Encoder getEncoder(OutputStream os)
Specified by:
getEncoder in interface Codec


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