@InternalExtensionOnly public interface ResultScanner<T> extends Closeable
Modifier and Type | Method and Description |
---|---|
int |
available()
Check number of rows immediately available.
|
T |
next()
Read the next row and block until a row is available.
|
T[] |
next(int count)
Read the next N rows where N <= count.
|
T next() throws IOException
IOException
- if any.T[] next(int count) throws IOException
count
- The number of rows to read.IOException
- if any.int available()
next()
will not block on network
for at least n results.