skyrocks.
JJanusGraph
•Created by skyrocks. on 9/14/2023 in #questions
Graph object not available to create custom long id in remote server setup
I'm excited about the enhanced custom vertex id feature. When reading https://docs.janusgraph.org/master/advanced-topics/custom-vertex-id/, I found that the "graph" object is needed to invoke "graph.getIDManager().toVertexID(123L)". In a typical remote server deployment, we only depend on "janusgraph/gremlin_driver" and don't have access to the "graph" object. Looking at the "toVertexID()" and "fromVertexID()" functions they don't seem to make DB calls. Was there a reason this could not be extracted into a static library? thanks
5 replies