@InterfaceAudience.Private public class EncodingState extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
encodedDataSizeWritten |
protected Cell |
prevCell
The previous Cell the encoder encoded.
|
protected int |
unencodedDataSizeWritten |
Constructor and Description |
---|
EncodingState() |
Modifier and Type | Method and Description |
---|---|
void |
beforeShipped() |
int |
getEncodedDataSizeWritten() |
int |
getUnencodedDataSizeWritten() |
void |
postCellEncode(int unencodedCellSizeWritten,
int encodedCellSizeWritten) |
protected int unencodedDataSizeWritten
protected int encodedDataSizeWritten
public EncodingState()
public void beforeShipped()
public void postCellEncode(int unencodedCellSizeWritten, int encodedCellSizeWritten)
public int getUnencodedDataSizeWritten()
public int getEncodedDataSizeWritten()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.