Class EncodingState
java.lang.Object
org.apache.hadoop.hbase.io.encoding.EncodingState
- Direct Known Subclasses:
CopyKeyDataBlockEncoder.CopyKeyEncodingState
,NoOpDataBlockEncoder.NoneEncodingState
,RowIndexCodecV1.RowIndexEncodingState
Keeps track of the encoding state.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected ExtendedCell
The previous Cell the encoder encoded.protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
void
postCellEncode
(int unencodedCellSizeWritten, int encodedCellSizeWritten)
-
Field Details
-
prevCell
The previous Cell the encoder encoded. -
unencodedDataSizeWritten
-
encodedDataSizeWritten
-
-
Constructor Details
-
EncodingState
public EncodingState()
-
-
Method Details
-
beforeShipped
-
postCellEncode
-
getUnencodedDataSizeWritten
-
getEncodedDataSizeWritten
-