public class PropertyStoreNeo4j extends AbstractPropertyStore
PropertyStore to work with Neo4J.| Constructor and Description |
|---|
PropertyStoreNeo4j()
Default to create instances.
|
PropertyStoreNeo4j(org.neo4j.graphdb.GraphDatabaseService myDb)
Initialization of store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
<T> void |
createProperty(Property<T> ap) |
void |
createSchema() |
void |
deleteProperty(String name) |
boolean |
existProperty(String name) |
org.neo4j.graphdb.GraphDatabaseService |
getGraphDb()
Getter accessor for attribute 'graphDb'.
|
Set<String> |
listPropertyNames() |
Map<String,Property<?>> |
readAllProperties() |
Property<?> |
readProperty(String name) |
void |
setGraphDb(org.neo4j.graphdb.GraphDatabaseService graphDb)
Setter accessor for attribute 'graphDb'.
|
<T> void |
updateProperty(Property<T> prop) |
void |
updateProperty(String name,
String newValue) |
assertPropertyExist, assertPropertyNotExist, assertPropertyNotNull, importProperties, importPropertiesFromXmlFile, isEmpty, readProperty, toJsonpublic PropertyStoreNeo4j()
public PropertyStoreNeo4j(org.neo4j.graphdb.GraphDatabaseService myDb)
public boolean existProperty(String name)
public <T> void createProperty(Property<T> ap)
public void updateProperty(String name, String newValue)
updateProperty in interface PropertyStoreupdateProperty in class AbstractPropertyStorepublic <T> void updateProperty(Property<T> prop)
updateProperty in interface PropertyStoreupdateProperty in class AbstractPropertyStorepublic void deleteProperty(String name)
public void clear()
public org.neo4j.graphdb.GraphDatabaseService getGraphDb()
public void setGraphDb(org.neo4j.graphdb.GraphDatabaseService graphDb)
graphDb - new value for 'graphDb 'public void createSchema()
createSchema in interface PropertyStorecreateSchema in class AbstractPropertyStoreCopyright © 2013–2019 FF4J. All rights reserved.