public class Mean extends Object implements BasicAggregationFunction
| Constructor and Description |
|---|
Mean() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DataQualityWritable value)
Incrementally add values to the aggregation
|
byte[] |
aggregate()
Return the aggregation accumulated using add() in the form of a byte[]
|
Double |
deserialize(byte[] value)
Deserialize a given value appropriately
|
public Double deserialize(byte[] value)
BasicAggregationFunctiondeserialize in interface BasicAggregationFunctionpublic void add(DataQualityWritable value)
BasicAggregationFunctionadd in interface BasicAggregationFunctionpublic byte[] aggregate()
BasicAggregationFunctionaggregate in interface BasicAggregationFunctionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.