close ( )

forEach ( consumer: Consumer)

Iterate over a result and call the provided function for each record. Once completed the result will be closed.

Parameters
Name Type Description
consumer Consumer

hasNext ( ) { boolean }

next ( ) { Record }