object TraversalHelper
Gremlin IR manipulation utilities
- Alphabetic
- By Inheritance
- TraversalHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
-  object AfterStep extends SplitMode with Product with Serializable
-  object BeforeStep extends SplitMode with Product with Serializable