Class

mimir.exec.mode

StatsQuery

Related Doc: package mode

Permalink

class StatsQuery extends Project

Linear Supertypes
Project, Product, Equals, Operator, OperatorConstructors, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatsQuery
  2. Project
  3. Product
  4. Equals
  5. Operator
  6. OperatorConstructors
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatsQuery(stats: Seq[StatArg], source: Operator)

    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 addColumn(newCols: (String, Expression)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  5. def aggregate(agg: AggFunction*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  6. def aggregateParsed(agg: (String, String)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def bindings: Map[String, Expression]

    Permalink
    Definition Classes
    Project
  9. def children(): List[Operator]

    Permalink

    Return all of the child nodes of this operator

    Return all of the child nodes of this operator

    Definition Classes
    ProjectOperator
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def columnNames: Seq[String]

    Permalink

    Get the names of the columns produced by this operator.

    Get the names of the columns produced by this operator. If you need the types of the columns, use db.typechecker

    Definition Classes
    ProjectOperator
  12. val columns: Seq[ProjectArg]

    Permalink
    Definition Classes
    Project
  13. def count(distinct: Boolean = false, alias: String = "COUNT"): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  14. def distinct: Operator

    Permalink
    Definition Classes
    OperatorConstructors
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def expressions: Seq[Expression]

    Permalink

    Return all expression objects that appear in this node

    Return all expression objects that appear in this node

    Definition Classes
    ProjectOperator
  17. def filter(condition: Expression): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  18. def filterParsed(condition: String): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def get(v: String): Option[Expression]

    Permalink
    Definition Classes
    Project
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def groupBy(gb: Var*)(agg: AggFunction*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  23. def groupByParsed(gb: String*)(agg: (String, String)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def join(other: Operator, on: Expression = BoolPrimitive(true)): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  26. def limit(count: Int = 1, offset: Int = 0): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  27. def map(cols: (String, Expression)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  28. def mapImpl(cols: Seq[(String, Expression)], noInline: Boolean = false): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  29. def mapNoInline(cols: (String, Expression)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  30. def mapParsed(cols: (String, String)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  31. def mapParsedNoInline(cols: (String, String)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def project(cols: String*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  36. def projectNoInline(cols: String*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  37. def rebuild(x: Seq[Operator]): Project

    Permalink

    Return a new instance of the same object, but with the children replaced with the provided list.

    Return a new instance of the same object, but with the children replaced with the provided list. The list must be of the same size returned by children. This is mostly to facilitate recur, below

    Definition Classes
    ProjectOperator
  38. def rebuildExpressions(x: Seq[Expression]): Project

    Permalink

    Replace all of the expressions in this operator.

    Replace all of the expressions in this operator. Like rebuild, this method expects expressions to arrive in the same order as they're returned by the expressions method

    Definition Classes
    ProjectOperator
  39. def recur(f: (Operator) ⇒ Operator): Operator

    Permalink

    Perform a recursive rewrite.

    Perform a recursive rewrite. The following pattern is pretty common throughout Mimir: def replaceFooWithBar(e:Expression): Expression = e match { case Foo(a, b, c, ...) => Bar(a, b, c, ...) case _ => e.recur(replaceFooWithBar(_)) } Note how specific rewrites are applied to specific patterns in the tree, and recur is used to ignore/descend through every other class of object

    Definition Classes
    Operator
  40. def recurExpressions(op: (Expression) ⇒ Expression): Operator

    Permalink

    Apply a method to recursively rewrite all of the Expressions in this object.

    Apply a method to recursively rewrite all of the Expressions in this object.

    Definition Classes
    Operator
  41. def removeColumn(targets: String*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  42. def removeColumns(targets: String*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  43. def rename(targets: (String, String)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  44. def sort(sortCols: (String, Boolean)*): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  45. val source: Operator

    Permalink
    Definition Classes
    Project
  46. val stats: Seq[StatArg]

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

    Permalink
    Definition Classes
    AnyRef
  48. def toOperator: Operator

    Permalink

    Return Self.

    Return Self.

    This mainly exists in support of OperatorConstructors

    Definition Classes
    OperatorOperatorConstructors
  49. def toString(prefix: String): String

    Permalink

    Convert the operator into a string.

    Convert the operator into a string. Because operators are nested recursively, and can span multiple lines, Every line of output should be prefixed with the specified string.

    Definition Classes
    ProjectOperator
  50. def toString(): String

    Permalink

    The starting point for stringification is to have no indentation

    The starting point for stringification is to have no indentation

    Definition Classes
    Operator → AnyRef → Any
  51. def union(other: Operator): Operator

    Permalink
    Definition Classes
    OperatorConstructors
  52. final def wait(): Unit

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

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

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

Inherited from Project

Inherited from Product

Inherited from Equals

Inherited from Operator

Inherited from OperatorConstructors

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped