final class ElementTraversal[E <: Element] extends AnyVal
- Alphabetic
- By Inheritance
- ElementTraversal
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def has(key: String, value: Any): Traversal[E]
Filter elements by property value
- def has[A](propertyPredicate: PropertyPredicate[A]): Traversal[E]
Filter elements by property with given predicate.
Filter elements by property with given predicate.
from GenericGraphTraversalTest
.has(Name.where(_.endsWith("1"))) .has(Name.where(_.matches("[LR]."))) .has(Name.where(P.eq("R1"))) .has(Name.where(P.neq("R1"))) .has(Name.where(P.within(Set("L1", "L2")))) .has(Name.where(P.within("L1", "L2", "L3"))) .has(Name.where(P.matches("[LR].")))
Example: - def has[A](key: PropertyKey[A], value: A): Traversal[E]
Filter elements by property value
- def has(keyValue: Property[_]): Traversal[E]
Filter elements by property value
- def has(name: String): Traversal[E]
Filter elements by existence of property (irrespective of value)
- def has(key: PropertyKey[_]): Traversal[E]
Filter elements by existence of property (irrespective of value)
- def hasLabel(values: String*): Traversal[E]
alias for
alias for
label
- def hasLabel(value: String): Traversal[E]
alias for
alias for
label
- def hasNot[A](propertyPredicate: PropertyPredicate[A]): Traversal[E]
Filter elements by property with given predicate.
Filter elements by property with given predicate.
from GenericGraphTraversalTest
.hasNot(Name.where(_.endsWith("1"))) .hasNot(Name.where(_.matches("[LR]."))) .hasNot(Name.where(P.eq("R1"))) .hasNot(Name.where(P.neq("R1"))) .hasNot(Name.where(P.within(Set("L1", "L2")))) .hasNot(Name.where(P.within("L1", "L2", "L3"))) .hasNot(Name.where(P.matches("[LR].")))
Example: - def hasNot(key: String, value: Any): Traversal[E]
Filter elements by property value
- def hasNot[A](key: PropertyKey[A], value: A): Traversal[E]
Filter elements by property value
- def hasNot(keyValue: Property[_]): Traversal[E]
Filter elements by property value
- def hasNot(name: String): Traversal[E]
Filter elements by (non-)existence of property (irrespective of value)
- def hasNot(key: PropertyKey[_]): Traversal[E]
Filter elements by (non-)existence of property (irrespective of value)
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def label(values: String*): Traversal[E]
filter by the element labels Note: do not use as the first step in a traversal, e.g.
filter by the element labels Note: do not use as the first step in a traversal, e.g.
traversalSource.all.label(value)
. UsetraversalSource.label
instead, it is much faster TODO: make the above an automatic optimisation - def label(value: String): Traversal[E]
filter by the element label Note: do not use as the first step in a traversal, e.g.
filter by the element label Note: do not use as the first step in a traversal, e.g.
traversalSource.all.label(value)
. UsetraversalSource.label
instead, it is much faster TODO: make the above an automatic optimisation - def label: Traversal[String]
traverse to the element label
traverse to the element label
- Annotations
- @Doc(short = "Traverse to the element label", long = help.this.Doc.<init>$default$2, example = help.this.Doc.<init>$default$3)
- def labelNot(value1: String, valueN: String*): Traversal[E]
filter by the element labels (inverse)
- def labelNot(value: String): Traversal[E]
filter by the element label (inverse)
- def property[A](key: String): Traversal[A]
- def property[A](key: PropertyKey[A]): Traversal[A]
- def propertyMap: Traversal[Map[String, AnyRef]]
- def propertyOption[A](key: String): Traversal[Option[A]]
- def propertyOption[A](key: PropertyKey[A]): Traversal[Option[A]]
- def toString(): String
- Definition Classes
- Any
- val traversal: Traversal[E]