RangeScan
in package
implements
ScanType
A RangeScan performs a scan on a range of keys with the range specified through a start and end ScanTerm
Interfaces, Classes, Traits and Enums
- ScanType
- ScanType is an interface for providing key value scan operations
Table of Contents
- $from : ScanTerm|null
- $to : ScanTerm|null
- __construct() : mixed
- build() : RangeScan
- Static helper to keep code more readable
- from() : RangeScan
- to() : RangeScan
Properties
$from
private
ScanTerm|null
$from
$to
private
ScanTerm|null
$to
Methods
__construct()
public
__construct([ScanTerm|null $from = null ][, ScanTerm|null $to = null ]) : mixed
Parameters
- $from : ScanTerm|null = null
-
RangeScan start term. Defaults to minimum value
- $to : ScanTerm|null = null
-
RangeScan from term. Defaults to maximum value
Tags
Return values
mixed —build()
Static helper to keep code more readable
public
static build([ScanTerm|null $from = null ][, ScanTerm|null $to = null ]) : RangeScan
Parameters
- $from : ScanTerm|null = null
-
RangeScan start term. Defaults to minimum value
- $to : ScanTerm|null = null
-
RangeScan from term. Defaults to maximum value
Tags
Return values
RangeScan —from()
public
from(ScanTerm $from) : RangeScan
Parameters
- $from : ScanTerm
Tags
Return values
RangeScan —to()
public
to(ScanTerm $to) : RangeScan
Parameters
- $to : ScanTerm