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, wait
create
public UncompressedPageFileInput(RandomAccessFile file, int pageSize) throws IOException
IOException
public RandomAccessFile file()
file
in interface PageFileInput
public long uncompressBytes()
uncompressBytes
in interface PageFileInput
public int pageSize()
pageSize
in interface PageFileInput
public byte[] readPage(int pageIndex) throws IOException
readPage
in interface PageFileInput
IOException
public byte[] readPosition(long position, int length) throws IOException
readPosition
in interface PageFileInput
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.