final class Optimizer[T] extends AnyRef
- Alphabetic
- By Inheritance
- Optimizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Optimizer()(implicit arg0: Equal[T], TR: Aux[T, LogicalPlan], TC: Aux[T, LogicalPlan])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
elideLets: (LogicalPlan[T]) ⇒ slamdata.Predef.Option[LogicalPlan[T]]
Like
simplifyƒ, but eliminates _all_Let(and any boundFree) nodes. - val elideTypeCheckƒ: Algebra[LogicalPlan, T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lpr: LogicalPlanR[T]
- val namesƒ: Algebra[LogicalPlan, slamdata.Predef.Set[slamdata.Predef.Symbol]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
optimize: (T) ⇒ T
Apply universal, type-oblivious transformations intended to improve the performance of a query regardless of the backend.
Apply universal, type-oblivious transformations intended to improve the performance of a query regardless of the backend. The input is expected to come straight from the SQL^2 compiler or another source of un-optimized queries.
- def preferProjections(t: T): T
-
def
pullUpGroupBy(tree: T)(implicit TR: Aux[T, LogicalPlan], TC: Aux[T, LogicalPlan]): T
Pulls a nested GroupBy up to the immediate child of the nearest Arbitrary, applying any intermediate expressions to the source of the GroupBy.
- val reconstructOldJoins: Algebra[LogicalPlan, T]
-
val
rewriteCrossJoinsƒ: (LogicalPlan[(T, T)]) ⇒ State[NameGen, T]
Rewrite joins and subsequent filtering so that: 1) Filtering that is equivalent to an equi-join is rewritten into the join condition.
Rewrite joins and subsequent filtering so that: 1) Filtering that is equivalent to an equi-join is rewritten into the join condition. 2) Filtering that refers to only side of the join is hoisted prior to the join. The input plan must have been simplified already so that the structure is in a canonical form for inspection.
TODO: Separate the combining of filter and join from ...
-
val
rewriteJoins: (T) ⇒ T
In
rewriteJoinswe maintain the association and nested level of let bindings by not callingnormalizeLets(as we do inoptimize).In
rewriteJoinswe maintain the association and nested level of let bindings by not callingnormalizeLets(as we do inoptimize). We would likerewriteJoinsto be identical tooptimize, but can only begin to address this after old mongo is deleted. - val shapeƒ: GAlgebra[[β$2$](T, β$2$), LogicalPlan, slamdata.Predef.Option[slamdata.Predef.List[T]]]
- def simplify(t: T): T
- val simplifyƒ: (LogicalPlan[T]) ⇒ slamdata.Predef.Option[LogicalPlan[T]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uniqueName[F[_]](prefix: slamdata.Predef.String, plans: F[T])(implicit arg0: Functor[F], arg1: Foldable[F]): slamdata.Predef.Symbol
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )