TraversalSource

class TraversalSource(graph: Graph)
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Start traversal with all nodes that have given property value

Start traversal with all nodes that have given property value

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

Start traversal with all nodes that have given property value

Start traversal with all nodes that have given property value

def hasLabel(label: String): Traversal[Node]
def id(id: Long): Traversal[Node]
def idTyped[A <: Node](id: Long): Traversal[A]
def ids(ids: Long*): Traversal[Node]
def label(label: String): Traversal[Node]
def labelAndProperty(label: String, property: Property[_]): Traversal[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

def labelAndProperty(label: String, propertyKey: String, propertyValue: Any): Traversal[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

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