Class RowIndexEncoderV1
java.lang.Object
org.apache.hadoop.hbase.io.encoding.RowIndexEncoderV1
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HFileBlockEncodingContext
private NoneEncoder
private ExtendedCell
The Cell previously appended.private static final org.slf4j.Logger
private DataOutputStream
private ByteArrayOutputStream
private int
-
Constructor Summary
ConstructorDescriptionRowIndexEncoderV1
(DataOutputStream out, HFileBlockDefaultEncodingContext encodingCtx) -
Method Summary
Modifier and TypeMethodDescription(package private) void
protected boolean
checkRow
(ExtendedCell cell) void
flush()
void
write
(ExtendedCell cell)
-
Field Details
-
LOG
-
lastCell
The Cell previously appended. -
out
-
encoder
-
startOffset
-
rowsOffsetBAOS
-
context
-
-
Constructor Details
-
RowIndexEncoderV1
-
-
Method Details
-
write
- Throws:
IOException
-
checkRow
- Throws:
IOException
-
flush
- Throws:
IOException
-
beforeShipped
void beforeShipped()
-