SampledUnits
Read onlyYes
FinalYes
The samples one inference read, in unit order; units that were never sniffed are not counted.
Properties
- $samples : array<string|int, mixed>
Methods
- __construct() : mixed
- estimatedRows() : Cardinality
- Listed bytes over the mean bytes of the sampled rows; exact when the samples read every row of every listed unit.
- exactRows() : Cardinality
- Exact when the samples read every row of every listed unit, unknown otherwise.
Properties
$samples
public
array<string|int, mixed>
$samples
Methods
__construct()
public
__construct(array<int, Sample> $samples) : mixed
Parameters
- $samples : array<int, Sample>
estimatedRows()
Listed bytes over the mean bytes of the sampled rows; exact when the samples read every row of every listed unit.
public
estimatedRows(int $listedUnits, Cardinality $listedBytes) : Cardinality
Parameters
- $listedUnits : int
- $listedBytes : Cardinality
Return values
CardinalityexactRows()
Exact when the samples read every row of every listed unit, unknown otherwise.
public
exactRows(int $listedUnits) : Cardinality
Parameters
- $listedUnits : int