TraversalSource

overflowdb.traversal.TraversalSource
See theTraversalSource companion object
class TraversalSource(graph: Graph)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type Traversal[+A] = Iterator[A]

Value members

Concrete methods

def all: Iterator[Node]
def has(property: Property[_]): Iterator[Node]

Start traversal with all nodes that have given property value

Start traversal with all nodes that have given property value

Attributes

def has(key: String, value: Any): Iterator[Node]

Start traversal with all nodes that have given property value

Start traversal with all nodes that have given property value

Attributes

def hasLabel(label: String): Iterator[Node]
def id[NodeType : DefaultsToNode](id: Long): Iterator[NodeType]
def ids[NodeType : DefaultsToNode](ids: Long*): Iterator[NodeType]
def label(label: String): Iterator[Node]
def labelAndProperty(label: String, property: Property[_]): Iterator[Node]

Start traversal with all nodes with given label that have given property value Inspects the cardinality of the indices of the properties and labels, and takes the smaller one

Start traversal with all nodes with given label that have given property value Inspects the cardinality of the indices of the properties and labels, and takes the smaller one

Attributes

def labelAndProperty(label: String, propertyKey: String, propertyValue: Any): Iterator[Node]

Start traversal with all nodes with given label that have given property value Inspects the cardinality of the indices of the properties and labels, and takes the smaller one

Start traversal with all nodes with given label that have given property value Inspects the cardinality of the indices of the properties and labels, and takes the smaller one

Attributes

def labelTyped[A <: Node](label: String): Iterator[A]