Appengine how to delete all objects in a namespace - Java

I use a namespace to manage layering. I need to know if there is an easy way to delete all objects.

I know that I can use mapreduce, but all the examples I saw call the collector from the servlet configuration, but I need to pass a dynamic namespace string when the user chooses to close the account.

+5
source share
2 answers

After research, mapreduce cannot be called with a namespace in an entity search. It could be a better route.

The only way -

  • Create a task queue to delete the entire namespace
  • Get all kinds in the namespace. Use pending tasks to delete each view
  • ( ). . -, . - . , .
+2

, Python, Java - - .

+2

All Articles