Packages

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

Type Members

  1. sealed trait SplitMode extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def countInTraversals[R](extractor: PartialFunction[Seq[GremlinStep], R])(steps: Seq[GremlinStep]): Map[R, Int]

    Count occurrences in top-level and all nested traversals starting from the bottom and going up.

    Count occurrences in top-level and all nested traversals starting from the bottom and going up.

    extractor

    matching and mapping function

    steps

    top-level traversal

    returns

    map with number of occurrences of extractor result

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def extract[R](extractor: PartialFunction[Seq[GremlinStep], R])(steps: Seq[GremlinStep]): Seq[R]

    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

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

    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

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def mapTraversals(f: (Seq[GremlinStep]) ⇒ Seq[GremlinStep])(steps: Seq[GremlinStep]): Seq[GremlinStep]

    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

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def replace(replacer: PartialFunction[Seq[GremlinStep], Seq[GremlinStep]])(steps: Seq[GremlinStep]): Seq[GremlinStep]

    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

  20. def split(splitMode: SplitMode, splitter: (GremlinStep) ⇒ Boolean)(steps: Seq[GremlinStep]): Seq[Seq[GremlinStep]]

    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

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. object AfterStep extends SplitMode with Product with Serializable
  27. object BeforeStep extends SplitMode with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped