【发布时间】:2014-04-07 10:39:23
【问题描述】:
我想像下面提到的那样将自己的id设置为顶点。
BaseConfiguration configuration = new BaseConfiguration();
configuration.setProperty("storage.backend", "hbase");
configuration.setProperty("storage.hostname", "slave05");
configuration.setProperty("storage.port", "2181");
configuration.setProperty("storage.tablename", "REC_GRAPH1");
TitanGraph graph = TitanFactory.open(configuration);
Vertex vertex = graph.addVertex(200);
graph.commit();
但我不能......我想我缺少一些配置设置。
请帮帮我..
谢谢, 维韦克
【问题讨论】: