class TypedAverage[IN] extends expressions.Aggregator[IN, (Double, Long), Double]
- Alphabetic
- By Inheritance
- TypedAverage
- Aggregator
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 bufferEncoder: Encoder[(Double, Long)]
Specifies the
Encoderfor the intermediate value type.Specifies the
Encoderfor the intermediate value type.- Definition Classes
- TypedAverage → Aggregator
- Since
2.0.0
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val f: (IN) => Double
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finish(reduction: (Double, Long)): Double
Transform the output of the reduction.
Transform the output of the reduction.
- Definition Classes
- TypedAverage → Aggregator
- Since
1.6.0
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(b1: (Double, Long), b2: (Double, Long)): (Double, Long)
Merge two intermediate values.
Merge two intermediate values.
- Definition Classes
- TypedAverage → Aggregator
- Since
1.6.0
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def outputEncoder: Encoder[Double]
Specifies the
Encoderfor the final output value type.Specifies the
Encoderfor the final output value type.- Definition Classes
- TypedAverage → Aggregator
- Since
2.0.0
- def reduce(b: (Double, Long), a: IN): (Double, Long)
Combine two values to produce a new value.
Combine two values to produce a new value. For performance, the function may modify
band return it instead of constructing new object for b.- Definition Classes
- TypedAverage → Aggregator
- Since
1.6.0
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toColumn: TypedColumn[IN, Double]
Returns this
Aggregatoras aTypedColumnthat can be used inDataset.Returns this
Aggregatoras aTypedColumnthat can be used inDataset. operations.- Definition Classes
- Aggregator
- Since
1.6.0
- def toColumnJava: TypedColumn[IN, Double]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zero: (Double, Long)
A zero value for this aggregation.
A zero value for this aggregation. Should satisfy the property that any b + zero = b.
- Definition Classes
- TypedAverage → Aggregator
- Since
1.6.0