org.apache.hadoop.hbase.codec
Class MessageCodec

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

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

Codec that just writes out Cell as a protobuf Cell Message. Does not write the mvcc stamp. Use a different codec if you want that in the stream.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.codec.Codec
Codec.Decoder, Codec.Encoder
 
Constructor Summary
MessageCodec()
           
 
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

MessageCodec

public MessageCodec()
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.