FrameBound
Read onlyYes
FinalYes
Properties
- $offset : int|null
- $type : FrameBoundType
Methods
- __construct() : mixed
- resolve() : int
- Resolve this bound to an index in the sorted partition. Intentionally not clamped - RowsFrame needs the unclamped value to detect a frame lying entirely outside the partition.
Properties
$offset
public
int|null
$offset
= null
$type
public
FrameBoundType
$type
Methods
__construct()
public
__construct(FrameBoundType $type[, int|null $offset = null ]) : mixed
Parameters
- $type : FrameBoundType
- $offset : int|null = null
resolve()
Resolve this bound to an index in the sorted partition. Intentionally not clamped - RowsFrame needs the unclamped value to detect a frame lying entirely outside the partition.
public
resolve(int $index, int $lastIndex) : int
Parameters
- $index : int
- $lastIndex : int