return new Neo4j2EdgeIterable(GlobalGraphOperations.at(rawGraph).getAllRelationships(), this, this.checkElementsInTransaction());
}
public Iterable<Edge> getEdges(final String key, final Object value) {
this.autoStartTransaction(false);
final AutoIndexer indexer = this.rawGraph.index().getRelationshipAutoIndexer();
if (indexer.isEnabled() && indexer.getAutoIndexedProperties().contains(key))
return new Neo4j2EdgeIterable(this.rawGraph.index().getRelationshipAutoIndexer().getAutoIndex().get(key, value), this,
this.checkElementsInTransaction());
else
return new PropertyFilteredIterable<Edge>(key, value, this.getEdges());
}