NodeTraversal

final class NodeTraversal[E <: Node](val traversal: Traversal[E]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def both: Traversal[Node]

follow incoming and outgoing edges to adjacent nodes

follow incoming and outgoing edges to adjacent nodes

def both(labels: String*): Traversal[Node]

follow incoming and outgoing edges of given labels to adjacent nodes

follow incoming and outgoing edges of given labels to adjacent nodes

def bothE: Traversal[Edge]

follow incoming and outgoing edges

follow incoming and outgoing edges

def bothE(labels: String*): Traversal[Edge]

follow incoming and outgoing edges of given label

follow incoming and outgoing edges of given label

def hasId(value: Long): Traversal[E]

alias for

alias for

id
def hasId(values: Long*): Traversal[E]

alias for

alias for

id
@Doc(info = "Traverse to node id")
def id: Traversal[Long]
def id(value: Long): Traversal[E]

Filter by given id Note: do not use as the first step in a traversal, e.g. traversalSource.all.id(value). Use traversalSource.withId instead, it is much faster

Filter by given id Note: do not use as the first step in a traversal, e.g. traversalSource.all.id(value). Use traversalSource.withId instead, it is much faster

def id(values: Long*): Traversal[E]

Filter by given ids Note: do not use as the first step in a traversal, e.g. traversalSource.all.id(value). Use traversalSource.withId instead, it is much faster

Filter by given ids Note: do not use as the first step in a traversal, e.g. traversalSource.all.id(value). Use traversalSource.withId instead, it is much faster

def in: Traversal[Node]

follow incoming edges to adjacent nodes

follow incoming edges to adjacent nodes

def in(labels: String*): Traversal[Node]

follow incoming edges of given label to adjacent nodes

follow incoming edges of given label to adjacent nodes

def inE: Traversal[Edge]

follow incoming edges

follow incoming edges

def inE(labels: String*): Traversal[Edge]

follow incoming edges of given label

follow incoming edges of given label

@Doc(info = "follow outgoing edges to adjacent nodes")
def out: Traversal[Node]

follow outgoing edges to adjacent nodes

follow outgoing edges to adjacent nodes

def out(labels: String*): Traversal[Node]

follow outgoing edges of given labels to adjacent nodes

follow outgoing edges of given labels to adjacent nodes

def outE: Traversal[Edge]

follow outgoing edges

follow outgoing edges

def outE(labels: String*): Traversal[Edge]

follow outgoing edges of given label

follow outgoing edges of given label

Concrete fields