org.apache.hadoop.hbase.codec
Class MessageCodec
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageCodec
public MessageCodec()
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.