I'm using java to code for GAE, I've read through the GAE Java low level API and can't find any answer to my question yet.
I wanna know if there's a way where I can call a method/do a JDOPL and it returns all the different kinds of entities in my Datastore.
You can use the Metadata API. For example:
You could use the datastore statistics API:
http://code.google.com/appengine/docs/java/datastore/stats.html
It looks like the
__Stat_Kind__
statistic will give you the info you want.I found a working solution here. (it doesn't work in local deployment server as of July 9, 2010)