strusAnalyzer  0.17
Public Member Functions | List of all members
strus::AggregatorFunctionInstanceInterface Class Referenceabstract

Interface for a parameterized aggregator function. More...

#include <aggregatorFunctionInstanceInterface.hpp>

Public Member Functions

virtual ~AggregatorFunctionInstanceInterface ()
 Destructor. More...
 
virtual NumericVariant evaluate (const analyzer::Document &document) const =0
 Aggregator function for document statistics. More...
 
virtual analyzer::FunctionView view () const =0
 Get the definition of the function as structure for introspection. More...
 

Detailed Description

Interface for a parameterized aggregator function.

Constructor & Destructor Documentation

virtual strus::AggregatorFunctionInstanceInterface::~AggregatorFunctionInstanceInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual NumericVariant strus::AggregatorFunctionInstanceInterface::evaluate ( const analyzer::Document document) const
pure virtual

Aggregator function for document statistics.

Parameters
[in]documentdocument to inspect
Returns
aggregated value
virtual analyzer::FunctionView strus::AggregatorFunctionInstanceInterface::view ( ) const
pure virtual

Get the definition of the function as structure for introspection.

Returns
structure for introspection

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