BlessScanIterator
final class BlessScanIterator implements Iterator
Lazily iterates the keys of BLESS SCAN, fetching one page at a time. Rewinding
restarts the scan once a key has been consumed.
Methods
Returns the current key name, or null when the scan has finished.
Returns the position of the current key, or null when the scan has finished.
Moves to the next key.
Restarts the scan if any keys have been consumed.
Returns whether there is a current key, fetching pages as needed.
Details
at line 5023
mixed
current()
Returns the current key name, or null when the scan has finished.
at line 5030
mixed
key()
Returns the position of the current key, or null when the scan has finished.
at line 5037
void
next()
Moves to the next key.
at line 5044
void
rewind()
Restarts the scan if any keys have been consumed.
at line 5051
bool
valid()
Returns whether there is a current key, fetching pages as needed.