Object

org.opencypher.gremlin.translation.ir

TraversalHelper

Related Doc: package ir

Permalink

object TraversalHelper

Gremlin IR manipulation utilities

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraversalHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def extract[R](extractor: PartialFunction[Seq[GremlinStep], R])(steps: Seq[GremlinStep]): Seq[R]

    Permalink

    Finds matching parts of an IR sequence and maps occurrences.

    Finds matching parts of an IR sequence and maps occurrences.

    R

    mapping result

    extractor

    matching and mapping function

    steps

    IR sequence

    returns

    list of extracted values

  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foldTraversals[R](z: R)(op: (R, Seq[GremlinStep]) ⇒ R)(steps: Seq[GremlinStep]): R

    Permalink

    Folds top-level and all nested traversals starting from the top and going down.

    Folds top-level and all nested traversals starting from the top and going down.

    R

    folding result type

    z

    start value

    op

    folding operator

    steps

    top-level traversal

    returns

    folding result

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def mapTraversals(f: (Seq[GremlinStep]) ⇒ Seq[GremlinStep])(steps: Seq[GremlinStep]): Seq[GremlinStep]

    Permalink

    Maps top-level and all nested traversals starting from the bottom and going up.

    Maps top-level and all nested traversals starting from the bottom and going up.

    f

    mapping function

    steps

    top-level traversal

    returns

    mapping result

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def replace(replacer: PartialFunction[Seq[GremlinStep], Seq[GremlinStep]])(steps: Seq[GremlinStep]): Seq[GremlinStep]

    Permalink

    Finds matching parts of an IR sequence and replaces them.

    Finds matching parts of an IR sequence and replaces them.

    replacer

    matching and replacing function

    steps

    IR sequence

    returns

    rewritten IR sequence

  19. def splitAfter(splitter: (GremlinStep) ⇒ Boolean)(steps: Seq[GremlinStep]): Seq[Seq[GremlinStep]]

    Permalink

    Finds matching steps in the IR sequence and splits the sequence in segments, with each matching step marking the end of a segment.

    Finds matching steps in the IR sequence and splits the sequence in segments, with each matching step marking the end of a segment.

    splitter

    matching function

    steps

    IR sequence

    returns

    IR sequence segments

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped