use of com.alibaba.graphscope.gaia.idmaker.TagIdMaker in project GraphScope by alibaba.
the class QueryTest method test_CR_11.
public static void test_CR_11(GaiaConfig config, GraphStoreService storeService, IdMaker queryIdMaker) {
Traversal testTraversal = CR_11();
GaiaGraphOpProcessor.applyStrategy(testTraversal, config, storeService);
long queryId = (long) queryIdMaker.getId(testTraversal.asAdmin());
AbstractBuilder job = new TraversalTranslator((new TraversalBuilder(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_ID, queryId).addConfig(PlanConfig.TAG_ID_MAKER, new TagIdMaker(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_CONFIG, PlanUtils.getDefaultConfig(queryId, config))).translate();
PlanUtils.print(job);
}
use of com.alibaba.graphscope.gaia.idmaker.TagIdMaker in project GraphScope by alibaba.
the class QueryTest method test_CR_5.
public static void test_CR_5(GaiaConfig config, GraphStoreService storeService, IdMaker queryIdMaker) {
Traversal testTraversal = CR_5();
GaiaGraphOpProcessor.applyStrategy(testTraversal, config, storeService);
long queryId = (long) queryIdMaker.getId(testTraversal.asAdmin());
AbstractBuilder job = new TraversalTranslator((new TraversalBuilder(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_ID, queryId).addConfig(PlanConfig.TAG_ID_MAKER, new TagIdMaker(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_CONFIG, PlanUtils.getDefaultConfig(queryId, config))).translate();
PlanUtils.print(job);
}
use of com.alibaba.graphscope.gaia.idmaker.TagIdMaker in project GraphScope by alibaba.
the class QueryTest method test_CR_2.
public static void test_CR_2(GaiaConfig config, GraphStoreService storeService, IdMaker queryIdMaker) {
Traversal testTraversal = CR_2();
GaiaGraphOpProcessor.applyStrategy(testTraversal, config, storeService);
long queryId = (long) queryIdMaker.getId(testTraversal.asAdmin());
AbstractBuilder job = new TraversalTranslator((new TraversalBuilder(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_ID, queryId).addConfig(PlanConfig.TAG_ID_MAKER, new TagIdMaker(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_CONFIG, PlanUtils.getDefaultConfig(queryId, config))).translate();
PlanUtils.print(job);
}
use of com.alibaba.graphscope.gaia.idmaker.TagIdMaker in project GraphScope by alibaba.
the class QueryTest method test_CR_3_2.
public static void test_CR_3_2(GaiaConfig config, GraphStoreService storeService, IdMaker queryIdMaker) {
Traversal testTraversal = CR_3_2();
GaiaGraphOpProcessor.applyStrategy(testTraversal, config, storeService);
long queryId = (long) queryIdMaker.getId(testTraversal.asAdmin());
AbstractBuilder job = new TraversalTranslator((new TraversalBuilder(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_ID, queryId).addConfig(PlanConfig.TAG_ID_MAKER, new TagIdMaker(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_CONFIG, PlanUtils.getDefaultConfig(queryId, config))).translate();
PlanUtils.print(job);
}
use of com.alibaba.graphscope.gaia.idmaker.TagIdMaker in project GraphScope by alibaba.
the class QueryTest method test_CR_12.
public static void test_CR_12(GaiaConfig config, GraphStoreService storeService, IdMaker queryIdMaker) {
Traversal testTraversal = CR_12();
GaiaGraphOpProcessor.applyStrategy(testTraversal, config, storeService);
long queryId = (long) queryIdMaker.getId(testTraversal.asAdmin());
AbstractBuilder job = new TraversalTranslator((new TraversalBuilder(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_ID, queryId).addConfig(PlanConfig.TAG_ID_MAKER, new TagIdMaker(testTraversal.asAdmin())).addConfig(PlanConfig.QUERY_CONFIG, PlanUtils.getDefaultConfig(queryId, config))).translate();
PlanUtils.print(job);
}
Aggregations