public class CompressedPageFileOutput extends Object implements PageFileOutput
| Constructor and Description |
|---|
CompressedPageFileOutput(File file,
int pageSize,
BlockCompressionFactory compressionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long[] |
pages() |
long |
uncompressBytes() |
void |
write(byte[] b,
int off,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic CompressedPageFileOutput(File file, int pageSize, BlockCompressionFactory compressionFactory) throws FileNotFoundException
FileNotFoundExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in interface PageFileOutputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic long uncompressBytes()
public long[] pages()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.