hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r708632 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java
Date Tue, 28 Oct 2008 18:51:53 GMT
Author: stack
Date: Tue Oct 28 11:51:53 2008
New Revision: 708632

URL: http://svn.apache.org/viewvc?rev=708632&view=rev
Log:
HBASE-936 REST Interface: enable to get numbers of rows from scanner interface

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java?rev=708632&r1=708631&r2=708632&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/Scanner.java Tue Oct 28 11:51:53
2008
@@ -41,6 +41,13 @@
   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
    */
   public void close();  



Mime
View raw message