WindowFrame extends Describable
Methods
- bounds() : array{0: int, 1: int}
- Inclusive indexes into the sorted partition.
- describe() : null|Description
- fromDescription() : static
Methods
bounds()
Inclusive indexes into the sorted partition.
public
bounds(int $index, Rows $partition) : array{0: int, 1: int}
An empty frame is expressed as [1, 0] (start > end).
Parameters
- $index : int
- $partition : Rows
Return values
array{0: int, 1: int}describe()
public
describe() : null|Description
Return values
null|Description —null when this instance cannot cross a process boundary (a live client, a custom collaborator)
fromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild