public class SumProcessor extends AbstractProcessor
Statistic.Statistic,
StreamingSampleStatsnumAccepted, numNaN, numNoData, numOffered| Constructor and Description |
|---|
SumProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Double |
get(Statistic stat)
Gets the value of the statistic calculated by this processor.
|
Collection<Statistic> |
getSupported()
Gets the
Statistics supported by this processor. |
protected boolean |
update(Double sample)
Processes a sample value.
|
addNoDataRange, addNoDataValue, addRange, addRange, get, getNoDataRanges, getNumAccepted, getNumNaN, getNumNoData, getNumOffered, getRanges, getRangesType, isAccepted, offer, setRangesTypepublic Collection<Statistic> getSupported()
Statistics supported by this processor.Statisticsprotected boolean update(Double sample)
update in class AbstractProcessorsample - the sample valuetrue if the sample is accepted;
false otherwiseCopyright © 2009–2020. All rights reserved.