final class GeneralAggregateFunc extends AggregateFunc
The general implementation of AggregateFunc, which contains the upper-cased function
name, the isDistinct flag and all the inputs. Note that Spark cannot push down partial
aggregate with this function to the source, but can only push down the entire aggregate.
The currently supported SQL aggregate functions:
-
VAR_POP(input1)
Since 3.3.0 -
VAR_SAMP(input1)
Since 3.3.0 -
STDDEV_POP(input1)
Since 3.3.0 -
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_POP(input1)
-
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
VAR_SAMP(input1)
-
STDDEV_POP(input1)
Since 3.3.0 -
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_POP(input1)
-
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
VAR_POP(input1)
-
VAR_SAMP(input1)
Since 3.3.0 -
STDDEV_POP(input1)
Since 3.3.0 -
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_POP(input1)
-
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
VAR_SAMP(input1)
-
STDDEV_POP(input1)
Since 3.3.0 -
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_POP(input1)
-
STDDEV_SAMP(input1)
Since 3.3.0 -
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
STDDEV_SAMP(input1)
-
COVAR_POP(input1, input2)
Since 3.3.0 -
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_POP(input1, input2)
-
COVAR_SAMP(input1, input2)
Since 3.3.0 -
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
COVAR_SAMP(input1, input2)
-
CORR(input1, input2)
Since 3.3.0
CORR(input1, input2)
- Annotations
- @Evolving()
- Since
3.3.0
- Alphabetic
- By Inheritance
- GeneralAggregateFunc
- AggregateFunc
- Serializable
- Expression
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new GeneralAggregateFunc(name: String, isDistinct: Boolean, children: Array[Expression])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
children(): Array[Expression]
Returns an array of the children of this node.
Returns an array of the children of this node. Children should not change.
- Definition Classes
- GeneralAggregateFunc → Expression
- Annotations
- @Override()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
describe(): String
Format the expression as a human readable SQL-like string.
Format the expression as a human readable SQL-like string.
- Definition Classes
- Expression
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isDistinct(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name(): String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
references(): Array[NamedReference]
List of fields or columns that are referenced by this expression.
List of fields or columns that are referenced by this expression.
- Definition Classes
- Expression
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- GeneralAggregateFunc → AnyRef → Any
- Annotations
- @Override()
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated