How would I go about retrieving all nodes for a certain relationship Type
(ie. assuming I don't know any of them nodes) ? (in java code, the other
variants rest/cypher I will probably not need to use)
ie. rel.getAllNodes(Direction.INCOMING)
or rel.getAllNodes(Direction.OUTGOING)
or Direction.BOTH
Hey,
How would I go about retrieving all nodes for a certain relationship Type
(ie. assuming I don't know any of them nodes) ?
Use an index. I don't know in native Neo4j off the top of my head, but the
analogous to this in Blueprints:
g.getIndex(edges, Edge.class).get(label,myType)
2 matches
Mail list logo