Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # user - Scan entire table


+
Juan Moreno 2012-05-15, 15:56
Copy link to this message
-
Re: Scan entire table
Jim Klucar 2012-05-15, 16:08
Just don't do anything. If you create a scanner object, it sets the
default range to Range(null, null) so when you call Scanner.iterator()
you will create an iterator that will cover the entire table. Calling
the methods to set ranges or fetch columns just narrow the default
range down, if you want everything just don't call those methods.

On Tue, May 15, 2012 at 11:56 AM, Juan Moreno
<[EMAIL PROTECTED]> wrote:
> Salutations!
>
> How can Iterate over an entire table using the Java API?
> The documentation mentions using Ranges to scan portions of a table, but
> what about an entire table?
>
> Thanks,
>
> Juan
+
Juan Moreno 2012-05-15, 16:13
+
David Medinets 2012-05-15, 16:25
+
John Armstrong 2012-05-15, 16:29
+
Eric Newton 2012-05-15, 17:32
+
Aaron Cordova 2012-05-15, 17:49