c

io.projectglow.sql.expressions

UnwrappedAggregateByIndex

case class UnwrappedAggregateByIndex(arr: Expression, initialValue: Expression, update: Expression, merge: Expression, evaluate: Expression) extends DeclarativeAggregate with AggregateByIndex with UnwrappedAggregateFunction with Product with Serializable

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

Instance Constructors

  1. new UnwrappedAggregateByIndex(arr: Expression, initialValue: Expression, update: Expression, merge: Expression)
  2. new UnwrappedAggregateByIndex(arr: Expression, initialValue: Expression, update: Expression, merge: Expression, evaluate: Expression)

Type Members

  1. implicit class RichAttribute extends AnyRef
    Definition Classes
    DeclarativeAggregate

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggBufferAttributes: Seq[AttributeReference]
    Definition Classes
    AggregateByIndex → AggregateFunction
  5. final def aggBufferSchema: StructType
    Definition Classes
    DeclarativeAggregate → AggregateFunction
  6. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  7. def argString: String
    Definition Classes
    TreeNode
  8. def argumentTypes: Seq[ADT]
    Definition Classes
    AggregateByIndex → HigherOrderFunction
  9. def arguments: Seq[Expression]
    Definition Classes
    AggregateByIndex → HigherOrderFunction
  10. lazy val argumentsResolved: Boolean
    Definition Classes
    HigherOrderFunction
  11. val arr: Expression

    The array over which we're aggregating

    The array over which we're aggregating

    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex
  12. def asCode: String
    Definition Classes
    TreeNode
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def asWrapped: AggregateFunction
  15. def bind(f: (Expression, Seq[(DataType, Boolean)]) ⇒ LambdaFunction): AggregateByIndex

    To create bound lambda functions, we bind each of the child higher order functions, extract their bound lambda functions, and then copy.

    To create bound lambda functions, we bind each of the child higher order functions, extract their bound lambda functions, and then copy.

    Definition Classes
    AggregateByIndex → HigherOrderFunction
  16. val buffer: AttributeReference
    Attributes
    protected
    Definition Classes
    AggregateByIndex
  17. lazy val canonicalized: Expression
    Definition Classes
    Expression
  18. def checkArgumentDataTypes(): TypeCheckResult
    Definition Classes
    HigherOrderFunction
  19. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    ExpectsInputTypes → Expression
  20. def children: Seq[Expression]
    Definition Classes
    HigherOrderFunction → TreeNode
  21. def childrenResolved: Boolean
    Definition Classes
    Expression
  22. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  24. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  25. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  26. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  27. def dataType: DataType
    Definition Classes
    AggregateByIndex → Expression
  28. def defaultResult: Option[Literal]
    Definition Classes
    AggregateFunction
  29. lazy val deterministic: Boolean
    Definition Classes
    Expression
  30. final def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    Unevaluable → Expression
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def eval(input: InternalRow): Any
    Definition Classes
    Unevaluable → Expression
  33. val evaluate: Expression

    Function to turn a buffer into the actual output

    Function to turn a buffer into the actual output

    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex
  34. lazy val evaluateExpression: Expression
    Definition Classes
    AggregateByIndex → DeclarativeAggregate
  35. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  36. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  38. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  39. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  40. final def foldable: Boolean
    Definition Classes
    AggregateFunction → Expression
  41. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  42. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  43. def functionTypes: Seq[ADT]
    Definition Classes
    AggregateByIndex → HigherOrderFunction
  44. def functions: Seq[Expression]
    Definition Classes
    AggregateByIndex → HigherOrderFunction
  45. lazy val functionsForEval: Seq[Expression]
    Definition Classes
    HigherOrderFunction
    Annotations
    @transient()
  46. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  47. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], builder: StringBuilder, verbose: Boolean, prefix: String, addSuffix: Boolean): StringBuilder
    Definition Classes
    TreeNode
  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  50. val initialValue: Expression

    The initial value for each element in the aggregation buffer

    The initial value for each element in the aggregation buffer

    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex
  51. lazy val initialValues: Seq[Expression]
    Definition Classes
    AggregateByIndex → DeclarativeAggregate
  52. def innerChildren: Seq[TreeNode[_]]
    Attributes
    protected
    Definition Classes
    TreeNode
  53. final lazy val inputAggBufferAttributes: Seq[AttributeReference]
    Definition Classes
    DeclarativeAggregate → AggregateFunction
  54. def inputTypes: Seq[AbstractDataType]
    Definition Classes
    HigherOrderFunction → ExpectsInputTypes
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  57. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  58. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  59. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  60. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  61. val merge: Expression

    Function to merge two buffers' elements

    Function to merge two buffers' elements

    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex
  62. lazy val mergeExpressions: Seq[Expression]
    Definition Classes
    AggregateByIndex → DeclarativeAggregate
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. def nodeName: String
    Definition Classes
    TreeNode
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. def nullable: Boolean
    Definition Classes
    AggregateByIndex → HigherOrderFunction → Expression
  68. def numberedTreeString: String
    Definition Classes
    TreeNode
  69. val origin: Origin
    Definition Classes
    TreeNode
  70. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  71. def p(number: Int): Expression
    Definition Classes
    TreeNode
  72. def prettyJson: String
    Definition Classes
    TreeNode
  73. def prettyName: String
    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex → Expression
  74. def references: AttributeSet
    Definition Classes
    Expression
  75. lazy val resolved: Boolean
    Definition Classes
    HigherOrderFunction → Expression
  76. def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  77. def semanticHash(): Int
    Definition Classes
    Expression
  78. def simpleString: String
    Definition Classes
    Expression → TreeNode
  79. def sql(isDistinct: Boolean): String
    Definition Classes
    AggregateFunction
  80. def sql: String
    Definition Classes
    Expression
  81. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  82. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  83. def toAggString(isDistinct: Boolean): String
    Definition Classes
    AggregateFunction
  84. def toAggregateExpression(isDistinct: Boolean): AggregateExpression
    Definition Classes
    AggregateFunction
  85. def toAggregateExpression(): AggregateExpression
    Definition Classes
    AggregateFunction
  86. def toJSON: String
    Definition Classes
    TreeNode
  87. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  88. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  89. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  90. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  91. def treeString(verbose: Boolean, addSuffix: Boolean): String
    Definition Classes
    TreeNode
  92. def treeString: String
    Definition Classes
    TreeNode
  93. val update: Expression

    Function to update an element of the buffer with a new input element

    Function to update an element of the buffer with a new input element

    Definition Classes
    UnwrappedAggregateByIndexAggregateByIndex
  94. lazy val updateExpressions: Seq[Expression]
    Definition Classes
    AggregateByIndex → DeclarativeAggregate
  95. final def verboseString: String
    Definition Classes
    Expression → TreeNode
  96. def verboseStringWithSuffix: String
    Definition Classes
    TreeNode
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  100. def withBoundExprs(newUpdate: Expression, newMerge: Expression, newEvaluate: Expression): AggregateByIndex
  101. def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode

Inherited from AggregateByIndex

Inherited from HigherOrderFunction

Inherited from ExpectsInputTypes

Inherited from DeclarativeAggregate

Inherited from Unevaluable

Inherited from Serializable

Inherited from Serializable

Inherited from AggregateFunction

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped