public class GraphUpdate extends Object
| Constructor and Description |
|---|
GraphUpdate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(String source_node,
String target_node,
String layer,
String component_type,
String component_name) |
void |
addEdgeLabel(String source_node,
String target_node,
String layer,
String component_type,
String component_name,
String anno_ns,
String anno_name,
String anno_value) |
void |
addNode(String node_name) |
void |
addNode(String node_name,
String node_type) |
void |
addNodeLabel(String node_name,
String anno_ns,
String anno_name,
String anno_value) |
void |
deleteEdge(String source_node,
String target_node,
String layer,
String component_type,
String component_name) |
void |
deleteEdgeLabel(String source_node,
String target_node,
String layer,
String component_type,
String component_name,
String anno_ns,
String anno_name) |
void |
deleteNode(String node_name) |
void |
deleteNodeLabel(String node_name,
String anno_ns,
String anno_name) |
CAPI.AnnisGraphUpdate |
getInstance() |
public CAPI.AnnisGraphUpdate getInstance()
public void addNode(String node_name, String node_type) throws GraphANNISException
GraphANNISExceptionpublic void addNode(String node_name) throws GraphANNISException
GraphANNISExceptionpublic void deleteNode(String node_name) throws GraphANNISException
GraphANNISExceptionpublic void addNodeLabel(String node_name, String anno_ns, String anno_name, String anno_value) throws GraphANNISException
GraphANNISExceptionpublic void deleteNodeLabel(String node_name, String anno_ns, String anno_name) throws GraphANNISException
GraphANNISExceptionpublic void addEdge(String source_node, String target_node, String layer, String component_type, String component_name) throws GraphANNISException
GraphANNISExceptionpublic void deleteEdge(String source_node, String target_node, String layer, String component_type, String component_name) throws GraphANNISException
GraphANNISExceptionpublic void addEdgeLabel(String source_node, String target_node, String layer, String component_type, String component_name, String anno_ns, String anno_name, String anno_value) throws GraphANNISException
GraphANNISExceptionpublic void deleteEdgeLabel(String source_node, String target_node, String layer, String component_type, String component_name, String anno_ns, String anno_name) throws GraphANNISException
GraphANNISExceptionCopyright © 2020 Thomas Krause. All rights reserved.