@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.
限定符和类型 | 接口和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
Codec.Decoder |
getDecoder(InputStream is) |
Codec.Encoder |
getEncoder(OutputStream os) |
Codec.Decoder getDecoder(InputStream is)
Codec.Encoder getEncoder(OutputStream os)
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.