public abstract static class UniqueFactory.UniqueRelationshipFactory extends UniqueFactory<Relationship>
UniqueFactory for Relationship.UniqueFactory.UniqueEntity<T extends PropertyContainer>, UniqueFactory.UniqueNodeFactory, UniqueFactory.UniqueRelationshipFactory| Constructor and Description |
|---|
UniqueFactory.UniqueRelationshipFactory(GraphDatabaseService graphdb,
String index)
Create a new
UniqueFactory for relationships. |
UniqueFactory.UniqueRelationshipFactory(Index<Relationship> index)
Create a new
UniqueFactory for relationships. |
getOrCreate, getOrCreateWithOutcomepublic UniqueFactory.UniqueRelationshipFactory(Index<Relationship> index)
UniqueFactory for relationships.index - the index to store entities uniquely in.public UniqueFactory.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–2015 The Neo4j Graph Database Project. All rights reserved.