public final class VertexProgramStrategy extends AbstractTraversalStrategy<TraversalStrategy.DecorationStrategy> implements TraversalStrategy.DecorationStrategy
Modifier and Type | Class and Description |
---|---|
static class |
VertexProgramStrategy.Builder |
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
Modifier and Type | Field and Description |
---|---|
static String |
EDGES |
static String |
GRAPH_COMPUTER |
static String |
PERSIST |
static String |
RESULT |
static String |
VERTICES |
static String |
WORKERS |
STRATEGY
Constructor and Description |
---|
VertexProgramStrategy(Computer computer) |
Modifier and Type | Method and Description |
---|---|
void |
addGraphComputerStrategies(TraversalSource traversalSource) |
void |
apply(Traversal.Admin<?,?> traversal) |
static VertexProgramStrategy.Builder |
build() |
static VertexProgramStrategy |
create(Configuration configuration) |
static Optional<Computer> |
getComputer(TraversalStrategies strategies) |
Configuration |
getConfiguration()
Get the configuration representation of this strategy.
|
static VertexProgramStrategy |
instance() |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior
public static final String GRAPH_COMPUTER
public static final String WORKERS
public static final String PERSIST
public static final String RESULT
public static final String VERTICES
public static final String EDGES
public VertexProgramStrategy(Computer computer)
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.DecorationStrategy>
public static Optional<Computer> getComputer(TraversalStrategies strategies)
public void addGraphComputerStrategies(TraversalSource traversalSource)
public static VertexProgramStrategy instance()
public Configuration getConfiguration()
TraversalStrategy
getConfiguration
in interface TraversalStrategy<TraversalStrategy.DecorationStrategy>
public static VertexProgramStrategy create(Configuration configuration)
public static VertexProgramStrategy.Builder build()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.