|
Neo4j Advanced | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Path | |
---|---|
org.neo4j.graphalgo | Scalable graph algorithms like shortest path and others for Neo4j which
can be easily accessed via GraphAlgoFactory . |
org.neo4j.graphdb.traversal | Traversal framework. |
org.neo4j.kernel | Implementation for embedding a Neo4j graph database in an application. |
Uses of Path in org.neo4j.graphalgo |
---|
Classes in org.neo4j.graphalgo with type parameters of type Path | |
---|---|
interface |
PathFinder<P extends Path>
Interface of algorithms that finds paths in between two nodes. |
Subinterfaces of Path in org.neo4j.graphalgo | |
---|---|
interface |
WeightedPath
A Path that has an associated weight. |
Methods in org.neo4j.graphalgo that return types with arguments of type Path | |
---|---|
static PathFinder<Path> |
GraphAlgoFactory.allPaths(RelationshipExpander expander,
int maxDepth)
Returns an algorithm which can find all available paths between two nodes. |
static PathFinder<Path> |
GraphAlgoFactory.allSimplePaths(RelationshipExpander expander,
int maxDepth)
Returns an algorithm which can find all simple paths between two nodes. |
static PathFinder<Path> |
GraphAlgoFactory.pathsWithLength(RelationshipExpander expander,
int length)
Returns an algorithm which can find simple all paths of a certain length between two nodes. |
static PathFinder<Path> |
GraphAlgoFactory.shortestPath(RelationshipExpander expander,
int maxDepth)
Returns an algorithm which can find all shortest paths (that is paths with as short length() as possible) between two nodes. |
static PathFinder<Path> |
GraphAlgoFactory.shortestPath(RelationshipExpander expander,
int maxDepth,
int maxHitCount)
Returns an algorithm which can find all shortest paths (that is paths with as short length() as possible) between two nodes. |
Uses of Path in org.neo4j.graphdb.traversal |
---|
Methods in org.neo4j.graphdb.traversal that return Path | |
---|---|
Path |
TraversalBranch.position()
The position represented by this expansion source. |
Methods in org.neo4j.graphdb.traversal that return types with arguments of type Path | |
---|---|
Iterator<Path> |
Traverser.iterator()
Represents the traversal in the form of Path s. |
Methods in org.neo4j.graphdb.traversal with parameters of type Path | |
---|---|
Evaluation |
Evaluator.evaluate(Path path)
Evaluates a Path and returns an Evaluation containing
information about whether or not to include it in the traversal result,
i.e return it from the Traverser . |
boolean |
PruneEvaluator.pruneAfter(Path position)
Deprecated. Decides whether or not to prune after position . |
Method parameters in org.neo4j.graphdb.traversal with type arguments of type Path | |
---|---|
TraversalDescription |
TraversalDescription.filter(Predicate<Path> filter)
Deprecated. because of the introduction of Evaluator . Use
TraversalDescription.evaluator(Evaluator) instead which combines
TraversalDescription.filter(Predicate) and TraversalDescription.prune(PruneEvaluator) . The supplied
Predicate will be wrapped by an Evaluator internally. |
Uses of Path in org.neo4j.kernel |
---|
Classes in org.neo4j.kernel with type parameters of type Path | |
---|---|
static class |
Traversal.DefaultPathDescriptor<T extends Path>
The default Traversal.PathDescriptor used in common toString()
representations in classes implementing Path . |
static interface |
Traversal.PathDescriptor<T extends Path>
Provides hooks to help build a string representation of a Path . |
Methods in org.neo4j.kernel with type parameters of type Path | ||
---|---|---|
static
|
Traversal.pathToString(T path,
Traversal.PathDescriptor<T> builder)
Method for building a string representation of a Path , using
the given builder . |
Methods in org.neo4j.kernel that return types with arguments of type Path | |
---|---|
static Predicate<Path> |
Traversal.returnAcceptedByAny(Predicate<Path>... filters)
Returns a filter which accepts items accepted by at least one of the supplied filters. |
static Predicate<Path> |
Traversal.returnAll()
Deprecated. because of the introduction of Evaluator . The equivalent
is Evaluators.all() . |
static Predicate<Path> |
Traversal.returnAllButStartNode()
Deprecated. because of the introduction of Evaluator . The equivalent
is Evaluators.excludeStartPosition() . |
static Predicate<Path> |
Traversal.returnWhereLastRelationshipTypeIs(RelationshipType firstRelationshipType,
RelationshipType... relationshipTypes)
|
Methods in org.neo4j.kernel with parameters of type Path | |
---|---|
static String |
Traversal.defaultPathToString(Path path)
Returns the default string representation of a Path . |
String |
Traversal.DefaultPathDescriptor.nodeRepresentation(Path path,
Node node)
|
String |
Traversal.DefaultPathDescriptor.relationshipRepresentation(Path path,
Node from,
Relationship relationship)
|
static String |
Traversal.simplePathToString(Path path)
Returns a quite simple string representation of a Path . |
static String |
Traversal.simplePathToString(Path path,
String nodePropertyKey)
Returns a quite simple string representation of a Path . |
|
Neo4j Advanced | |||||||||
PREV NEXT | FRAMES NO FRAMES |