Class BCFile.Reader.BlockReader
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.DataInputStream
-
- org.apache.accumulo.core.file.rfile.bcfile.BCFile.Reader.BlockReader
-
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
- Enclosing class:
- BCFile.Reader
public static class BCFile.Reader.BlockReader extends DataInputStream
Access point to read a block.
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Finishing reading the block.longgetRawSize()Get the uncompressed size of the block.-
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Method Detail
-
close
public void close() throws IOExceptionFinishing reading the block. Release all resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
getRawSize
public long getRawSize()
Get the uncompressed size of the block.- Returns:
- uncompressed size of the block.
-
-