@Test public void testValueOrdering() { StandardTitanGraph graph = (StandardTitanGraph) StorageSetup.getInMemoryGraph(); TitanLabel father = graph.makeLabel("father").manyToOne().make(); for (int i = 1; i <= 5; i++) graph.makeKey("key" + i).single().dataType(Integer.class).make(); TitanVertex v1 = graph.addVertex(null), v2 = graph.addVertex(null); TitanEdge e1 = v1.addEdge("father", v2); for (int i = 1; i <= 5; i++) e1.setProperty("key" + i, i); graph.commit(); e1.remove(); graph.commit(); }
public ExternalAstyanaxGraphTest() { super(StorageSetup.getAstyanaxGraphConfiguration()); }
@Override public KeyColumnValueStoreManager openStorageManager() throws StorageException { return new CassandraThriftStoreManager(StorageSetup.getCassandraStorageConfiguration()); }
public ExternalCassandraGraphConcurrentTest() { super(StorageSetup.getCassandraThriftGraphConfiguration()); }
@Override public ModifiableConfiguration getTitanConfiguration( String graphName, Class<?> test, String testMethodName) { return StorageSetup.getInMemoryConfiguration(); }
public ExternalAstyanaxGraphPerformanceTest() { super(StorageSetup.getAstyanaxGraphConfiguration(), 0, 1, false); }
public BerkeleyJEGraphConcurrentTest() { super(StorageSetup.getBerkeleyJEGraphConfiguration()); }