@InterfaceAudience.Public @InterfaceStability.Stable public interface ResultScanner extends Closeable, Iterable<Result>
Table
to obtain instances.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the scanner and releases any resources it has allocated
|
Result |
next()
Grab the next row's worth of values.
|
Result[] |
next(int nbRows) |
forEach, iterator, spliterator
Result next() throws IOException
IOException
- eResult[] next(int nbRows) throws IOException
nbRows
- number of rows to returnIOException
- evoid close()
close
in interface AutoCloseable
close
in interface Closeable