Object

quasar.physical.mongodb

MongoDbPlanner

Related Doc: package mongodb

Permalink

object MongoDbPlanner

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

Type Members

  1. type OutputM[A] = \/[PlannerError, A]

    Permalink
  2. type Partial[In, Out] = (PartialFunction[List[In], Out], List[InputFinder])

    Permalink
  3. type PartialJs = (PartialFunction[List[JsFn], JsFn], List[InputFinder])

    Permalink
  4. type PartialSelector = (PartialFunction[List[BsonField], Selector], List[InputFinder])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def alignJoinsƒ: (LogicalPlan[Fix[LogicalPlan]]) ⇒ OutputM[Fix[LogicalPlan]]

    Permalink
  5. val annotateƒ: (LogicalPlan[(Fix[LogicalPlan], (scalaz.Scalaz.Id[OutputM[PartialSelector]], scalaz.Scalaz.Id[OutputM[PartialJs]]))]) ⇒ (scalaz.Scalaz.Id[OutputM[PartialSelector]], scalaz.Scalaz.Id[OutputM[PartialJs]])

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val elideJoinCheckƒ: (Fix[LogicalPlan]) ⇒ LogicalPlan[LPorLP]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generateTypeCheck[In, Out](or: (Out, Out) ⇒ Out)(f: PartialFunction[Type, (In) ⇒ Out]): (Type) ⇒ Option[(In) ⇒ Out]

    Permalink
  13. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  16. val jsExprƒ: Algebra[LogicalPlan, OutputM[PartialJs]]

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def plan(logical: Fix[LogicalPlan]): EitherT[[β]WriterT[[+X]X, Vector[PhaseResult], β], PlannerError, Crystallized]

    Permalink
  21. val selectorƒ: GAlgebra[[β](Fix[LogicalPlan], β), LogicalPlan, OutputM[PartialSelector]]

    Permalink

    The selector phase tries to turn expressions into MongoDB selectors -- i.e.

    The selector phase tries to turn expressions into MongoDB selectors -- i.e. Mongo query expressions. Selectors are only used for the filtering pipeline op, so it's quite possible we build more stuff than is needed (but it doesn't matter, unneeded annotations will be ignored by the pipeline phase).

    Like the expression op phase, this one requires bson field annotations.

    Most expressions cannot be turned into selector expressions without using the "$where" operator, which allows embedding JavaScript code. Unfortunately, using this operator turns filtering into a full table scan. We should do a pass over the tree to identify partial boolean expressions which can be turned into selectors, factoring out the leftovers for conversion using $where.

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val workflowƒ: (LogicalPlan[Cofree[LogicalPlan, ((OutputM[PartialSelector], OutputM[PartialJs]), OutputM[WorkflowBuilder])]]) ⇒ State[NameGen, OutputM[WorkflowBuilder]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped