Class WALDecompressionBoundedDelegatingInputStream
java.lang.Object
java.io.InputStream
org.apache.hadoop.hbase.regionserver.wal.WALDecompressionBoundedDelegatingInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
This class is only used by WAL ValueCompressor for decompression.
WARNING: The implementation is very tricky and does not follow typical InputStream pattern, so do not use it in any other places.
-
Field Summary
Modifier and TypeFieldDescriptionprivate InputStream
private long
private static final org.slf4j.Logger
private long
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
LOG
-
in
-
pos
-
limit
-
-
Constructor Details
-
WALDecompressionBoundedDelegatingInputStream
-
-
Method Details
-
reset
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-