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], bufferSerializer: Seq[NamedExpression], bufferDeserializer: Expression, outputSerializer: Seq[Expression], outputExternalType: DataType, dataType: DataType) 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], bufferSerializer: Seq[NamedExpression], bufferDeserializer: Expression, outputSerializer: Seq[Expression], outputExternalType: DataType, dataType: DataType)

    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): Expression

    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. lazy val containsChild: Set[TreeNode[_]]

    Permalink
    Definition Classes
    TreeNode
  21. val dataType: DataType

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

    Permalink
    Definition Classes
    AggregateFunction
  23. def deterministic: Boolean

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TreeNode
  33. final def foldable: Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def getNodeNumbered(number: MutableInt): Expression

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  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 inputDeserializer: Option[Expression]

    Permalink
  46. def inputTypes: Seq[AbstractDataType]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  55. def nodeName: String

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

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

    Permalink
    Definition Classes
    AnyRef
  58. def nullable: Boolean

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

    Permalink
    Definition Classes
    TreeNode
  60. val origin: Origin

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

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

    Permalink
  63. val outputSerializer: Seq[Expression]

    Permalink
  64. def prettyJson: String

    Permalink
    Definition Classes
    TreeNode
  65. def prettyName: String

    Permalink
    Definition Classes
    Expression
  66. def references: AttributeSet

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

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

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

    Permalink
    Definition Classes
    Expression
  70. def simpleString: String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AggregateFunction
  79. def toJSON: String

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

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

    Permalink
    Definition Classes
    TreeNode
  82. def transformChildren(rule: PartialFunction[Expression, Expression], nextOperation: (Expression, PartialFunction[Expression, Expression]) ⇒ Expression): Expression

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

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

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

    Permalink
    Definition Classes
    TreeNode
  86. def treeString: String

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

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

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

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

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

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