Thanks. I'd like to assume that setMaxResultSize is equivalent to the SQL Limit clause as expected which is specified each time a SQL statement is executed . Now through "hbase.client.scanner.max.result.size" can the limitation of number of row returned only apply to all the scanner instances. I am wondering why the setMaxResultSize is removed now.
> No such method for Scan in 0.94.x. > > If you want to set the max result size for a scan, you can achieve this by > setting the "hbase.client.scanner.max.result.size" configuration, the default > for which is Long.MAX_VALUE (no limited) > ________________________________________ > 发件人: Weiping Qu [q...@informatik.uni-kl.de] > 发送时间: 2014年3月17日 18:50 > 收件人: dev@hbase.apache.org > 主题: setMaxResultSize method in Scan > > Hello, > > I could not find the method setMaxResultSize(long m) > (http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html) > in my Scanclass (0.94.13 version). > Can anyone help me? Thanks > > Weiping -- Mit freundlichen Grü?en / Kind Regards *Weiping Qu* University of Kaiserslautern Department of Computer Science Heterogeneous Information Systems Group P.O. Box 3049 67653 Kaiserslautern, Germany Email: qu (at) informatik.uni-kl.de Phone: +49 631 205 3264 Fax: +49 631 205 3299 Room: 36/331