Flow PHP

SeenKeys

FinalYes

The keys a stream brought so far, each held as its 16-byte xxh128 digest, so a long key costs no more than a short one.

Methods

add()  : array<int, int>
count()  : int

Methods

add()

public add(array<int, string> $keys) : array<int, int>
Parameters
$keys : array<int, string>

one per row

Return values
array<int, int> —

the rows whose key was never seen before, the first row of each, ascending

count()

public count() : int
Return values
int
On this page

Search results