ElementTraversal
Value members
Concrete methods
Filter elements by existence of property (irrespective of value)
Filter elements by existence of property (irrespective of value)
Filter elements by existence of property (irrespective of value)
Filter elements by existence of property (irrespective of value)
Filter elements by property with given predicate.
Filter elements by property with given predicate.
- Example:
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].")))
Filter elements by (non-)existence of property (irrespective of value)
Filter elements by (non-)existence of property (irrespective of value)
Filter elements by (non-)existence of property (irrespective of value)
Filter elements by (non-)existence of property (irrespective of value)
Filter elements by property with given predicate.
Filter elements by property with given predicate.
- Example:
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].")))
traverse to the element label
traverse to the element label
filter by the element label
Note: do not use as the first step in a traversal, e.g. traversalSource.all.label(value)
.
Use traversalSource.label
instead, it is much faster
TODO: make the above an automatic optimisation
filter by the element label
Note: do not use as the first step in a traversal, e.g. traversalSource.all.label(value)
.
Use traversalSource.label
instead, it is much faster
TODO: make the above an automatic optimisation
filter by the element labels
Note: do not use as the first step in a traversal, e.g. traversalSource.all.label(value)
.
Use traversalSource.label
instead, it is much faster
TODO: make the above an automatic optimisation
filter by the element labels
Note: do not use as the first step in a traversal, e.g. traversalSource.all.label(value)
.
Use traversalSource.label
instead, it is much faster
TODO: make the above an automatic optimisation