docs / it.uniroma3.dbtree.spi.impl.functions / AverageInt

AverageInt

class AverageInt : Function<Int, Pair<Long, Long>, Long> (source)

Constructors

<init>

AverageInt()

Functions

f

Function's component for the combination of aggregate values.

fun f(aggList: List<Pair<Long, Long>?>): Pair<Long, Long>?

g

Computes the aggregate value from an atomic value.

fun g(v: Int?): Pair<Long, Long>

h

Generates a final result from an aggregate value.

fun h(a: Pair<Long, Long>?): Long

identity

Returns the identity aggregate value for this aggregation function.

fun identity(): Pair<Long, Long>?

parseA

Parser for the aggregate value type.

fun parseA(s: String): Pair<Long, Long>

parseV

Parser for the atomic value type.

fun parseV(s: String): Int