134135136137138139140141142143144
Object result = graph.command(new OCommandScript("sql", cmd)).execute(); counter.incrementAndGet(); } graph.shutdown(); } catch (Throwable e) { e.printStackTrace(); Assert.assertTrue(false); }
9899100101102103104105106107108
foundObjects = 0; } else foundObjects = graph.countVertices("Client"); } finally { graph.shutdown(); } } @Override public void deinit() {
116117118119120121122123124
final long indexedItems = graph.getRawGraph().getMetadata().getIndexManager().getIndex("Client.uid").getSize(); System.out.println("\nTotal indexed objects after the test: " + indexedItems); } finally { graph.shutdown(); } } }
115116117118119120121122123124125
superNode.addEdge("test", v); superNodeRID = superNode.getIdentity(); } finally { graph.shutdown(); } } @Override public void deinit() {
133134135136137138139140141
// final long indexedItems = graph.getRawGraph().getMetadata().getIndexManager().getIndex("Client.uid").getSize(); // System.out.println("\nTotal indexed objects after the test: " + indexedItems); } finally { graph.shutdown(); } } }
clientType.addCluster("client_" + i); } } } finally { graph.shutdown(); } } @Override public void deinit() {