public class DictionaryPage extends Page
| Constructor and Description |
|---|
DictionaryPage(BytesInput bytes,
int dictionarySize,
Encoding encoding)
creates an uncompressed page
|
DictionaryPage(BytesInput bytes,
int uncompressedSize,
int dictionarySize,
Encoding encoding)
creates a dictionary page
|
| Modifier and Type | Method and Description |
|---|---|
DictionaryPage |
copy() |
BytesInput |
getBytes() |
int |
getDictionarySize() |
Encoding |
getEncoding() |
String |
toString() |
getCompressedSize, getCrc, getUncompressedSize, setCrcpublic DictionaryPage(BytesInput bytes, int dictionarySize, Encoding encoding)
bytes - the content of the pagedictionarySize - the value count in the dictionaryencoding - the encoding usedpublic DictionaryPage(BytesInput bytes, int uncompressedSize, int dictionarySize, Encoding encoding)
bytes - the (possibly compressed) content of the pageuncompressedSize - the size uncompresseddictionarySize - the value count in the dictionaryencoding - the encoding usedpublic BytesInput getBytes()
public int getDictionarySize()
public Encoding getEncoding()
public DictionaryPage copy() throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.