public static final class PeerPressureVertexProgram.Builder extends AbstractVertexProgramBuilder<PeerPressureVertexProgram.Builder>
configuration
Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
distributeVote(boolean distributeVote) |
PeerPressureVertexProgram.Builder |
edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
PeerPressureVertexProgram.Builder |
initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal) |
PeerPressureVertexProgram.Builder |
maxIterations(int iterations) |
PeerPressureVertexProgram.Builder |
property(String key) |
PeerPressureVertexProgram.Builder |
traversal(Traversal.Admin<Vertex,Edge> edgeTraversal)
Deprecated.
As of release 3.2.0, replaced by
edges(Traversal.Admin) |
PeerPressureVertexProgram.Builder |
traversal(TraversalSource traversalSource,
String scriptEngine,
String traversalScript,
Object... bindings)
Deprecated.
As of release 3.2.0, replaced by
edges(Traversal.Admin) |
configure, create
public PeerPressureVertexProgram.Builder property(String key)
public PeerPressureVertexProgram.Builder maxIterations(int iterations)
public PeerPressureVertexProgram.Builder distributeVote(boolean distributeVote)
public PeerPressureVertexProgram.Builder edges(Traversal.Admin<Vertex,Edge> edgeTraversal)
public PeerPressureVertexProgram.Builder initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal)
@Deprecated public PeerPressureVertexProgram.Builder traversal(TraversalSource traversalSource, String scriptEngine, String traversalScript, Object... bindings)
edges(Traversal.Admin)
@Deprecated public PeerPressureVertexProgram.Builder traversal(Traversal.Admin<Vertex,Edge> edgeTraversal)
edges(Traversal.Admin)
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.