use of com.alibaba.graphscope.gaia.processor.LogicPlanProcessor in project GraphScope by alibaba.
the class GaiaGraphServer method loadProcessor.
private static void loadProcessor(GaiaConfig config, AbstractBroadcastProcessor broadcastProcessor, GraphStoreService storeService) {
try {
Map<String, OpProcessor> gaiaProcessors = new HashMap<>();
gaiaProcessors.put("", new GaiaGraphOpProcessor(config, storeService, broadcastProcessor));
gaiaProcessors.put("plan", new LogicPlanProcessor(config, storeService));
gaiaProcessors.put("traversal", new TraversalOpProcessor(config, storeService, broadcastProcessor));
PlanUtils.setFinalStaticField(OpLoader.class, "processors", gaiaProcessors);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
use of com.alibaba.graphscope.gaia.processor.LogicPlanProcessor in project GraphScope by alibaba.
the class GaiaGraphServer method loadProcessor.
private static void loadProcessor(GaiaConfig config, AbstractBroadcastProcessor broadcastProcessor, GraphStoreService storeService) {
try {
Map<String, OpProcessor> gaiaProcessors = new HashMap<>();
gaiaProcessors.put("", new GaiaGraphOpProcessor(config, storeService, broadcastProcessor));
gaiaProcessors.put("plan", new LogicPlanProcessor(config, storeService));
gaiaProcessors.put("traversal", new TraversalOpProcessor(config, storeService, broadcastProcessor));
PlanUtils.setFinalStaticField(OpLoader.class, "processors", gaiaProcessors);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
Aggregations