final class Steps[A] extends AnyVal
Base class for our DSL These are the base steps available in all steps of the query language. There are no constraints on the element types, unlike e.g. NodeSteps
- Alphabetic
- By Inheritance
- Steps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Steps(traversal: Traversal[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def b: Buffer[A]
Shorthand for
toBuffer
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jl: List[A]
Execute the traversal and convert it into a Java list (as opposed to the Scala list obtained via
toList
) - def p(implicit show: Show[A] = Show.default): List[String]
Execute this traversal and pretty print the results.
Execute this traversal and pretty print the results. This may mean that not all properties of the node are displayed or that some properties have undergone transformations to improve display. A good example is flow pretty-printing. This is the only three of the methods which we may modify on a per-node-type basis, typically via implicits of type Show[NodeType].
- Annotations
- @Doc()
- def s: LazyList[A]
Alias for
toStream
- def toBuffer(): Buffer[A]
Execute the traversal and convert it to a mutable buffer
- def toJson(pretty: Boolean): String
- Attributes
- protected
- def toJson: String
Execute traversal and convert the result to json.
Execute traversal and convert the result to json.
toJson
(export) contains the exact same information astoList
, only in json format. Typically, the user will call this method upon inspection of the results oftoList
in order to export the data for processing with other tools.- Annotations
- @Doc()
- def toJsonPretty: String
Execute traversal and convert the result to pretty json.
Execute traversal and convert the result to pretty json.
- Annotations
- @Doc()
- def toStream(): LazyList[A]
Execute the travel and convert it to a Java stream.
- def toString(): String
- Definition Classes
- Any
- val traversal: Traversal[A]
Deprecated Value Members
- def exec(): List[A]
Alias for
toList
Alias for
toList
- Deprecated