GetProcedures { @Procedure @Description("apoc.get.nodes(node|id|[ids]) - quickly returns all nodes with these id's") public Stream<NodeResult> nodes(@Name("nodes") Object ids) { return new Get(tx).nodes(ids); }  @Procedure @Description("apoc.get.nodes(node|id|[ids]) - quickly returns all nodes with these id's") Stream<NodeResult> nodes(@Name("nodes") Object ids); @Procedure @Description("apoc.get.rels(rel|id|[ids]) - quickly returns all relationships with these id's") Stream<RelationshipResult> rels(@Name("relationships") Object ids); @Context
    public Transaction tx; }
@Test public void testNodes() throws Exception { List<Long> ids = TestUtil.firstColumn(db, "UNWIND range(0,2) as id CREATE (n:Node {id:id}) return id(n) as id"); TestUtil.testResult(db, "CALL apoc.get.nodes($ids)", map("ids",ids), r -> { assertEquals(true, ids.contains(((Node) r.next().get("node")).getId())); assertEquals(true, ids.contains(((Node) r.next().get("node")).getId())); assertEquals(true, ids.contains(((Node) r.next().get("node")).getId())); }); }