public interface OffsetIndex
OffsetIndex| Modifier and Type | Method and Description |
|---|---|
int |
getCompressedPageSize(int pageIndex) |
long |
getFirstRowIndex(int pageIndex) |
default long |
getLastRowIndex(int pageIndex,
long rowGroupRowCount) |
long |
getOffset(int pageIndex) |
int |
getPageCount() |
default int |
getPageOrdinal(int pageIndex) |
default Optional<Long> |
getUnencodedByteArrayDataBytes(int pageIndex) |
int getPageCount()
long getOffset(int pageIndex)
pageIndex - the index of the pageint getCompressedPageSize(int pageIndex)
pageIndex - the index of the pagelong getFirstRowIndex(int pageIndex)
pageIndex - the index of the pagedefault int getPageOrdinal(int pageIndex)
pageIndex - the index of the pagedefault long getLastRowIndex(int pageIndex,
long rowGroupRowCount)
pageIndex - the index of the pagerowGroupRowCount - the total number of rows in the row-groupdefault Optional<Long> getUnencodedByteArrayDataBytes(int pageIndex)
pageIndex - the index of the pageCopyright © 2023 The Apache Software Foundation. All rights reserved.