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 void
close()
Finishing reading the block.long
getRawSize()
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 IOException
Finishing reading the block. Release all resources.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
getRawSize
public long getRawSize()
Get the uncompressed size of the block.- Returns:
- uncompressed size of the block.
-
-