public class DataPageV1 extends DataPage
DataPage.Visitor<T>| Constructor and Description |
|---|
DataPageV1(BytesInput bytes,
int valueCount,
int uncompressedSize,
long firstRowIndex,
int rowCount,
Statistics<?> statistics,
Encoding rlEncoding,
Encoding dlEncoding,
Encoding valuesEncoding) |
DataPageV1(BytesInput bytes,
int valueCount,
int uncompressedSize,
Statistics<?> statistics,
Encoding rlEncoding,
Encoding dlEncoding,
Encoding valuesEncoding) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(DataPage.Visitor<T> visitor) |
BytesInput |
getBytes() |
Encoding |
getDlEncoding() |
Optional<Integer> |
getIndexRowCount() |
Encoding |
getRlEncoding() |
Statistics<?> |
getStatistics() |
Encoding |
getValueEncoding() |
String |
toString() |
getFirstRowIndex, getValueCountgetCompressedSize, getCrc, getUncompressedSize, setCrcpublic DataPageV1(BytesInput bytes, int valueCount, int uncompressedSize, Statistics<?> statistics, Encoding rlEncoding, Encoding dlEncoding, Encoding valuesEncoding)
bytes - the bytes for this pagevalueCount - count of values in this pageuncompressedSize - the uncompressed size of the pagestatistics - of the page's values (max, min, num_null)rlEncoding - the repetition level encoding for this pagedlEncoding - the definition level encoding for this pagevaluesEncoding - the values encoding for this pagepublic DataPageV1(BytesInput bytes, int valueCount, int uncompressedSize, long firstRowIndex, int rowCount, Statistics<?> statistics, Encoding rlEncoding, Encoding dlEncoding, Encoding valuesEncoding)
bytes - the bytes for this pagevalueCount - count of values in this pageuncompressedSize - the uncompressed size of the pagefirstRowIndex - the index of the first row in this pagerowCount - the number of rows in this pagestatistics - of the page's values (max, min, num_null)rlEncoding - the repetition level encoding for this pagedlEncoding - the definition level encoding for this pagevaluesEncoding - the values encoding for this pagepublic BytesInput getBytes()
public Statistics<?> getStatistics()
public Encoding getDlEncoding()
public Encoding getRlEncoding()
public Encoding getValueEncoding()
public <T> T accept(DataPage.Visitor<T> visitor)
public Optional<Integer> getIndexRowCount()
getIndexRowCount in class DataPageCopyright © 2024 The Apache Software Foundation. All rights reserved.