SamplingScan
in package
implements
ScanType
A SamplingScan performs a scan on a random sampling of keys with the sampling bounded by a limit.
Interfaces, Classes, Traits and Enums
- ScanType
- ScanType is an interface for providing key value scan operations
Table of Contents
- $limit : int
- $seed : int|null
- __construct() : mixed
- build() : SamplingScan
- Static helper to keep the code more readable.
- limit() : SamplingScan
- seed() : SamplingScan
Properties
$limit
private
int
$limit
$seed
private
int|null
$seed
Methods
__construct()
public
__construct(int $limit[, int|null $seed = null ]) : mixed
Parameters
- $limit : int
- $seed : int|null = null
Tags
Return values
mixed —build()
Static helper to keep the code more readable.
public
static build(int $limit[, int|null $seed = null ]) : SamplingScan
Parameters
- $limit : int
- $seed : int|null = null
Tags
Return values
SamplingScan —limit()
public
limit(int $limit) : SamplingScan
Parameters
- $limit : int
Tags
Return values
SamplingScan —seed()
public
seed(int $seed) : SamplingScan
Parameters
- $seed : int