Object

quasar.physical.mongodb

Workflow

Related Doc: package mongodb

Permalink

object Workflow

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Workflow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class $FlatMap[A](src: A, fn: AnonFunDecl, scope: Scope) extends MapReduceF[A] with Product with Serializable

    Permalink

    Takes a function of two parameters.

    Takes a function of two parameters. The first is the current key (which defaults to this._id, but may have been overridden by previous [Flat]$Maps) and the second is the document itself. The function must return an array of 2-element arrays, each containing a new key and a new value.

  2. final case class $FoldLeft[A](head: A, tail: NonEmptyList[A]) extends WorkflowF[A] with Product with Serializable

    Permalink

    Performs a sequence of operations, sequentially, merging their results.

  3. final case class $GeoNear[A](src: A, near: (Double, Double), distanceField: BsonField, limit: Option[Int], maxDistance: Option[Double], query: Option[Selector], spherical: Option[Boolean], distanceMultiplier: Option[Double], includeLocs: Option[BsonField], uniqueDocs: Option[Boolean]) extends PipelineF[A] with Product with Serializable

    Permalink
  4. final case class $Group[A](src: A, grouped: Grouped, by: Shape) extends PipelineF[A] with Product with Serializable

    Permalink
  5. final case class $Limit[A](src: A, count: Long) extends ShapePreservingF[A] with Product with Serializable

    Permalink
  6. final case class $Map[A](src: A, fn: AnonFunDecl, scope: Scope) extends MapReduceF[A] with Product with Serializable

    Permalink

    Takes a function of two parameters.

    Takes a function of two parameters. The first is the current key (which defaults to this._id, but may have been overridden by previous [Flat]$Maps) and the second is the document itself. The function must return a 2-element array containing the new key and new value.

  7. final case class $Match[A](src: A, selector: Selector) extends ShapePreservingF[A] with Product with Serializable

    Permalink
  8. final case class $Out[A](src: A, collection: Collection) extends ShapePreservingF[A] with Product with Serializable

    Permalink

    TODO: If an $Out has anything after it, we need to either do

    TODO: If an $Out has anything after it, we need to either do

    $seq($out(src, dst), after($read(dst), ...))

    or

    $Fork(src, List($out(_, dst), after(_, ...)))

    The latter seems preferable, but currently the forking semantics are not clear.

  9. final case class $Project[A](src: A, shape: Reshape, idExclusion: IdHandling) extends PipelineF[A] with Product with Serializable

    Permalink
  10. final case class $Pure(value: Bson) extends SourceOp with Product with Serializable

    Permalink
  11. final case class $Read(coll: Collection) extends SourceOp with Product with Serializable

    Permalink
  12. final case class $Redact[A](src: A, value: Expression) extends PipelineF[A] with Product with Serializable

    Permalink
  13. final case class $Reduce[A](src: A, fn: AnonFunDecl, scope: Scope) extends MapReduceF[A] with Product with Serializable

    Permalink

    Takes a function of two parameters – a key and an array of values.

    Takes a function of two parameters – a key and an array of values. The function must return a single value.

  14. final case class $SimpleMap[A](src: A, exprs: NonEmptyList[CardinalExpr[JsFn]], scope: Scope) extends MapReduceF[A] with Product with Serializable

    Permalink
  15. final case class $Skip[A](src: A, count: Long) extends ShapePreservingF[A] with Product with Serializable

    Permalink
  16. final case class $Sort[A](src: A, value: NonEmptyList[(BsonField, SortDir)]) extends ShapePreservingF[A] with Product with Serializable

    Permalink
  17. final case class $Unwind[A](src: A, field: DocVar) extends PipelineF[A] with Product with Serializable

    Permalink
  18. sealed trait CardinalExpr[A] extends AnyRef

    Permalink
  19. final case class Crystallized(op: Workflow) extends Product with Serializable

    Permalink

    A type for a Workflow which has had crystallize applied to it.

  20. final case class FlatExpr[A](fn: A) extends CardinalExpr[A] with Product with Serializable

    Permalink
  21. final case class MapExpr[A](fn: A) extends CardinalExpr[A] with Product with Serializable

    Permalink
  22. sealed trait MapReduceF[A] extends SingleSourceF[A]

    Permalink
  23. sealed abstract class PipelineF[A] extends SingleSourceF[A]

    Permalink

    This should be renamed once the other PipelineOp goes away, but it is the subset of operations that can ever be pipelined.

  24. type PipelineOp = PipelineF[Unit]

    Permalink
  25. sealed abstract class ShapePreservingF[A] extends PipelineF[A]

    Permalink
  26. sealed trait SingleSourceF[A] extends WorkflowF[A]

    Permalink

    Operations with a single source op.

  27. sealed trait SourceOp extends WorkflowF[Nothing]

    Permalink

    Operations without an input.

  28. type Workflow = Fix[WorkflowF]

    Permalink
  29. type WorkflowOp = (Workflow) ⇒ Workflow

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. object $FlatMap extends Serializable

    Permalink
  4. object $FoldLeft extends Serializable

    Permalink
  5. object $GeoNear extends Serializable

    Permalink
  6. object $Group extends Serializable

    Permalink
  7. object $Limit extends Serializable

    Permalink
  8. object $Map extends Serializable

    Permalink
  9. object $Match extends Serializable

    Permalink
  10. object $Out extends Serializable

    Permalink
  11. object $Project extends Serializable

    Permalink
  12. object $Redact extends Serializable

    Permalink
  13. object $Reduce extends Serializable

    Permalink
  14. object $SimpleMap extends Serializable

    Permalink
  15. object $Skip extends Serializable

    Permalink
  16. object $Sort extends Serializable

    Permalink
  17. object $Unwind extends Serializable

    Permalink
  18. val $flatMap: (AnonFunDecl, Scope) ⇒ (Workflow) ⇒ Workflow

    Permalink
  19. def $foldLeft(first: Workflow, second: Workflow, rest: Workflow*): Workflow

    Permalink
  20. val $geoNear: ((Double, Double), BsonField, Option[Int], Option[Double], Option[Selector], Option[Boolean], Option[Double], Option[BsonField], Option[Boolean]) ⇒ (Workflow) ⇒ Workflow

    Permalink
  21. val $group: (Grouped, Shape) ⇒ (Workflow) ⇒ Workflow

    Permalink
  22. val $limit: (Long) ⇒ (Workflow) ⇒ Workflow

    Permalink
  23. val $map: (AnonFunDecl, Scope) ⇒ (Workflow) ⇒ Workflow

    Permalink
  24. val $match: (Selector) ⇒ (Workflow) ⇒ Workflow

    Permalink
  25. val $out: (Collection) ⇒ (Workflow) ⇒ Workflow

    Permalink
  26. val $project: (Reshape, IdHandling) ⇒ (Workflow) ⇒ Workflow

    Permalink
  27. def $pure(value: Bson): Fix[WorkflowF]

    Permalink
  28. def $read(coll: Collection): Fix[WorkflowF]

    Permalink
  29. val $redact: (Expression) ⇒ (Workflow) ⇒ Workflow

    Permalink
  30. val $reduce: (AnonFunDecl, Scope) ⇒ (Workflow) ⇒ Workflow

    Permalink
  31. val $simpleMap: (NonEmptyList[CardinalExpr[JsFn]], Scope) ⇒ (Workflow) ⇒ Workflow

    Permalink
  32. val $skip: (Long) ⇒ (Workflow) ⇒ Workflow

    Permalink
  33. val $sort: (NonEmptyList[(BsonField, SortDir)]) ⇒ (Workflow) ⇒ Workflow

    Permalink
  34. val $unwind: (DocVar) ⇒ (Workflow) ⇒ Workflow

    Permalink
  35. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  36. implicit val CardinalExprComonad: Comonad[CardinalExpr]

    Permalink
  37. implicit val CrystallizedRenderTree: RenderTree[Crystallized]

    Permalink
  38. val ExprLabel: String

    Permalink
  39. val ExprName: Name

    Permalink
  40. val ExprVar: DocVar

    Permalink
  41. val IdLabel: String

    Permalink
  42. val IdName: Name

    Permalink
  43. val IdVar: DocVar

    Permalink
  44. implicit val PipelineFTraverse: Traverse[PipelineF]

    Permalink
  45. implicit val TraverseCardinalExpr: Traverse[CardinalExpr]

    Permalink
  46. implicit val WorkflowFRenderTree: RenderTree[WorkflowF[Unit]]

    Permalink
  47. implicit val WorkflowFTraverse: Traverse[WorkflowF]

    Permalink
  48. implicit val WorkflowRenderTree: RenderTree[Workflow]

    Permalink
  49. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  50. def chain(src: Workflow, op1: WorkflowOp, ops: WorkflowOp*): Workflow

    Permalink

    Flattens the sequence of operations like so:

    Flattens the sequence of operations like so:

    chain(
      $read(Path.fileAbs("foo")),
      $match(Selector.Where(Js.Bool(true))),
      $limit(7))
    val read = $read(Path.fileAbs("foo"))
    val match = $match(Selector.Where(Js.Bool(true))(read)
    $limit(7)(match)
  51. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. val coalesce: (WorkflowF[Workflow]) ⇒ WorkflowF[Workflow]

    Permalink
  53. val coalesceƒ: (WorkflowF[Workflow]) ⇒ Option[WorkflowF[Workflow]]

    Permalink
  54. val collectShapes: (WorkflowF[(Workflow, (List[Reshape], Workflow))]) ⇒ (List[Reshape], Workflow)

    Permalink
  55. def crystallize(op: Workflow): Crystallized

    Permalink

    Performs some irreversible conversions, meant to be used once, after the entire workflow has been generated.

  56. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  58. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  59. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  60. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  61. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  62. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  63. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  65. def pipeline[A <: PipelineF[Workflow]](op: A): Option[(DocVar, WorkflowTask, List[PipelineOp])]

    Permalink
  66. def prefixBase(base: DocVar): PartialFunction[DocVar, DocVar]

    Permalink
  67. final def refs[A <: WorkflowF[_]](op: A): List[DocVar]

    Permalink
  68. def rewrite[A <: WorkflowF[_]](op: A, base: DocVar): (A, DocVar)

    Permalink
  69. def rewriteRefs[A <: WorkflowF[_]](op: A, applyVar0: PartialFunction[DocVar, DocVar]): A

    Permalink
  70. def simpleShape(op: Workflow): Option[List[Name]]

    Permalink
  71. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  72. def task(fop: Crystallized): WorkflowTask

    Permalink
  73. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  74. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped