public class DegreeVertexProgram extends MindmapsVertexProgram<Long>
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
analyticsElements
The types that are reserved by analytics and are not "seen" by analytics.
|
static String |
DEGREE |
| Constructor and Description |
|---|
DegreeVertexProgram() |
DegreeVertexProgram(Set<String> types) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getElementComputeKeys() |
Set<org.apache.tinkerpop.gremlin.process.computer.MessageScope> |
getMessageScopes(org.apache.tinkerpop.gremlin.process.computer.Memory memory) |
org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Persist |
getPreferredPersist() |
org.apache.tinkerpop.gremlin.process.computer.GraphComputer.ResultGraph |
getPreferredResultGraph() |
void |
loadState(org.apache.tinkerpop.gremlin.structure.Graph graph,
org.apache.commons.configuration.Configuration configuration)
Load
persistentProperties and any hard coded fields from an apache config object for use by the
spark executor. |
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) |
String |
toString() |
clone, execute, setup, storeStatepublic static final String DEGREE
public org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Persist getPreferredPersist()
getPreferredPersist in interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram<Long>getPreferredPersist in class MindmapsVertexProgram<Long>public org.apache.tinkerpop.gremlin.process.computer.GraphComputer.ResultGraph getPreferredResultGraph()
getPreferredResultGraph in interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram<Long>getPreferredResultGraph in class MindmapsVertexProgram<Long>public 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 MindmapsVertexProgram<Long>public 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)
MindmapsVertexProgramvertex - a vertex that may be a ghostmessenger - Tinker message passing objectmemory - Tinker memory objectpublic boolean terminate(org.apache.tinkerpop.gremlin.process.computer.Memory memory)
public void loadState(org.apache.tinkerpop.gremlin.structure.Graph graph,
org.apache.commons.configuration.Configuration configuration)
persistentProperties and any hard coded fields from an apache config object for use by the
spark executor.graph - the tinker graphconfiguration - the apache config object containing the valuesCopyright © 2016. All rights reserved.