| 限定符和类型 | 字段和说明 |
|---|---|
static String |
AGGREGATE_METHOD_NAME |
static String |
COMPUTE_RESULT_METHOD_NAME |
static String |
INIT_MATHOD_NAME |
| 构造器和说明 |
|---|
UDAF() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract U |
aggregate(I input,
U aggre)
Aggregate the input parameters according to a certain logic and
the results after the last aggregation
|
abstract U |
computeResult(U aggre)
Calculate the final result using the results obtained after the final polymerization
|
abstract U |
getInitData()
Initial value of the aggregate function
|
public abstract U getInitData()
public abstract U aggregate(I input, U aggre)
input - input parameteraggre - Results after the last aggregationCopyright © 2019. All rights reserved.