/** * Gets all entities for this key as long as they exist in the datastore * * @param keys all entity keys * @return all entities that were found with the specified keys */ public static Map<Key, Entity> getEntities(Iterable<Key> keys) { try { return mDatastore.get(keys); } catch (IllegalArgumentException | DatastoreFailureException e) { e.printStackTrace(); return null; } }