hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Lam <chiling...@gmail.com>
Subject Question on Scanner REST API Usage
Date Fri, 19 Oct 2012 14:31:17 GMT
Hi HBase community:

I have a few questions on the usage of Scanner via REST API:

- From the XML schema (
we can set the maximum number of values to return for each call to next()
by specifying the batch attribute. Is there a way to set the number of rows
for caching that will be passed to scanners (setCaching)?

- Also, I cannot find a way to get all columns of a single row for each
call to next(). Can someone tell me if this is possible? Note that setting
the batch size won't work because, for example, some rows might have 10
columns and the other rows might have 5 columns, setting batch to 10 will
include cells that are from other rows. I want a API that behaves like the
Java native API that will get all columns of a row when I call next().

Any help is greatly appreciated.

Best Regards,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message