本文整理汇总了Java中com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.getIDManager方法的典型用法代码示例。如果您正苦于以下问题:Java StandardTitanGraph.getIDManager方法的具体用法?Java StandardTitanGraph.getIDManager怎么用?Java StandardTitanGraph.getIDManager使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.thinkaurelius.titan.graphdb.database.StandardTitanGraph
的用法示例。
在下文中一共展示了StandardTitanGraph.getIDManager方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PartitionedVertexProgramExecutor
import com.thinkaurelius.titan.graphdb.database.StandardTitanGraph; //导入方法依赖的package包/类
public PartitionedVertexProgramExecutor(StandardTitanGraph graph, FulgoraMemory memory,
FulgoraVertexMemory vertexMemory, VertexProgram<M> vertexProgram) {
this.graph=graph;
this.idManager = graph.getIDManager();
this.memory = memory;
this.vertexMemory = vertexMemory;
this.vertexProgram = vertexProgram;
}
示例2: getVertexMapJob
import com.thinkaurelius.titan.graphdb.database.StandardTitanGraph; //导入方法依赖的package包/类
public static Executor getVertexMapJob(StandardTitanGraph graph, FulgoraVertexMemory vertexMemory,
Map<MapReduce, FulgoraMapEmitter> mapJobs) {
VertexMapJob job = new VertexMapJob(graph.getIDManager(), vertexMemory, mapJobs);
for (Map.Entry<MapReduce, FulgoraMapEmitter> mapJob : mapJobs.entrySet()) {
mapJob.getKey().workerStart(MapReduce.Stage.MAP);
}
return new Executor(graph, job);
}
示例3: getVertexProgramScanJob
import com.thinkaurelius.titan.graphdb.database.StandardTitanGraph; //导入方法依赖的package包/类
public static<M> Executor getVertexProgramScanJob(StandardTitanGraph graph, FulgoraMemory memory,
FulgoraVertexMemory vertexMemory, VertexProgram<M> vertexProgram) {
VertexProgramScanJob<M> job = new VertexProgramScanJob<M>(graph.getIDManager(),memory,vertexMemory,vertexProgram);
return new Executor(graph,job);
}