Search in sources :

Example 1 with HostsChannelFetcher

use of com.alibaba.graphscope.common.client.HostsChannelFetcher in project GraphScope by alibaba.

the class GraphServiceMain method main.

public static void main(String[] args) throws Exception {
    Configs configs = new Configs("conf/ir.compiler.properties", FileLoadType.RELATIVE_PATH);
    IrMetaFetcher irMetaFetcher = new ExperimentalMetaFetcher(configs);
    RpcChannelFetcher fetcher = new HostsChannelFetcher(configs);
    IrGremlinServer server = new IrGremlinServer();
    server.start(configs, irMetaFetcher, fetcher, new IrMetaQueryCallback(irMetaFetcher), TestGraphFactory.EXPERIMENTAL);
}
Also used : RpcChannelFetcher(com.alibaba.graphscope.common.client.RpcChannelFetcher) HostsChannelFetcher(com.alibaba.graphscope.common.client.HostsChannelFetcher) IrMetaFetcher(com.alibaba.graphscope.common.store.IrMetaFetcher) ExperimentalMetaFetcher(com.alibaba.graphscope.common.store.ExperimentalMetaFetcher) IrMetaQueryCallback(com.alibaba.graphscope.common.manager.IrMetaQueryCallback) Configs(com.alibaba.graphscope.common.config.Configs)

Aggregations

HostsChannelFetcher (com.alibaba.graphscope.common.client.HostsChannelFetcher)1 RpcChannelFetcher (com.alibaba.graphscope.common.client.RpcChannelFetcher)1 Configs (com.alibaba.graphscope.common.config.Configs)1 IrMetaQueryCallback (com.alibaba.graphscope.common.manager.IrMetaQueryCallback)1 ExperimentalMetaFetcher (com.alibaba.graphscope.common.store.ExperimentalMetaFetcher)1 IrMetaFetcher (com.alibaba.graphscope.common.store.IrMetaFetcher)1