DispatchQuery

scroll.internal.dispatch.DispatchQuery
See theDispatchQuery companion class
object DispatchQuery

Companion object for DispatchQuery providing some static dispatch functions and a fluent dispatch query creation API.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Bypassing(sel: Selector) extends SelectorFunction

Dispatch filter to specify which edges to skip on the path given as Seq, w.r.t. the evaluation of the selection function.

Dispatch filter to specify which edges to skip on the path given as Seq, w.r.t. the evaluation of the selection function.

Value parameters

sel

the selection function to evaluate on each element of the path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Seq[AnyRef] => Seq[AnyRef]
class Object
trait Matchable
class Any
Show all
case class From(sel: Selector) extends SelectorFunction

Dispatch filter selecting the sub-path from the starting edge until the end of the path given as Seq, w.r.t. the evaluation of the selection function.

Dispatch filter selecting the sub-path from the starting edge until the end of the path given as Seq, w.r.t. the evaluation of the selection function.

Value parameters

sel

the selection function to evaluate on each element of the path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Seq[AnyRef] => Seq[AnyRef]
class Object
trait Matchable
class Any
Show all
case class Through(sel: Selector) extends SelectorFunction

Dispatch filter to specify which edges to keep on the path given as Seq, w.r.t. the evaluation of the selection function.

Dispatch filter to specify which edges to keep on the path given as Seq, w.r.t. the evaluation of the selection function.

Value parameters

sel

the selection function to evaluate on each element of the path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Seq[AnyRef] => Seq[AnyRef]
class Object
trait Matchable
class Any
Show all
case class To(sel: Selector) extends SelectorFunction

Dispatch filter selecting the sub-path from the last edge until the end of the path given as Seq, w.r.t. the evaluation of the selection function.

Dispatch filter selecting the sub-path from the last edge until the end of the path given as Seq, w.r.t. the evaluation of the selection function.

Value parameters

sel

the selection function to evaluate on each element of the path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Seq[AnyRef] => Seq[AnyRef]
class Object
trait Matchable
class Any
Show all

Types

type Selector = AnyRef => Boolean
type SelectorFunction = Seq[AnyRef] => Seq[AnyRef]

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Concrete fields

Function always returning true

Function always returning true

Attributes

Use this in DispatchQuery.sortedWith to state that no sorting between the objects in comparison should happen.

Use this in DispatchQuery.sortedWith to state that no sorting between the objects in comparison should happen.

Attributes

Function always returning false

Function always returning false

Attributes

val reverse: PartialFunction[(AnyRef, AnyRef), Boolean]

Function to use in DispatchQuery.sortedWith to simply reverse the set of resulting edges.

Function to use in DispatchQuery.sortedWith to simply reverse the set of resulting edges.

Attributes

val swap: Boolean

Use this in DispatchQuery.sortedWith to state that always swapping between the objects in comparison should happen.

Use this in DispatchQuery.sortedWith to state that always swapping between the objects in comparison should happen.

Attributes

Extensions

Extensions

extension (dd: DispatchQuery)
infix def Bypassing(sel: Selector): DispatchQuery
infix def From(sel: Selector): DispatchQuery
infix def Through(sel: Selector): DispatchQuery
infix def To(sel: Selector): DispatchQuery