Class

mimir.sql

SqlToRA

Related Doc: package sql

Permalink

class SqlToRA extends LazyLogging

Linear Supertypes
LazyLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlToRA
  2. LazyLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SqlToRA(db: Database)

    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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convert(e: Expression, bindings: (String) ⇒ String): Expression

    Permalink
  7. def convert(e: Expression): Expression

    Permalink
  8. def convert(e: PrimitiveValue): PrimitiveValue

    Permalink
  9. def convert(fi: FromItem): (Operator, Seq[(String, String)], String)

    Permalink
  10. def convert(union: Union, alias: String): (Operator, Seq[(String, String)])

    Permalink
  11. def convert(ps: PlainSelect, tableAlias: String): (Operator, Seq[(String, String)])

    Permalink

    Convert a PlainSelect into an Operator + A projection map.

  12. def convert(sb: SelectBody, tableAlias: String): (Operator, Seq[(String, String)])

    Permalink

    Convert a SelectBody into an Operator + A projection map.

  13. def convert(sb: SelectBody): Operator

    Permalink
  14. def convert(s: Select, alias: String): (Operator, Seq[(String, String)])

    Permalink
  15. def convert(s: Select): Operator

    Permalink
  16. def convert(s: ProvenanceStatement): Operator

    Permalink
  17. def convert(t: ColDataType): Type

    Permalink
  18. def convertColumn(c: Column, bindings: (String) ⇒ String): Var

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def expressionContainsAggregate(tgt: Expression): Boolean

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def fragmentAggregateExpression(expr: Expression, alias: String): (Expression, Set[String], Seq[(String, Boolean, Seq[Expression], String)])

    Permalink

    Split an aggregate target expression into its component parts.

    Split an aggregate target expression into its component parts.

    This is needed to handle complex aggregate expressions. For example (if X is a group-by var): > X + SUM(Y) / COUNT(*) AS FOO This expression will return: > X + (FOO_1_0 / FOO_1_1) > [X] > [(SUM, [Y], FOO_1_0), (COUNT, [], FOO_1_1)]

    In short, this function descends through the expression tree and picks out all aggregates and var leaves that it hits.

    Aggregate expressions are removed from the nested expression and replaced by unique placeholder variables (as long as alias is a unique prefix), and the entire expression is reassembled.

    - Raw Variables are returned in the second tuple element - Aggregates are returned in the third tuple element

    Unique placeholder variables are assigned unique names based on the path through the operator tree.

  24. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  27. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging → Logging
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def unhandled(feature: String): Nothing

    Permalink
  34. final def wait(): Unit

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

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

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

Inherited from LazyLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped