Iterable<Entity> namespaceEntities =
DatastoreServiceFactory.getAsyncDatastoreService().prepare(new Query(StatConstants.STAT_NAMESPACE)).asIterable();
Objectify ofy = ObjectifyService.begin();
Iterable<Total> totals = ofy.query(Total.class).fetch(); // total stat query
// use HashMap here because Guava's map implementations don't support empty string
Map<String, Iterable<NSKind>> nsKindsMap = new HashMap<String, Iterable<NSKind>>();
Map<String, Iterable<NSKindIsRootEntity>> nsRootKindsMap = new HashMap<String, Iterable<NSKindIsRootEntity>>();
Map<String, Iterable<NSKindNonRootEntity>> nsNonRootKindsMap = new HashMap<String, Iterable<NSKindNonRootEntity>>();