c

overflowdb.traversal

ElementTraversal

final class ElementTraversal[E <: Element] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementTraversal
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ElementTraversal(traversal: Traversal[E])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. def has(key: String, value: Any): Traversal[E]

    Filter elements by property value

  7. def has[A](propertyPredicate: PropertyPredicate[A]): Traversal[E]

    Filter elements by property with given predicate.

    Filter elements by property with given predicate.

    Example:
    1. 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].")))
  8. def has[A](key: PropertyKey[A], value: A): Traversal[E]

    Filter elements by property value

  9. def has(keyValue: Property[_]): Traversal[E]

    Filter elements by property value

  10. def has(name: String): Traversal[E]

    Filter elements by existence of property (irrespective of value)

  11. def has(key: PropertyKey[_]): Traversal[E]

    Filter elements by existence of property (irrespective of value)

  12. def hasLabel(values: String*): Traversal[E]

    alias for

    alias for

    label
  13. def hasLabel(value: String): Traversal[E]

    alias for

    alias for

    label
  14. def hasNot[A](propertyPredicate: PropertyPredicate[A]): Traversal[E]

    Filter elements by property with given predicate.

    Filter elements by property with given predicate.

    Example:
    1. 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].")))
  15. def hasNot(key: String, value: Any): Traversal[E]

    Filter elements by property value

  16. def hasNot[A](key: PropertyKey[A], value: A): Traversal[E]

    Filter elements by property value

  17. def hasNot(keyValue: Property[_]): Traversal[E]

    Filter elements by property value

  18. def hasNot(name: String): Traversal[E]

    Filter elements by (non-)existence of property (irrespective of value)

  19. def hasNot(key: PropertyKey[_]): Traversal[E]

    Filter elements by (non-)existence of property (irrespective of value)

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. 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). Use traversalSource.label instead, it is much faster TODO: make the above an automatic optimisation

  22. 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). Use traversalSource.label instead, it is much faster TODO: make the above an automatic optimisation

  23. 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)
  24. def labelNot(value1: String, valueN: String*): Traversal[E]

    filter by the element labels (inverse)

  25. def labelNot(value: String): Traversal[E]

    filter by the element label (inverse)

  26. def propertiesMap: Traversal[Map[String, AnyRef]]
  27. def property[A](key: String): Traversal[A]
  28. def property[A](key: PropertyKey[A]): Traversal[A]
  29. def propertyOption[A](key: String): Traversal[Option[A]]
  30. def propertyOption[A](key: PropertyKey[A]): Traversal[Option[A]]
  31. def toString(): String
    Definition Classes
    Any
  32. val traversal: Traversal[E]

Inherited from AnyVal

Inherited from Any

Ungrouped