Object

mimir.algebra

OperatorUtils

Related Doc: package algebra

Permalink

object OperatorUtils extends LazyLogging

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

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 applyFilter(condition: Expression, oper: Operator): Operator

    Permalink
  5. def applyFilter(condition: List[Expression], oper: Operator): Operator

    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. def columnExprForOperator(col: String, oper: Operator): Seq[(Expression, Operator)]

    Permalink

    Strip the expression required to compute a single column out of the provided operator tree.

    Strip the expression required to compute a single column out of the provided operator tree. Essentially a shortcut for an optimized form of

    Project( [Var(col)], oper )

    is equivalent to (and will often be slower than):

    Project(ret(0)._1, ret(0)._2) UNION Project(ret(1)._1, ret(1)._2) UNION ... Project(ret(N)._1, ret(N)._2) UNION

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def extractProjections(oper: Operator): (Seq[ProjectArg], Operator)

    Permalink
  12. def extractUnionClauses(o: Operator): Seq[Operator]

    Permalink
  13. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  17. def joinMergingColumns(cols: Seq[(String, (Expression, Expression) ⇒ Expression)], lhs: Operator, rhs: Operator): Project

    Permalink
  18. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging → Logging
  19. def makeColumnNameUnique(name: String, conflicts: Set[String], oper: Operator): (String, Operator)

    Permalink

    Alpha-rename the specified column in the specified tree.

    Alpha-rename the specified column in the specified tree. That is, take the specified operator tree and modify it so that the column name is a name that is not part of conflicts.

    name

    The name of the column to rewrite.

    conflicts

    Names to avoid renaming name to.

    oper

    The operator tree to rewrite

    returns

    A 2-tuple: The new name of the renamed column, and the new operator tree

  20. def makeSafeJoin(lhs: Operator, rhs: Operator): (Operator, Map[String, String])

    Permalink

    Safely join two columns together, even if there's some possibility that the two joins have non-overlapping columns.

    Safely join two columns together, even if there's some possibility that the two joins have non-overlapping columns. Columns on the right-hand-side of the join will be assigned new names.

    lhs

    The left hand side of the join to create

    rhs

    The right hand side of the join to create

    returns

    A conflict-free join, and a list of renamings for the right-hand-side columns.

  21. def makeUnion(terms: Seq[Operator]): Operator

    Permalink
  22. def mergeWithColumn(target: String, default: Expression, oper: Operator)(merge: (Expression) ⇒ Expression): Operator

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def projectColumns(cols: Seq[String], oper: Operator): Project

    Permalink
  27. def replaceColumn(target: String, replacement: Expression, oper: Operator): Project

    Permalink
  28. def shallowRename(mapping: Map[String, String], oper: Operator): Operator

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. 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