vertexType.createIndex("TestVertexUuidIndex", OClass.INDEX_TYPE.UNIQUE_HASH_INDEX, "uuid");
final OrientEdgeType edgeType = graph.createEdgeType("TestEdge");
edgeType.createProperty("uuid", OType.STRING);
edgeType.createIndex("TestEdgeUuidIndex", OClass.INDEX_TYPE.UNIQUE_HASH_INDEX, "uuid");
graph.shutdown();
}
private void addEdgesConcurrently() throws Exception {
ExecutorService executorService = Executors.newCachedThreadPool();