@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) public abstract class BaseEncoder extends Object implements Codec.Encoder
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
flushed |
protected OutputStream |
out |
| 构造器和说明 |
|---|
BaseEncoder(OutputStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkFlushed() |
void |
flush()
Let the implementation decide what to do.
|
protected OutputStream |
getOuputStream() |
abstract void |
write(Cell cell)
Implementation must copy the entire state of the Cell.
|
protected final OutputStream out
protected boolean flushed
public BaseEncoder(OutputStream out)
protected OutputStream getOuputStream()
public abstract void write(Cell cell) throws IOException
CellOutputStreamwrite 在接口中 CellOutputStreamcell - Cell to write outIOExceptionprotected void checkFlushed()
throws CodecException
CodecExceptionpublic void flush()
throws IOException
CellOutputStreamflush 在接口中 CellOutputStreamIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.