Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Scan entire table


Copy link to this message
-
Re: Scan entire table
It should at least be clear in the client section of the manual that a 'table scan' is the default mode unless you scope the scan down via additional calls
On May 15, 2012, at 10:25 AM, David Medinets wrote:

> Sounds like an FAQ to me. The manual should be fairly limited in scope, I feel.
>
> On Tue, May 15, 2012 at 12:13 PM, Juan Moreno
> <[EMAIL PROTECTED]> wrote:
>> That is awesome information, and worthy enough to be included in the Manual.
>> Thanks so much.
>>
>>
>> On Tue, May 15, 2012 at 12:08 PM, Jim Klucar <[EMAIL PROTECTED]> wrote:
>>>
>>> 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 Wellington Moreno
>> Software Engineer
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB