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, wait
create
public CompressedPageFileOutput(File file, int pageSize, BlockCompressionFactory compressionFactory) throws FileNotFoundException
FileNotFoundException
public void write(byte[] b, int off, int len) throws IOException
write
in interface PageFileOutput
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public long uncompressBytes()
public long[] pages()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.