package scala
- Alphabetic
- By Inheritance
- scala
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class BranchCase[BranchOn, End, NewEnd](pickToken: BranchOn, traversal: (GremlinScala[End, _]) ⇒ GremlinScala[NewEnd, _]) extends BranchOption[End, NewEnd] with Product with Serializable
- case class BranchMatchAll[End, NewEnd](traversal: (GremlinScala[End, _]) ⇒ GremlinScala[NewEnd, _]) extends BranchOption[End, NewEnd] with Product with Serializable
-
trait
BranchOption[End, NewEnd] extends AnyRef
Define the traversal to run if the given predicate is true - used in branch step
Define the traversal to run if the given predicate is true - used in branch step
you might think that traversal should be
GremlinScala[End, _] => GremlinScala[Boolean, _]
, but that's not how tp3 works: e.g..value(Age).is(30)
returns30
, nottrue
- case class BranchOtherwise[End, NewEnd](traversal: (GremlinScala[End, _]) ⇒ GremlinScala[NewEnd, _]) extends BranchOption[End, NewEnd] with Product with Serializable
-
trait
By[Modulated] extends OrderBy[Modulated]
by step can be used in combination with all sorts of other steps e.g.
by step can be used in combination with all sorts of other steps e.g. group, groupCount, order, dedup, sack, ... http://tinkerpop.apache.org/docs/current/reference/#by-step n.b.
By
can be used in place ofOrderBy
, hence extending OrderBy - sealed class DefaultsToAny[A] extends AnyRef
- type Edge = org.apache.tinkerpop.gremlin.structure.Edge
- implicit class EdgeAsJava extends AnyRef
- implicit class EdgeAsScala extends AnyRef
- type Element = org.apache.tinkerpop.gremlin.structure.Element
- type Graph = org.apache.tinkerpop.gremlin.structure.Graph
- implicit class GraphAsJava extends AnyRef
- implicit class GraphAsScala[G <: Graph] extends AnyRef
- case class GremlinScala[End, Labels <: HList](traversal: GraphTraversal[_, End]) extends Product with Serializable
- implicit class GremlinScalaEdgeFunctions extends AnyRef
- implicit class GremlinScalaVertexFunctions extends AnyRef
- case class Key[A](name: String) extends Product with Serializable
- case class KeyValue[A](key: Key[A], value: A) extends Product with Serializable
- type Label = String
- trait OrderBy[Modulated] extends AnyRef
- type P[A] = org.apache.tinkerpop.gremlin.process.traversal.P[A]
- type Property[A] = org.apache.tinkerpop.gremlin.structure.Property[A]
- implicit class PropertyOps[A] extends AnyRef
- case class ScalaEdge(edge: Edge) extends ScalaElement[Edge] with Product with Serializable
- trait ScalaElement[ElementType <: Element] extends AnyRef
- case class ScalaGraph(traversalSource: TraversalSource) extends Product with Serializable
- case class ScalaVertex(vertex: Vertex) extends ScalaElement[Vertex] with Product with Serializable
- class SelectAllStep[S, Labels <: HList, LabelsTuple] extends MapStep[S, LabelsTuple] with TraversalParent
- case class SemiDoubleEdge(right: Vertex, label: String, properties: Seq[KeyValue[_]] = Nil) extends Product with Serializable
- case class SemiEdge(from: Vertex, label: String, properties: Seq[KeyValue[_]] = Nil) extends Product with Serializable
- implicit class SemiEdgeFunctions extends AnyRef
- implicit class SemiEdgeProductFunctions[LabelAndValuesAsTuple <: Product, LabelAndValues <: HList, Lbl <: String, KeyValues <: HList] extends AnyRef
- case class StepLabel[A](name: String = randomUUID.toString) extends Product with Serializable
- case class TraversalSource(underlying: GraphTraversalSource) extends Product with Serializable
- type Traverser[A] = org.apache.tinkerpop.gremlin.process.traversal.Traverser[A]
- type Vertex = org.apache.tinkerpop.gremlin.structure.Vertex
- implicit class VertexAsJava extends AnyRef
- implicit class VertexAsScala extends AnyRef
Value Members
- def __[A](starts: A*): GremlinScala[A, HNil]
- def __[A](): GremlinScala[A, HNil]
- implicit def liftTraverser[A, B](fun: (A) ⇒ B): (Traverser[A]) ⇒ B
- implicit def toConsumer[A](f: (A) ⇒ Unit): Consumer[A]
- implicit def toJavaBiConsumer[A, B](f: (A, B) ⇒ Unit): BiConsumer[A, B]
- implicit def toJavaBiFunction[A, B, C](f: (A, B) ⇒ C): BiFunction[A, B, C]
- implicit def toJavaBiPredicate[A, B](predicate: (A, B) ⇒ Boolean): BiPredicate[A, B]
- implicit def toJavaBinaryOperator[A](f: (A, A) ⇒ A): BinaryOperator[A]
- implicit def toJavaFunction[A, B](f: (A) ⇒ B): Function[A, B]
- implicit def toJavaPredicate[A](f: (A) ⇒ Boolean): Predicate[A]
- implicit def toJavaUnaryOperator[A](f: (A) ⇒ A): UnaryOperator[A]
- implicit def toSupplier[A](f: () ⇒ A): Supplier[A]
- implicit def wrap[A](traversal: GraphTraversal[_, A]): GremlinScala[A, HNil]
- implicit def wrap(g: Graph): ScalaGraph
- implicit def wrap(e: Edge): ScalaEdge
- implicit def wrap(v: Vertex): ScalaVertex
- object DefaultsToAny
- object DetachedEdge
- object DetachedVertex
- object GraphHelper
-
object
P
the scala version of tinkerpop's P, mostly to avoid unnecessarily complicated constructs like P.within(vertices.asJava: JCollection[Vertex])
- object ScalaGraph extends Serializable
- object StepLabel extends Serializable
- object TraversalSource extends Serializable
- object by