cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject paging through an entire table in chunks?
Date Sat, 27 Sep 2014 21:42:37 GMT
I need a way to do a full table scan across all of our data.

Can’t I just use token() for this?

This way I could split up our entire keyspace into say 1024 chunks, and
then have one activemq task work with range 0, then range 1, etc… that way
I can easily just map() my whole table.

and since it’s token() I should (generally) read a contiguous range from a
given table.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Mime
View raw message