Awesome! Thank you so much. Running into another issue now: I am running an augmentation of this
import org.neo4j.rest.graphdb.RestAPI;
import org.neo4j.rest.graphdb.RestAPIFacade;
import org.neo4j.rest.graphdb.query.RestCypherQueryEngine;
import org.neo4j.rest.graphdb.util.QueryResult;
import java.util.Map;
import static org.neo4j.helpers.collection.MapUtil.map;
public class TestRun {
public static void main(String[] args) {
System.out.println("starting test");
System.out.println("API created");
final RestCypherQueryEngine engine = new RestCypherQueryEngine(api);
System.out.println("engine created");
final QueryResult<Map<String,Object>> result = engine.query("start n=node({id}) return n, id(n) as id;", map("id", 0));
System.out.println("query created");
for (Map<String, Object> row : result) {
long id=((Number)row.get("id")).longValue();
System.out.println("id is " + id);
}
}
}
And it seems to just be stalling at the construction of the QueryResult. Any idea why it would just get stuck there? No error or exception.