public class GraphServiceImpl extends Object implements GraphServiceInterface
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<Map<String,GraphNode>> |
MapStringGraphNodeTypeRef |
APPLICATION_JSON_UTF8, valid200, valid200202, valid200202Json, valid200204, valid200Json, valid200Stream, valid200TextPlain| Constructor and Description |
|---|
GraphServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
GraphNode |
createEdge(String graphName,
String node_id,
String edge_type,
String to_node_id) |
GraphDefinition |
createUpdateGraph(String graphName,
GraphDefinition graphDef) |
GraphNode |
createUpdateNode(String graphName,
String node_id,
GraphNode node,
Boolean upsert) |
Long |
createUpdateNodes(String graphName,
Boolean upsert,
InputStream inputStream) |
Set<String> |
createUpdateNodes(String graphName,
LinkedHashMap<String,GraphNode> nodes,
Boolean upsert) |
GraphNode |
deleteEdge(String graphName,
String node_id,
String edge_type,
String to_node_id) |
GraphDefinition |
deleteGraph(String graphName) |
GraphNode |
deleteNode(String graphName,
String node_id) |
GraphResult |
getGraph(String graphName) |
GraphNode |
getNode(String graphName,
String node_id) |
Set<String> |
list() |
List<GraphNodeResult> |
requestNodes(String graphName,
GraphRequest request) |
public Set<String> list()
list in interface GraphServiceInterfacepublic GraphDefinition createUpdateGraph(String graphName, GraphDefinition graphDef)
createUpdateGraph in interface GraphServiceInterfacepublic GraphResult getGraph(String graphName)
getGraph in interface GraphServiceInterfacepublic GraphDefinition deleteGraph(String graphName)
deleteGraph in interface GraphServiceInterfacepublic GraphNode createUpdateNode(String graphName, String node_id, GraphNode node, Boolean upsert)
createUpdateNode in interface GraphServiceInterfacepublic Set<String> createUpdateNodes(String graphName, LinkedHashMap<String,GraphNode> nodes, Boolean upsert)
createUpdateNodes in interface GraphServiceInterfacepublic Long createUpdateNodes(String graphName, Boolean upsert, InputStream inputStream)
createUpdateNodes in interface GraphServiceInterfacepublic GraphNode getNode(String graphName, String node_id)
getNode in interface GraphServiceInterfacepublic GraphNode deleteNode(String graphName, String node_id)
deleteNode in interface GraphServiceInterfacepublic GraphNode createEdge(String graphName, String node_id, String edge_type, String to_node_id)
createEdge in interface GraphServiceInterfacepublic GraphNode deleteEdge(String graphName, String node_id, String edge_type, String to_node_id)
deleteEdge in interface GraphServiceInterfacepublic List<GraphNodeResult> requestNodes(String graphName, GraphRequest request)
requestNodes in interface GraphServiceInterfaceCopyright © 2016 QWAZR / Emmanuel Keller. All rights reserved.