Skip to Main Content

NoSQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Modifying KV examples

user551641Nov 28 2011 — edited Nov 29 2011
Hello all,

I am trying to understand the schema examples which are available in the download and am doing this by trying to modify the code.
The code says the following about the deleteExistingData:

* This method is unrealistic in that it uses KVStore.storeKeysIterator to
* iterate over all user Keys and delete each of them individually. In a
* real application with multiple clients or client threads, this approach
* wouldn't work well because the set of deletion operations is not atomic,

Is it possible to do a bulk delete instead of iterating over all user Keys?

regards Hans-Peter

Edited by: user551641 on 28-nov-2011 12:21
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2011
Added on Nov 28 2011
5 comments
175 views