public abstract static class UniqueFactory.UniqueNodeFactory extends UniqueFactory<Node>
UniqueFactory for Node.UniqueFactory.UniqueEntity<T extends PropertyContainer>, UniqueFactory.UniqueNodeFactory, UniqueFactory.UniqueRelationshipFactory| Constructor and Description |
|---|
UniqueNodeFactory(GraphDatabaseService graphdb,
String index)
Create a new
UniqueFactory for nodes. |
UniqueNodeFactory(Index<Node> index)
Create a new
UniqueFactory for nodes. |
getOrCreate, getOrCreateWithOutcomepublic UniqueNodeFactory(Index<Node> index)
UniqueFactory for nodes.index - the index to store entities uniquely in.public UniqueNodeFactory(GraphDatabaseService graphdb, String index)
UniqueFactory for nodes.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.