class CountAggregate extends AggregationSpec

COUNT aggregation implementation.

Linear Supertypes
AggregationSpec, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CountAggregate
  2. AggregationSpec
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CountAggregate(metricCol: String = "1")

    metricCol

    Name of the metric column or a Spark SQL column expression for derived metric that will be aggregated using COUNT. For pre-aggregated dataset, this needs to be a column name. For non-aggregated dataset, this valu could default to column expression lit(1).

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 agg(aggregate: Any, record: Any, dataType: DataType): Any
    Definition Classes
    CountAggregate → AggregationSpec
  5. def aggregation: AggregationType
    Definition Classes
    CountAggregate → AggregationSpec
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def calculateAggregate(aggregate: Any, dataType: DataType): Any
    Definition Classes
    AggregationSpec
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def deagg(aggregate: Any, record: Any, dataType: DataType): Any
    Definition Classes
    CountAggregate → AggregationSpec
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def isCalculateAggregateNeeded: Boolean
    Definition Classes
    AggregationSpec
  16. def isIncrementalAgg: Boolean
    Definition Classes
    CountAggregate → AggregationSpec
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isZeroOrNull(aggregate: Any, dataType: DataType): Boolean

    Returns true if the aggregate count is null or zero.

    Returns true if the aggregate count is null or zero. A null aggregate count effectively means zero.

    aggregate

    The aggregate count value

    dataType

    The datatype of the aggregate count value

    returns

    true if the aggregate count is null or zero

  19. val metricCol: String
    Definition Classes
    CountAggregate → AggregationSpec
  20. def metricName: String
    Definition Classes
    CountAggregate → AggregationSpec
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def updateAggDataType(featureColumnMetaData: FeatureColumnMetaData): Unit
    Definition Classes
    AggregationSpec
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AggregationSpec

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped