public class UncompressedPageFileInput extends Object implements PageFileInput
RandomAccessFile.| 构造器和说明 |
|---|
UncompressedPageFileInput(RandomAccessFile file,
int pageSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 PageFileInputpublic long uncompressBytes()
uncompressBytes 在接口中 PageFileInputpublic int pageSize()
pageSize 在接口中 PageFileInputpublic byte[] readPage(int pageIndex)
throws IOException
readPage 在接口中 PageFileInputIOExceptionpublic byte[] readPosition(long position,
int length)
throws IOException
readPosition 在接口中 PageFileInputIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.