docs / it.uniroma3.dbtree.spi.impl.functions / SumInt / h

h

fun h(a: Long?): Long? (source)

Generates a final result from an aggregate value.

E.g.: in the case of arithmetic mean, a = <c,s> (the element count and their sum) h(a) = s/c (the arithmetic mean itself).

Parameters

a - the aggregate value.

Return
the final result.