public final class PeerPressureVertexProgramStep extends VertexProgramStep implements TraversalParent, ByModulating, TimesModulating, Configuring
computer, first, ROOT_TRAVERSAL, STEP_IDid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| PeerPressureVertexProgramStep(Traversal.Admin traversal) | 
| Modifier and Type | Method and Description | 
|---|---|
| PeerPressureVertexProgramStep | clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. | 
| void | configure(Object... keyValues)Accept a configuration to the  Step. | 
| PeerPressureVertexProgram | generateProgram(Graph graph,
               Memory memory)Generate the  VertexProgram. | 
| List<Traversal.Admin<Vertex,Edge>> | getLocalChildren() | 
| Parameters | getParameters()Gets the parameters on the step. | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to function properly. | 
| int | hashCode() | 
| void | modulateBy(String clusterProperty)Deprecated. 
 As of release 3.4.0, replaced by  configure(Object...) | 
| void | modulateBy(Traversal.Admin<?,?> edgeTraversal)Deprecated. 
 As of release 3.4.0, replaced by  configure(Object...) | 
| void | modulateTimes(int times)Deprecated. 
 As of release 3.4.0, replaced by  configure(Object...) | 
| void | setTraversal(Traversal.Admin<?,?> parentTraversal)Set the  Traversalthat this step is contained within. | 
| String | toString() | 
getComputer, isEndStep, previousTraversalVertexProgram, processNextStart, setComputeraddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildmodulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateByforEachRemaining, removepublic PeerPressureVertexProgramStep(Traversal.Admin traversal)
public void configure(Object... keyValues)
ConfiguringStep. Note that this interface extends Parameterizing and so
 there is an expectation that the Step implementation will have a Parameters instance that will
 house any values passed to this method. Storing these configurations in Parameters is not a requirement
 however, IF the configuration is an expected option for the step and can be stored on a member field that can
 be accessed on the step by more direct means (i.e. like a getter method).configure in interface Configuringpublic Parameters getParameters()
ParameterizinggetParameters in interface Parameterizingpublic int hashCode()
hashCode in class AbstractStep<ComputerResult,ComputerResult>@Deprecated public void modulateBy(Traversal.Admin<?,?> edgeTraversal)
configure(Object...)modulateBy in interface ByModulating@Deprecated public void modulateBy(String clusterProperty)
configure(Object...)modulateBy in interface ByModulating@Deprecated public void modulateTimes(int times)
configure(Object...)modulateTimes in interface TimesModulatingpublic List<Traversal.Admin<Vertex,Edge>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic String toString()
toString in class AbstractStep<ComputerResult,ComputerResult>public PeerPressureVertexProgram generateProgram(Graph graph, Memory memory)
VertexComputingVertexProgram.generateProgram in interface VertexComputinggraph - the Graph that the program will be executed over.memory - the Memory from the previous OLAP job if it exists, else its an empty memory structure.public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
 The provided default implements returns an empty set.getRequirements in interface Step<ComputerResult,ComputerResult>public PeerPressureVertexProgramStep clone()
StepEmptyStep.clone in interface Step<ComputerResult,ComputerResult>clone in class AbstractStep<ComputerResult,ComputerResult>public void setTraversal(Traversal.Admin<?,?> parentTraversal)
StepTraversal that this step is contained within.setTraversal in interface Step<ComputerResult,ComputerResult>setTraversal in class AbstractStep<ComputerResult,ComputerResult>parentTraversal - the new traversal for this stepCopyright © 2013–2019 Apache Software Foundation. All rights reserved.