public interface PageFileInput extends Closeable
Modifier and Type | Method and Description |
---|---|
static PageFileInput |
create(File file,
int pageSize,
BlockCompressionFactory compressionFactory,
long uncompressBytes,
long[] compressPagePositions) |
RandomAccessFile |
file() |
int |
pageSize() |
byte[] |
readPage(int pageIndex) |
byte[] |
readPosition(long position,
int length) |
long |
uncompressBytes() |
RandomAccessFile file()
long uncompressBytes()
int pageSize()
byte[] readPage(int pageIndex) throws IOException
IOException
byte[] readPosition(long position, int length) throws IOException
IOException
static PageFileInput create(File file, int pageSize, @Nullable BlockCompressionFactory compressionFactory, long uncompressBytes, @Nullable long[] compressPagePositions) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.