raf shin created GORA-141:
-----------------------------
Summary: Gora should make use of QueryBase.getLimit() in setting
scanner.cache in creating scans
Key: GORA-141
URL: https://issues.apache.org/jira/browse/GORA-141
Project: Apache Gora
Issue Type: Improvement
Components: storage-hbase
Reporter: raf shin
public ResultScanner createScanner(Query<K, T> query)
throws IOException {
final Scan scan = new Scan();
+ scan.setCaching(query.getLimit())
if (query.getStartKey() != null) {
scan.setStartRow(toBytes(query.getStartKey()));
}
if (query.getEndKey() != null) {
scan.setStopRow(toBytes(query.getEndKey()));
}
addFields(scan, query);
return table.getScanner(scan);
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira