Does HBase have any command that works like SQL LIMIT query?
SQL LIMIT
I can do it by setStart and setEnd, but I do not want to iterate all
setStart
setEnd
If one uses HBase Shell, the following command could be used to limit the query results:The "LIMIT" must be enclosed in single quotes.
scan 'table-name', {'LIMIT' => 10}