public class DegreeStatisticsVertexProgram extends DegreeVertexProgram
DEGREE| Constructor and Description |
|---|
DegreeStatisticsVertexProgram() |
DegreeStatisticsVertexProgram(Set<LabelId> types,
Set<LabelId> ofLabelIDs,
String randomId) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.tinkerpop.gremlin.process.computer.MessageScope> |
getMessageScopes(org.apache.tinkerpop.gremlin.process.computer.Memory memory) |
void |
safeExecute(org.apache.tinkerpop.gremlin.structure.Vertex vertex,
org.apache.tinkerpop.gremlin.process.computer.Messenger<Long> messenger,
org.apache.tinkerpop.gremlin.process.computer.Memory memory)
An alternative to the execute method when ghost vertices are an issue.
|
boolean |
terminate(org.apache.tinkerpop.gremlin.process.computer.Memory memory) |
getElementComputeKeys, loadState, storeStateclone, execute, getPreferredPersist, getPreferredResultGraph, setuptoStringpublic void safeExecute(org.apache.tinkerpop.gremlin.structure.Vertex vertex,
org.apache.tinkerpop.gremlin.process.computer.Messenger<Long> messenger,
org.apache.tinkerpop.gremlin.process.computer.Memory memory)
GraknVertexProgramsafeExecute in class DegreeVertexProgramvertex - a vertex that may be a ghostmessenger - Tinker message passing objectmemory - Tinker memory objectpublic Set<org.apache.tinkerpop.gremlin.process.computer.MessageScope> getMessageScopes(org.apache.tinkerpop.gremlin.process.computer.Memory memory)
getMessageScopes in interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram<Long>getMessageScopes in class DegreeVertexProgrampublic boolean terminate(org.apache.tinkerpop.gremlin.process.computer.Memory memory)
terminate in interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram<Long>terminate in class DegreeVertexProgramCopyright © 2017 Grakn Labs Ltd. All rights reserved.