Class/Object

org.apache.spark.sql.execution.aggregate

TypedAggregateExpression

Related Docs: object TypedAggregateExpression | package aggregate

Permalink

case class TypedAggregateExpression(aggregator: expressions.Aggregator[Any, Any, Any], inputDeserializer: Option[Expression], inputClass: Option[Class[_]], inputSchema: Option[StructType], bufferSerializer: Seq[NamedExpression], bufferDeserializer: Expression, outputSerializer: Seq[Expression], outputExternalType: DataType, dataType: DataType, nullable: Boolean) extends DeclarativeAggregate with NonSQLExpression with Product with Serializable

A helper class to hook Aggregator into the aggregation system.

Linear Supertypes
NonSQLExpression, DeclarativeAggregate, Unevaluable, Serializable, Serializable, AggregateFunction, ImplicitCastInputTypes, ExpectsInputTypes, Expression, TreeNode[Expression], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedAggregateExpression
  2. NonSQLExpression
  3. DeclarativeAggregate
  4. Unevaluable
  5. Serializable
  6. Serializable
  7. AggregateFunction
  8. ImplicitCastInputTypes
  9. ExpectsInputTypes
  10. Expression
  11. TreeNode
  12. Product
  13. Equals
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypedAggregateExpression(aggregator: expressions.Aggregator[Any, Any, Any], inputDeserializer: Option[Expression], inputClass: Option[Class[_]], inputSchema: Option[StructType], bufferSerializer: Seq[NamedExpression], bufferDeserializer: Expression, outputSerializer: Seq[Expression], outputExternalType: DataType, dataType: DataType, nullable: Boolean)

    Permalink

