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 - trait ColumnType[FROM] extends AnyRef
- 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
- class GremlinScala[End] extends AnyRef
- 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]
- class ProjectionBuilder[T <: Product] extends AnyRef
- 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 ScalarMapStep[S, LabelsTuple] with TraversalParent
- case class SemiDoubleEdge(right: Vertex, label: String, properties: KeyValue[_]*) extends Product with Serializable
- case class SemiEdge(from: Vertex, label: String, properties: KeyValue[_]*) 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]
-
class
UnionTraversals[Start, Ends <: HList] extends AnyRef
helper class to construct a typed union step
- type Vertex = org.apache.tinkerpop.gremlin.structure.Vertex
- implicit class VertexAsJava extends AnyRef
- implicit class VertexAsScala extends AnyRef
Value Members
- def __[A](starts: A*): Aux[A, HNil]
- def __[A](): Aux[A, HNil]
- implicit def asGremlinScala[A](traversal: GraphTraversal[_, A]): Aux[A, HNil]
- implicit def asScalaEdge(e: Edge): ScalaEdge
- implicit def asScalaGraph(g: Graph): ScalaGraph
- implicit def asScalaVertex(v: Vertex): ScalaVertex
- 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]
- object By
- object ColumnType
- object DefaultsToAny
- object DetachedEdge
- object DetachedVertex
- object GraphHelper
- object GremlinScala
-
object
P
the scala version of tinkerpop's P, mostly to avoid unnecessarily complicated constructs like P.within(vertices.asJava: JCollection[Vertex])
- object ProjectionBuilder
- object ScalaGraph extends Serializable
- object StepLabel extends Serializable
- object TraversalSource extends Serializable