HBASE-936 REST Interface: enable to get numbers of rows from scanner interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb41078c8d
commit
52b20f4b18
|
@ -40,6 +40,13 @@ public interface Scanner extends Closeable, Iterable<RowResult> {
|
|||
*/
|
||||
public RowResult next() throws IOException;
|
||||
|
||||
/**
|
||||
* @param nbRows number of rows to return
|
||||
* @return Between zero and <param>nbRows</param> RowResults
|
||||
* @throws IOException
|
||||
*/
|
||||
public RowResult[] next(int nbRows) throws IOException;
|
||||
|
||||
/**
|
||||
* Closes the scanner and releases any resources it has allocated
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue