@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
public interface Codec
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.
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Codec.DecoderImplementations should implicitly clean up any resources allocated when the
 Decoder/CellScanner runs off the end of the cell block. | 
| static interface  | Codec.EncoderCall flush when done. | 
| Modifier and Type | Method and Description | 
|---|---|
| Codec.Decoder | getDecoder(ByteBuff buf) | 
| Codec.Decoder | getDecoder(InputStream is) | 
| Codec.Encoder | getEncoder(OutputStream os) | 
Codec.Decoder getDecoder(InputStream is)
Codec.Decoder getDecoder(ByteBuff buf)
Codec.Encoder getEncoder(OutputStream os)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.