public class UncompressedPageFileInput extends Object implements PageFileInput
RandomAccessFile.| Constructor and Description |
|---|
UncompressedPageFileInput(RandomAccessFile file,
int pageSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
RandomAccessFile |
file() |
int |
pageSize() |
byte[] |
readPage(int pageIndex) |
byte[] |
readPosition(long position,
int length) |
long |
uncompressBytes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic UncompressedPageFileInput(RandomAccessFile file, int pageSize) throws IOException
IOExceptionpublic RandomAccessFile file()
file in interface PageFileInputpublic long uncompressBytes()
uncompressBytes in interface PageFileInputpublic int pageSize()
pageSize in interface PageFileInputpublic byte[] readPage(int pageIndex)
throws IOException
readPage in interface PageFileInputIOExceptionpublic byte[] readPosition(long position,
int length)
throws IOException
readPosition in interface PageFileInputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.