public abstract static class UniqueFactory.UniqueRelationshipFactory extends UniqueFactory<Relationship>
UniqueFactory for Relationship.UniqueFactory.UniqueEntity<T extends PropertyContainer>, UniqueFactory.UniqueNodeFactory, UniqueFactory.UniqueRelationshipFactory| Constructor and Description |
|---|
UniqueRelationshipFactory(GraphDatabaseService graphdb,
String index)
Create a new
UniqueFactory for relationships. |
UniqueRelationshipFactory(Index<Relationship> index)
Create a new
UniqueFactory for relationships. |
getOrCreate, getOrCreateWithOutcomepublic UniqueRelationshipFactory(Index<Relationship> index)
UniqueFactory for relationships.index - the index to store entities uniquely in.public UniqueRelationshipFactory(GraphDatabaseService graphdb, String index)
UniqueFactory for relationships.graphdb - the graph database to get the index from.index - the name of the index to store entities uniquely in.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.