@Override public Results getResults(Query query) throws Exception { return app.getEntityManager() .searchCollection(app.getEntityManager().getApplicationRef(), "tests", query); }
@Override public Entity writeEntity(Map<String, Object> entity) throws Exception { return app.getEntityManager().create("test", entity); }