Java Pelops and Cassandra NoSQL DB: Can I Batch Delete Rows? -


i'm trying figure out how batch delete rows in cassandra db using pelops.

ideally, specify keyrange of rows need deleted. work fine purposes.

however, (albeit brief) research leading me believe not possible. rowdeletor takes rowkey, , not keyrange. these findings correct?

i should able programmatically using modified version of 1 of list functions, but, again, keyrange preferable.

no, don't think can batch delete rows pelops, rowdeletor not participate in batches, , mutator class has deletion operations explicitly named columns.

if take @ code pelops' deletecolumns can see creates deletion , adds list of mutations, think adding more deletions list make them issued in same batch. getmutationlist method protected, perhaps can make subclass either exposes method, or has way add more deletions list.

it looks can hector, mutator interface has methods take multiple row keys, e.g. adddeletion(k key, string cf) , adddeletion(iterable<k> keys, string cf). cassandra should @ least support deleting multiple rows per batch.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -