public interface IDBAccess
| Modifier and Type | Method and Description |
|---|---|
ITransaction |
beginTX()
create a transaction
|
List<JcError> |
clearDatabase()
removes all nodes and relations form the graph database
|
void |
close()
close the database connection
|
JcQueryResult |
execute(JcQuery query)
execute a query against a database
|
List<JcQueryResult> |
execute(List<JcQuery> queries)
execute a list of queries against a database
|
DBType |
getDBType()
Answer the type of database access (REMOTE, EMBEDDED, IN_MEMORY)
|
ITransaction |
getTX()
Answer the transaction which was opened in the context of the current thread.
|
boolean |
isDatabaseEmpty() |
JcQueryResult execute(JcQuery query)
query - a JcQueryList<JcQueryResult> execute(List<JcQuery> queries)
queries - List<JcError> clearDatabase()
ITransaction beginTX()
ITransaction getTX()
boolean isDatabaseEmpty()
DBType getDBType()
void close()
Copyright © 2016. All rights reserved.