asStream abstract method

Stream<Result> asStream()

Returns a stream which consumes this result set and emits its results.

A result set can only be consumed once and listening to the returned stream counts as consuming it. Other methods for consuming this result set must not be used when using a stream.

Implementation

Stream<Result> asStream();