Modifier and Type | Method and Description |
---|---|
default GraphTraversalSource |
GraphProvider.traversal(Graph graph,
TraversalStrategy... strategies)
Create a
GraphTraversalSource from a Graph instance. |
GraphTraversalSource |
GraphManager.ManagedGraphProvider.traversal(Graph graph,
TraversalStrategy... strategies) |
Modifier and Type | Class and Description |
---|---|
class |
Neo4jGraphStepStrategy |
Modifier and Type | Class and Description |
---|---|
class |
VertexProgramStrategy |
Modifier and Type | Class and Description |
---|---|
class |
ComputerFinalizationStrategy |
Modifier and Type | Class and Description |
---|---|
class |
GraphFilterStrategy |
class |
MessagePassingReductionStrategy |
Modifier and Type | Class and Description |
---|---|
class |
RemoteStrategy
Reconstructs a
Traversal by appending a RemoteStep to its end. |
Modifier and Type | Interface and Description |
---|---|
interface |
TraversalStrategy<S extends TraversalStrategy>
A
TraversalStrategy defines a particular atomic operation for mutating a Traversal prior to its evaluation. |
Modifier and Type | Interface and Description |
---|---|
static interface |
TraversalStrategy.DecorationStrategy
Implemented by strategies that adds "application logic" to the traversal (e.g.
|
static interface |
TraversalStrategy.FinalizationStrategy
Implemented by strategies that do final behaviors that require a fully compiled traversal to work (e.g.
|
static interface |
TraversalStrategy.OptimizationStrategy
Implemented by strategies that rewrite the traversal to be more efficient, but with the same semantics
(e.g.
|
static interface |
TraversalStrategy.ProviderOptimizationStrategy
Implemented by strategies that rewrite the traversal to be more efficient, but with the same semantics.
|
static interface |
TraversalStrategy.VerificationStrategy
Implemented by strategies where there is no more behavioral tweaking of the traversal required.
|
Modifier and Type | Field and Description |
---|---|
static List<Class<? extends TraversalStrategy>> |
TraversalStrategies.STRATEGY_CATEGORIES |
Modifier and Type | Method and Description |
---|---|
default <T extends TraversalStrategy> |
TraversalStrategies.getStrategy(Class<T> traversalStrategyClass)
Return the
TraversalStrategy instance associated with the provided class. |
Modifier and Type | Method and Description |
---|---|
default List<Class<? extends TraversalStrategy>> |
TraversalEngine.Builder.getWithoutStrategies()
Deprecated.
A list of
TraversalStrategy classes that should not be applied to the ultimate Traversal . |
default List<TraversalStrategy> |
TraversalEngine.Builder.getWithStrategies()
Deprecated.
A list of
TraversalStrategy instances that should be applied to the ultimate Traversal . |
static List<TraversalStrategy<?>> |
TraversalStrategies.sortStrategies(List<TraversalStrategy<?>> strategies)
Sorts the list of provided strategies such that the
applyPost()
and applyPrior() dependencies are respected. |
List<TraversalStrategy<?>> |
TraversalStrategies.toList()
Return all the
TraversalStrategy singleton instances associated with this TraversalStrategies . |
Modifier and Type | Method and Description |
---|---|
TraversalStrategies |
TraversalStrategies.addStrategies(TraversalStrategy<?>... strategies)
Add all the provided
TraversalStrategy instances to the current collection. |
TraversalSource.Builder |
TraversalSource.Builder.with(TraversalStrategy strategy)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
default TraversalSource |
TraversalSource.withStrategies(TraversalStrategy... traversalStrategies)
Add an arbitrary collection of
TraversalStrategy instances to the traversal source. |
Modifier and Type | Method and Description |
---|---|
default int |
TraversalStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
default int |
TraversalStrategy.DecorationStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
default int |
TraversalStrategy.OptimizationStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
default int |
TraversalStrategy.ProviderOptimizationStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
default int |
TraversalStrategy.FinalizationStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
default int |
TraversalStrategy.VerificationStrategy.compareTo(Class<? extends TraversalStrategy> otherTraversalCategory) |
static List<TraversalStrategy<?>> |
TraversalStrategies.sortStrategies(List<TraversalStrategy<?>> strategies)
Sorts the list of provided strategies such that the
applyPost()
and applyPrior() dependencies are respected. |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
static void |
TraversalStrategies.visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap,
List<Class<? extends TraversalStrategy>> sortedStrategyClasses,
Set<Class<? extends TraversalStrategy>> seenStrategyClases,
List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses,
Class<? extends TraversalStrategy> strategyClass) |
TraversalSource.Builder |
TraversalSource.Builder.without(Class<? extends TraversalStrategy> strategyClass)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Modifier and Type | Method and Description |
---|---|
GraphTraversalSource.Builder |
GraphTraversalSource.Builder.with(TraversalStrategy strategy)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
GraphTraversalSource |
GraphTraversalSource.withStrategies(TraversalStrategy... traversalStrategies) |
Modifier and Type | Method and Description |
---|---|
TraversalSource.Builder |
GraphTraversalSource.Builder.without(Class<? extends TraversalStrategy> strategyClass)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Modifier and Type | Method and Description |
---|---|
List<TraversalStrategy> |
ComputerTraversalEngine.Builder.getWithStrategies()
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTraversalStrategy<S extends TraversalStrategy> |
class |
TraversalStrategyProxy<T extends TraversalStrategy> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTraversalStrategy<S extends TraversalStrategy> |
Modifier and Type | Class and Description |
---|---|
class |
ConnectiveStrategy
|
class |
ElementIdStrategy
Provides a degree of control over element identifier assignment as some graphs don't provide that feature.
|
class |
EventStrategy
A strategy that raises events when
Mutating steps are encountered and successfully executed. |
class |
HaltedTraverserStrategy |
class |
PartitionStrategy
PartitionStrategy partitions the vertices, edges and vertex properties of a graph into String named
partitions (i.e. |
class |
RequirementsStrategy |
class |
SackStrategy |
class |
SideEffectStrategy |
class |
SubgraphStrategy
This
TraversalStrategy provides a way to limit the view of a Traversal . |
class |
TranslationStrategy |
Modifier and Type | Class and Description |
---|---|
class |
LazyBarrierStrategy
Deprecated.
As of release 3.2.3. Please use
LazyBarrierStrategy . |
class |
MatchAlgorithmStrategy |
class |
ProfileStrategy |
Modifier and Type | Class and Description |
---|---|
class |
AdjacentToIncidentStrategy
This strategy looks for vertex- and value-emitting steps followed by a
CountGlobalStep and replaces the
pattern with an edge- or property-emitting step followed by a CountGlobalStep . |
class |
FilterRankingStrategy
FilterRankingStrategy reorders filter- and order-steps according to their rank.
|
class |
IdentityRemovalStrategy
IdentityRemovalStrategy looks for IdentityStep instances and removes them. |
class |
IncidentToAdjacentStrategy
This strategy looks for
.outE().inV() , .inE().outV() and .bothE().otherV()
and replaces these step sequences with .out() , .in() or .both() respectively. |
class |
InlineFilterStrategy
InlineFilterStrategy analyzes filter-steps with child traversals that themselves are pure filters.
|
class |
MatchPredicateStrategy
MatchWhereStrategy will fold any post-
where() step that maintains a traversal constraint into
match() . |
class |
OrderLimitStrategy |
class |
PathProcessorStrategy
PathProcessStrategy is an OLAP strategy that does its best to turn non-local children in
where() and select()
into local children by inlining components of the non-local child. |
class |
PathRetractionStrategy |
class |
RangeByIsCountStrategy
This strategy optimizes any occurrence of
CountGlobalStep followed by an IsStep . |
class |
RepeatUnrollStrategy |
Modifier and Type | Class and Description |
---|---|
class |
ComputerVerificationStrategy |
class |
LambdaRestrictionStrategy
LambdaRestrictionStrategy does not allow lambdas to be used in a Traversal . |
class |
ReadOnlyStrategy
Detects steps marked with
Mutating and throws an IllegalStateException if one is found. |
class |
StandardVerificationStrategy |
Modifier and Type | Field and Description |
---|---|
protected List<TraversalStrategy<?>> |
DefaultTraversalStrategies.traversalStrategies |
Modifier and Type | Method and Description |
---|---|
<T extends TraversalStrategy> |
DefaultTraversalStrategies.getStrategy(Class<T> traversalStrategyClass) |
Modifier and Type | Method and Description |
---|---|
List<TraversalStrategy<?>> |
EmptyTraversalStrategies.toList() |
List<TraversalStrategy<?>> |
DefaultTraversalStrategies.toList() |
Modifier and Type | Method and Description |
---|---|
TraversalStrategies |
EmptyTraversalStrategies.addStrategies(TraversalStrategy<?>... strategies) |
TraversalStrategies |
DefaultTraversalStrategies.addStrategies(TraversalStrategy<?>... strategies) |
Modifier and Type | Method and Description |
---|---|
static void |
TraversalHelper.applySingleLevelStrategies(Traversal.Admin<?,?> parentTraversal,
Traversal.Admin<?,?> childTraversal,
Class<? extends TraversalStrategy> stopAfterStrategy) |
Modifier and Type | Class and Description |
---|---|
class |
SparkInterceptorStrategy |
class |
SparkSingleIterationStrategy |
Modifier and Type | Method and Description |
---|---|
static String |
StringFactory.traversalStrategyString(TraversalStrategy traversalStrategy) |
Modifier and Type | Class and Description |
---|---|
class |
TinkerGraphCountStrategy
This strategy will do a direct
TinkerHelper.getVertices(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex, org.apache.tinkerpop.gremlin.structure.Direction, java.lang.String...)
size call if the traversal is a count of the vertices and edges of the graph or a one-to-one map chain thereof. |
class |
TinkerGraphStepStrategy |
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.