public class GraphDbManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphDbManager.Response
The Class Response.
|
Modifier and Type | Field and Description |
---|---|
static String |
CYPHER |
static String |
ROOT_URI |
Constructor and Description |
---|
GraphDbManager() |
Modifier and Type | Method and Description |
---|---|
static GraphDbManager.Response |
cypher(String query,
org.json.simple.JSONObject params)
Cypher.
|
static GraphDbManager.Response |
delete(String target)
Delete.
|
static GraphDbManager.Response |
get(String target)
Gets the.
|
static GraphDbManager.Response |
post(String target,
String json)
Post.
|
static GraphDbManager.Response |
put(String target,
String json)
Put.
|
static GraphDbManager.Response |
readResponse(com.sun.jersey.api.client.ClientResponse response)
Read response.
|
public static final String ROOT_URI
public static final String CYPHER
public static GraphDbManager.Response cypher(String query, org.json.simple.JSONObject params) throws IOException
query
- the queryparams
- the paramsIOException
- the IO exceptionpublic static GraphDbManager.Response get(String target) throws IOException
target
- the targetIOException
- the IO exceptionpublic static GraphDbManager.Response delete(String target) throws IOException
target
- the targetIOException
- the IO exceptionpublic static GraphDbManager.Response post(String target, String json) throws IOException
target
- the targetjson
- the jsonIOException
- the IO exceptionpublic static GraphDbManager.Response put(String target, String json) throws IOException
target
- the targetjson
- the jsonIOException
- the IO exceptionpublic static GraphDbManager.Response readResponse(com.sun.jersey.api.client.ClientResponse response) throws IOException
response
- the responseIOException
- the IO exceptionCopyright © 2019 SEMS project @ University of Rostock. All rights reserved.