EdgeTraversalBuilder
Builder for edge traversals
Value parameters
- fromIds
-
The stream of document IDs to start the traversal from
- maxDepth
-
The maximum traversal depth
- tx
-
A transaction that supports prefix scanning for the edge type
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Get the stream of target documents
Get the stream of target documents
Value parameters
- docTx
-
A transaction for retrieving target documents
Attributes
- Returns
-
A stream of target documents
Get the stream of edge documents
Get the stream of edge documents
Attributes
- Returns
-
A stream of edge documents
Configure edge filtering
Configure edge filtering
Value parameters
- predicate
-
A predicate function to filter edges
Attributes
Find all paths to a target node
Find all paths to a target node
Value parameters
- target
-
The ID of the target node
Attributes
- Returns
-
A stream of paths to the target node
Find the shortest path to a target node
Find the shortest path to a target node
Value parameters
- target
-
The ID of the target node
Attributes
- Returns
-
A stream containing the shortest path to the target node, if any
Follow additional edges from the targets of the current traversal
Follow additional edges from the targets of the current traversal
Type parameters
- E2
-
The next edge document type
- T2
-
The next target document type
Value parameters
- nextTx
-
A transaction that supports prefix scanning for the next edge type
Attributes
- Returns
-
A builder for the next edge traversal
Get the stream of target document IDs
Get the stream of target document IDs
Attributes
- Returns
-
A stream of target document IDs
Configure traversal strategy
Configure traversal strategy
Value parameters
- traversalStrategy
-
The traversal strategy to use
Attributes
Configure the maximum traversal depth
Configure the maximum traversal depth
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product