#include <StatisticInterface.hpp>
|
| virtual std::vector< StatisticKey > | trackStatistic (const CharacteristicPtr &characteristic, const Windowing::WindowTypePtr &window, const TriggerConditionPtr &triggerCondition, const SendingPolicyPtr &sendingPolicy, std::function< void(CharacteristicPtr)> &&callBack)=0 |
| | Creates a request to track a specific statistic characteristic, e.g., Cardinality over car_1 in a tumbling window fashion of 5 minutes. More...
|
| |
| virtual ProbeResult | probeStatistic (const StatisticKey &statisticKey, const Windowing::TimeMeasure &startTs, const Windowing::TimeMeasure &endTs, const Windowing::TimeMeasure &granularity, const ProbeExpression &probeExpression, const bool &estimationAllowed, std::function< ProbeResult<>(ProbeResult<>)> &&aggFunction)=0 |
| | Creates a request to probe a specific statistic and returns the statistic in a ProbeResult. More...
|
| |
| virtual | ~StatisticInterface ()=default |
| | Virtual destructor. More...
|
| |
◆ ~StatisticInterface()
| virtual NES::Statistic::StatisticInterface::~StatisticInterface |
( |
| ) |
|
|
virtualdefault |
◆ probeStatistic()
| virtual ProbeResult NES::Statistic::StatisticInterface::probeStatistic |
( |
const StatisticKey & |
statisticKey, |
|
|
const Windowing::TimeMeasure & |
startTs, |
|
|
const Windowing::TimeMeasure & |
endTs, |
|
|
const Windowing::TimeMeasure & |
granularity, |
|
|
const ProbeExpression & |
probeExpression, |
|
|
const bool & |
estimationAllowed, |
|
|
std::function< ProbeResult<>(ProbeResult<>)> && |
aggFunction |
|
) |
| |
|
pure virtual |
Creates a request to probe a specific statistic and returns the statistic in a ProbeResult.
- Parameters
-
| statisticKey | |
| startTs | |
| endTs | |
| granularity | |
| probeExpression | |
| estimationAllowed | |
| aggFunction | |
- Returns
- ProbeResult<> containing at least one StatisticValue
◆ trackStatistic()
Creates a request to track a specific statistic characteristic, e.g., Cardinality over car_1 in a tumbling window fashion of 5 minutes.
- Parameters
-
| characteristic | |
| window | |
| triggerCondition | |
| sendingPolicy | |
| callBack | |
The documentation for this class was generated from the following file: