Flow PHP

OffsetIndex

Read onlyYes
FinalYes

Properties

$pages  : array<string|int, mixed>

Methods

__construct()  : mixed
fits()  : bool
Whether the pages lie inside the chunk, each after the previous and a byte at least, and split a row group of $rows rows: the first starts at row 0, each later one after the previous, all before the group's end.
fromThrift()  : self
pageOf()  : int
The page holding row $row of the row group.
pageRows()  : int
Rows of page $page, the last page ending at the row group's $rowGroupRows.
toThrift()  : OffsetIndex

Properties

Methods

fits()

Whether the pages lie inside the chunk, each after the previous and a byte at least, and split a row group of $rows rows: the first starts at row 0, each later one after the previous, all before the group's end.

public fits(ColumnChunk $chunk, int $rows) : bool
Parameters
$chunk : ColumnChunk
$rows : int
Return values
bool

pageOf()

The page holding row $row of the row group.

public pageOf(int $row) : int
Parameters
$row : int
Return values
int

pageRows()

Rows of page $page, the last page ending at the row group's $rowGroupRows.

public pageRows(int $page, int $rowGroupRows) : int
Parameters
$page : int
$rowGroupRows : int
Return values
int
On this page

Search results