IDManager, which can be obtained
through StandardJanusGraph.getIDManager() and includes methods for converting
a user id to (IDManager.toVertexId(long)) and from
(IDManager.fromVertexId(long)) JanusGraph vertex id.
IDManager idManager = ((StandardJanusGraph) graph).getIDManager();
@Deprecated public class JanusGraphId extends Object
| Constructor and Description |
|---|
JanusGraphId()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
fromVertexID(JanusGraphVertex v)
Deprecated.
|
static long |
fromVertexId(long id)
Deprecated.
|
static long |
toVertexId(long id)
Deprecated.
|
public static long toVertexId(long id)
IDManager.toVertexId(long).Graph.addVertex(Object...).id - long idpublic static long fromVertexId(long id)
IDManager.fromVertexId(long)toVertexId(long).id - JanusGraph vertex id (must be positive)public static long fromVertexID(JanusGraphVertex v)
IDManager.fromVertexId(long)toVertexId(long).v - VertexCopyright © 2012–2023. All rights reserved.