|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hsr.bieridee.utils.Testdb
public final class Testdb
Utiltiy to create a neo4j database with some testdata.
Method Summary | |
---|---|
static org.neo4j.kernel.EmbeddedGraphDatabase |
createDB(java.lang.String path)
Creates the Database at the given path with the given name. |
static void |
deleteDB(org.neo4j.kernel.EmbeddedGraphDatabase db)
Deletes the given database. |
static org.neo4j.kernel.EmbeddedGraphDatabase |
fillDB(org.neo4j.kernel.EmbeddedGraphDatabase db)
Fills the given database with test data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.neo4j.kernel.EmbeddedGraphDatabase createDB(java.lang.String path)
path
- Path and name of the database to be created
public static void deleteDB(org.neo4j.kernel.EmbeddedGraphDatabase db)
db
- The database to be deletedpublic static org.neo4j.kernel.EmbeddedGraphDatabase fillDB(org.neo4j.kernel.EmbeddedGraphDatabase db)
db
- The database to be filled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |