ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
NoneAgg Struct Reference

Aggregator that ignores all inputs and always returns NULL. More...

Inheritance diagram for NoneAgg:
Collaboration diagram for NoneAgg:

Public Member Functions

void add (const AggValue &x) override
 Incorporate one input value into the running aggregate.
 
AggValue finalize () const override
 Return the final aggregate result.
 
AggregationOperator op () const override
 Return the aggregation operator this accumulator implements.
 
ValueType inputType () const override
 Return the type of the input values accepted by add().
 
- Public Member Functions inherited from Aggregator
virtual ~Aggregator ()=default
 
virtual ValueType resultType () const
 Return the type of the value returned by finalize().
 

Detailed Description

Aggregator that ignores all inputs and always returns NULL.

Definition at line 67 of file Aggregation.cpp.

Member Function Documentation

◆ add()

void NoneAgg::add ( const AggValue x)
inlineoverridevirtual

Incorporate one input value into the running aggregate.

Parameters
xInput value to add.

Implements Aggregator.

Definition at line 68 of file Aggregation.cpp.

◆ finalize()

AggValue NoneAgg::finalize ( ) const
inlineoverridevirtual

Return the final aggregate result.

Returns
The accumulated aggregate as an AggValue.

Implements Aggregator.

Definition at line 70 of file Aggregation.cpp.

◆ inputType()

ValueType NoneAgg::inputType ( ) const
inlineoverridevirtual

Return the type of the input values accepted by add().

Returns
The ValueType of values passed to add().

Implements Aggregator.

Definition at line 76 of file Aggregation.cpp.

◆ op()

AggregationOperator NoneAgg::op ( ) const
inlineoverridevirtual

Return the aggregation operator this accumulator implements.

Returns
The AggregationOperator enum value for this accumulator.

Implements Aggregator.

Definition at line 73 of file Aggregation.cpp.


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