Thank you very much!
Now it is clear. I am using Janusgraph on top of Cassandra. To commit changes I am using this code:
Graph graph = JanusGraphFactory.build().
set("storage.backend", "cassandra").
set("storage.hostname", "10.10.10.50").
set("storage.username", "cassandra").
set("storage.password", "cassandra").
set("index.search.backend", "elasticsearch").
set("index.search.hostname", "10.10.10.50").
set("index.search.hostname", "10.10.10.50").
open();
FramedGraph fg = new DelegatingFramedGraph<>(graph, true, types);
Person jeff = fg.addFramedVertex(Programmer.class);
jeff.setName("Jeff");
Person julia = fg.addFramedVertex(Person.class);
julia.setName("Julia");
graph.tx().commit();
I see that only one request is sent in this scenario. Thank you again.
Best regards,
Alexandr
On Sunday, December 24, 2017 at 11:52:45 AM UTC+2, Jeffrey Phillips Freeman wrote: