public class CompressedPageFileOutput extends Object implements PageFileOutput
| 构造器和说明 |
|---|
CompressedPageFileOutput(File file,
int pageSize,
BlockCompressionFactory compressionFactory) |
public CompressedPageFileOutput(File file, int pageSize, BlockCompressionFactory compressionFactory) throws FileNotFoundException
public void write(byte[] b,
int off,
int len)
throws IOException
write 在接口中 PageFileOutputIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic long uncompressBytes()
public long[] pages()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.