trait GraphTraversal extends AnyRef
Primary entry point for graph traversals
- Alphabetic
- By Inheritance
- GraphTraversal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def createEdgeStepFunction[E <: EdgeDocument[E, N, N], N <: Document[N], M <: DocumentModel[E]](tx: PrefixScanningTransaction[E, M]): (Id[N]) => Task[Set[Id[N]]]
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
- tx
The transaction to use
- returns
A type-safe step function
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from[D <: Document[D]](ids: Set[Id[D]]): DocumentTraversalBuilder[D]
Start a traversal from a set of document IDs
- def from[D <: Document[D]](id: Id[D]): DocumentTraversalBuilder[D]
Start a traversal from a single document ID
- def fromStream[D <: Document[D]](idStream: Stream[Id[D]]): DocumentTraversalBuilder[D]
Start a traversal from a stream of document IDs
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withStepFunction[N <: Document[N]](startIds: Set[Id[N]], step: (Id[N]) => Task[Set[Id[N]]], maxDepth: Int = Int.MaxValue): StepFunctionTraversal[N]
Create a traversal using a step function, for compatibility with legacy code
Create a traversal using a step function, for compatibility with legacy code
- startIds
The set of starting node IDs
- step
The step function that returns neighbors for a node
- maxDepth
The maximum traversal depth
- returns
A StepFunctionTraversal instance
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)