Type Members

  1. implicit class RichAttribute extends AnyRef

    Permalink
    Definition Classes
    DeclarativeAggregate

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. lazy val aggBufferAttributes: Seq[AttributeReference]

    Permalink
    Definition Classes
    TypedAggregateExpression → AggregateFunction
  5. final def aggBufferSchema: StructType

    Permalink
    Definition Classes
    DeclarativeAggregate → AggregateFunction
  6. val aggregator: expressions.Aggregator[Any, Any, Any]

    Permalink
  7. def apply(number: Int): TreeNode[_]

    Permalink
    Definition Classes
    TreeNode
  8. def argString: String

    Permalink
    Definition Classes
    TreeNode
  9. def asCode: String

    Permalink
    Definition Classes
    TreeNode
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val bufferDeserializer: Expression

    Permalink
  12. val bufferSerializer: Seq[NamedExpression]

    Permalink
  13. lazy val canonicalized: Expression

    Permalink
    Definition Classes
    Expression
  14. def checkInputDataTypes(): TypeCheckResult

    Permalink
    Definition Classes
    ExpectsInputTypes → Expression
  15. def children: Seq[Expression]

    Permalink
    Definition Classes
    TypedAggregateExpression → TreeNode
  16. def childrenResolved: Boolean

    Permalink
    Definition Classes
    Expression
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]

    Permalink
    Definition Classes
    TreeNode
  19. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]

    Permalink
    Definition Classes
    TreeNode
  20. def collectLeaves(): Seq[Expression]

    Permalink
    Definition Classes
    TreeNode
  21. lazy val containsChild: Set[TreeNode[_]]

    Permalink
    Definition Classes
    TreeNode
  22. val dataType: DataType

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression
  23. def defaultResult: Option[Literal]

    Permalink
    Definition Classes
    AggregateFunction
  24. def deterministic: Boolean

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression
  25. final def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode

    Permalink
    Attributes
    protected
    Definition Classes
    Unevaluable → Expression
  26. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def eval(input: InternalRow): Any

    Permalink
    Definition Classes
    Unevaluable → Expression
  28. lazy val evaluateExpression: Expression

    Permalink
    Definition Classes
    TypedAggregateExpression → DeclarativeAggregate
  29. def fastEquals(other: TreeNode[_]): Boolean

    Permalink
    Definition Classes
    TreeNode
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def find(f: (Expression) ⇒ Boolean): Option[Expression]

    Permalink
    Definition Classes
    TreeNode
  32. def flatArguments: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Expression
  33. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  34. final def foldable: Boolean

    Permalink
    Definition Classes
    AggregateFunction → Expression
  35. def foreach(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  36. def foreachUp(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  37. def genCode(ctx: CodegenContext): ExprCode

    Permalink
    Definition Classes
    Expression
  38. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], builder: StringBuilder, verbose: Boolean, prefix: String): StringBuilder

    Permalink
    Definition Classes
    TreeNode
  39. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    TreeNode → AnyRef → Any
  41. lazy val initialValues: Seq[Expression]

    Permalink
    Definition Classes
    TypedAggregateExpression → DeclarativeAggregate
  42. def innerChildren: Seq[TreeNode[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  43. final lazy val inputAggBufferAttributes: Seq[AttributeReference]

    Permalink
    Definition Classes
    DeclarativeAggregate → AggregateFunction
  44. lazy val inputAggBufferbaseExprID: ExprId

    Permalink
    Definition Classes
    DeclarativeAggregate
  45. val inputClass: Option[Class[_]]

    Permalink
  46. val inputDeserializer: Option[Expression]

    Permalink
  47. val inputSchema: Option[StructType]

    Permalink
  48. def inputTypes: Seq[AbstractDataType]

    Permalink
    Definition Classes
    TypedAggregateExpression → ExpectsInputTypes
  49. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  50. def jsonFields: List[JField]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  51. def makeCopy(newArgs: Array[AnyRef]): Expression

    Permalink
    Definition Classes
    TreeNode
  52. def map[A](f: (Expression) ⇒ A): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  53. def mapChildren(f: (Expression) ⇒ Expression): Expression

    Permalink
    Definition Classes
    TreeNode
  54. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  55. lazy val mergeExpressions: Seq[Expression]

    Permalink
    Definition Classes
    TypedAggregateExpression → DeclarativeAggregate
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def nodeName: String

    Permalink
    Definition Classes
    TypedAggregateExpression → TreeNode
  58. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  60. val nullable: Boolean

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression
  61. def numberedTreeString: String

    Permalink
    Definition Classes
    TreeNode
  62. val origin: Origin

    Permalink
    Definition Classes
    TreeNode
  63. def otherCopyArgs: Seq[AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  64. val outputExternalType: DataType

    Permalink
  65. val outputSerializer: Seq[Expression]

    Permalink
  66. def p(number: Int): Expression

    Permalink
    Definition Classes
    TreeNode
  67. def prettyJson: String

    Permalink
    Definition Classes
    TreeNode
  68. def prettyName: String

    Permalink
    Definition Classes
    Expression
  69. def references: AttributeSet

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression
  70. lazy val resolved: Boolean

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression
  71. def semanticEquals(other: Expression): Boolean

    Permalink
    Definition Classes
    Expression
  72. def semanticHash(): Int

    Permalink
    Definition Classes
    Expression
  73. def simpleString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  74. final def sql: String

    Permalink
    Definition Classes
    NonSQLExpression → Expression
  75. def sql(isDistinct: Boolean): String

    Permalink
    Definition Classes
    AggregateFunction
  76. def stringArgs: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  77. def supportsPartial: Boolean

    Permalink
    Definition Classes
    AggregateFunction
  78. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  79. def toAggString(isDistinct: Boolean): String

    Permalink
    Definition Classes
    AggregateFunction
  80. def toAggregateExpression(isDistinct: Boolean): AggregateExpression

    Permalink
    Definition Classes
    AggregateFunction
  81. def toAggregateExpression(): AggregateExpression

    Permalink
    Definition Classes
    AggregateFunction
  82. def toJSON: String

    Permalink
    Definition Classes
    TreeNode
  83. def toString(): String

    Permalink
    Definition Classes
    TypedAggregateExpression → Expression → TreeNode → AnyRef → Any
  84. def transform(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  85. def transformDown(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  86. def transformUp(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  87. def treeString(verbose: Boolean): String

    Permalink
    Definition Classes
    TreeNode
  88. def treeString: String

    Permalink
    Definition Classes
    TreeNode
  89. lazy val updateExpressions: Seq[Expression]

    Permalink
    Definition Classes
    TypedAggregateExpression → DeclarativeAggregate
  90. final def verboseString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  91. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. def withNewChildren(newChildren: Seq[Expression]): Expression

    Permalink
    Definition Classes
    TreeNode

Inherited from NonSQLExpression

Inherited from DeclarativeAggregate

Inherited from Unevaluable

Inherited from Serializable

Inherited from Serializable

Inherited from AggregateFunction

Inherited from ImplicitCastInputTypes

Inherited from ExpectsInputTypes

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped