-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi All,
I have inserted few vertices and edges using SecureGraph API and when i tried to delete these by using the Id and the following method is returning true. How ever when i query the graph with the same Id i am getting the data back !!.
Graph graph = createGraph();
if(elementTye==Edge){
graph.removeEdge(element.getId(), authorizations);
}
else{
org.securegraph.Vertex sgVertex = getSecureGraphVertex(uuid, authorizations);
graph.removeVertex(sgVertex, authorizations);
}
// This is redundant . still i am calling
graph.flush();
// I have set the auto flush to true in my props file
mapConfig.put(AccumuloGraphConfiguration.AUTO_FLUSH, true);
which is used in my createGraph() method
When i go to admin screen for checking the table status i don't see the no.of entries changing in _v and _e tables.
Not sure what i am doing wrong. I am not getting any exceptions..
Thanks