public class GraphMultiClient extends JsonMultiClientAbstract<GraphSingleClient> implements GraphServiceInterface
APPLICATION_JSON_UTF8, valid200, valid200202, valid200202Json, valid200204, valid200Json, valid200Stream, valid200TextPlain| Modifier and Type | Method and Description |
|---|---|
GraphNode |
createEdge(String db_name,
String node_id,
String edge_type,
String to_node_id) |
GraphDefinition |
createUpdateGraph(String graphName,
GraphDefinition graphDef) |
GraphNode |
createUpdateNode(String db_name,
String node_id,
GraphNode node,
Boolean upsert) |
Long |
createUpdateNodes(String db_name,
Boolean upsert,
InputStream inpustStream) |
Set<String> |
createUpdateNodes(String db_name,
LinkedHashMap<String,GraphNode> nodes,
Boolean upsert) |
GraphNode |
deleteEdge(String db_name,
String node_id,
String edge_type,
String to_node_id) |
GraphDefinition |
deleteGraph(String graphName) |
GraphNode |
deleteNode(String db_name,
String node_id) |
GraphResult |
getGraph(String graphName) |
GraphNode |
getNode(String db_name,
String node_id) |
Set<String> |
list() |
protected GraphSingleClient |
newClient(RemoteService remote) |
List<GraphNodeResult> |
requestNodes(String db_name,
GraphRequest request) |
getClientByPos, getClientByUrl, iterator, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 Set<String> createUpdateNodes(String db_name, LinkedHashMap<String,GraphNode> nodes, Boolean upsert)
createUpdateNodes in interface GraphServiceInterfacepublic Long createUpdateNodes(String db_name, Boolean upsert, InputStream inpustStream)
createUpdateNodes in interface GraphServiceInterfacepublic GraphNode createUpdateNode(String db_name, String node_id, GraphNode node, Boolean upsert)
createUpdateNode in interface GraphServiceInterfacepublic GraphNode getNode(String db_name, String node_id)
getNode in interface GraphServiceInterfacepublic GraphNode deleteNode(String db_name, String node_id)
deleteNode in interface GraphServiceInterfacepublic GraphNode createEdge(String db_name, String node_id, String edge_type, String to_node_id)
createEdge in interface GraphServiceInterfacepublic GraphNode deleteEdge(String db_name, String node_id, String edge_type, String to_node_id)
deleteEdge in interface GraphServiceInterfacepublic List<GraphNodeResult> requestNodes(String db_name, GraphRequest request)
requestNodes in interface GraphServiceInterfaceprotected GraphSingleClient newClient(RemoteService remote)
newClient in class JsonMultiClientAbstract<GraphSingleClient>Copyright © 2016 QWAZR / Emmanuel Keller. All rights reserved.