org.apache.hadoop.hbase.codec
Interface Codec
- All Known Implementing Classes:
- CellCodec, CellCodecWithTags, KeyValueCodec, KeyValueCodecWithTags
@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
public interface Codec
Encoder/Decoder for Cell.
Like DataBlockEncoder
only Cell-based rather than KeyValue version 1 based
and without presuming an hfile context. Intent is an Interface that will work for hfile and
rpc.
Nested Class Summary |
static interface |
Codec.Decoder
Implementations should implicitly clean up any resources allocated when the
Decoder/CellScanner runs off the end of the cell block. |
static interface |
Codec.Encoder
Call flush when done. |
getDecoder
Codec.Decoder getDecoder(InputStream is)
getEncoder
Codec.Encoder getEncoder(OutputStream os)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.