public class WeightedSumMetric extends Metric
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FUNC |
outputLong| 构造器和说明 |
|---|
WeightedSumMetric(StreamExpression expression,
StreamFactory factory) |
WeightedSumMetric(String valueCol,
String countCol) |
WeightedSumMetric(String valueCol,
String countCol,
boolean outputLong) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
getColumns() |
Number |
getValue() |
Metric |
newInstance() |
StreamExpressionParameter |
toExpression(StreamFactory factory) |
void |
update(Tuple tuple) |
getFunctionName, getIdentifier, getMetricNodeId, setFunctionName, setIdentifier, setIdentifier, toExplanationpublic WeightedSumMetric(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Metric newInstance()
newInstance 在类中 Metricpublic String[] getColumns()
getColumns 在类中 Metricpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
IOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.