NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Statistic::DummyStatistic Class Reference

Dummy statistic so that we can test our DefaultStatisticStore. More...

Collaboration diagram for NES::Statistic::DummyStatistic:
[legend]

Public Member Functions

 DummyStatistic (Windowing::TimeMeasure startTs, Windowing::TimeMeasure endTs)
 
StatisticValue getStatisticValue (const ProbeExpression &) const override
 
std::string toString () const override
 
bool equal (const Statistic &other) const override
 
 ~DummyStatistic () override=default
 

Static Public Member Functions

static StatisticPtr create (Windowing::TimeMeasure startTs, Windowing::TimeMeasure endTs)
 

Public Attributes

uint64_t randomValue
 

Detailed Description

Dummy statistic so that we can test our DefaultStatisticStore.

Constructor & Destructor Documentation

◆ DummyStatistic()

NES::Statistic::DummyStatistic::DummyStatistic ( Windowing::TimeMeasure  startTs,
Windowing::TimeMeasure  endTs 
)
inline

Referenced by create().

Here is the caller graph for this function:

◆ ~DummyStatistic()

NES::Statistic::DummyStatistic::~DummyStatistic ( )
overridedefault

Member Function Documentation

◆ create()

static StatisticPtr NES::Statistic::DummyStatistic::create ( Windowing::TimeMeasure  startTs,
Windowing::TimeMeasure  endTs 
)
inlinestatic

References DummyStatistic().

Referenced by NES::Statistic::DefaultStatisticStoreTest::createData(), and NES::Statistic::TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equal()

bool NES::Statistic::DummyStatistic::equal ( const Statistic &  other) const
inlineoverride

References randomValue.

◆ getStatisticValue()

StatisticValue NES::Statistic::DummyStatistic::getStatisticValue ( const ProbeExpression &  ) const
inlineoverride

References randomValue.

◆ toString()

std::string NES::Statistic::DummyStatistic::toString ( ) const
inlineoverride

References randomValue.

Member Data Documentation

◆ randomValue

uint64_t NES::Statistic::DummyStatistic::randomValue

Referenced by equal(), getStatisticValue(), and toString().


The documentation for this class was generated from the following file: