lightdb.traverse
Members list
Type members
Classlikes
Builder for document traversals
Builder for document traversals
Value parameters
- ids
-
The stream of document IDs to start the traversal from
- maxDepth
-
The maximum depth to traverse. Defaults to Int.MaxValue
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Builder for edge traversals
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Primary entry point for graph traversals
Primary entry point for graph traversals
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Extension methods for transactions to support traversal functionality
Extension methods for transactions to support traversal functionality
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
- Self type
-
A path in a traversal
A path in a traversal
Value parameters
- edges
-
The edges that make up the path
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TraversalStrategy.type
Inherited classlikes
A traversal that uses a step function to find neighbors This provides compatibility with legacy code that used BFSEngine.withStepFunction
A traversal that uses a step function to find neighbors This provides compatibility with legacy code that used BFSEngine.withStepFunction
Attributes
- Inherited from:
- GraphTraversal
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Inherited methods
Create a type-safe step function from an edge type This provides a type-safe way to create step functions for tests
Create a type-safe step function from an edge type This provides a type-safe way to create step functions for tests
Value parameters
- tx
-
The transaction to use
Attributes
- Returns
-
A type-safe step function
- Inherited from:
- GraphTraversal
Start a traversal from a set of document IDs
Start a traversal from a single document ID
Start a traversal from a stream of document IDs
Create a traversal using a step function, for compatibility with legacy code
Create a traversal using a step function, for compatibility with legacy code
Value parameters
- maxDepth
-
The maximum traversal depth
- startIds
-
The set of starting node IDs
- step
-
The step function that returns neighbors for a node
Attributes
- Returns
-
A StepFunctionTraversal instance
- Inherited from:
- GraphTraversal