public class Utility extends Object
| Constructor and Description |
|---|
Utility() |
| Modifier and Type | Method and Description |
|---|---|
static String |
edgeToJsonString(com.tinkerpop.blueprints.Edge edge) |
static String |
edgeToJsonString(com.tinkerpop.blueprints.Edge edge,
boolean raw) |
static com.tinkerpop.blueprints.Vertex |
getEntityByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String entityType,
String uuid) |
static com.tinkerpop.blueprints.Edge |
getRelationByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String relationType,
String uuid) |
static String |
orientEdgeToJsonString(com.tinkerpop.blueprints.impls.orient.OrientEdge orientEdge) |
static String |
orientVertexToJsonString(com.tinkerpop.blueprints.impls.orient.OrientVertex orientVertex) |
static String |
vertexToJsonString(com.tinkerpop.blueprints.Vertex vertex) |
static String |
vertexToJsonString(com.tinkerpop.blueprints.Vertex vertex,
boolean raw) |
public static String orientVertexToJsonString(com.tinkerpop.blueprints.impls.orient.OrientVertex orientVertex)
public static String vertexToJsonString(com.tinkerpop.blueprints.Vertex vertex, boolean raw) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic static String vertexToJsonString(com.tinkerpop.blueprints.Vertex vertex)
public static String orientEdgeToJsonString(com.tinkerpop.blueprints.impls.orient.OrientEdge orientEdge)
public static String edgeToJsonString(com.tinkerpop.blueprints.Edge edge, boolean raw) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic static String edgeToJsonString(com.tinkerpop.blueprints.Edge edge)
public static com.tinkerpop.blueprints.Vertex getEntityByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String entityType,
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.tinkerpop.blueprints.Edge getRelationByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String relationType,
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2016. All Rights Reserved.