Interface for packing/unpacking messages with statistics used for query evaluation.
More...
#include <statisticsProcessorInterface.hpp>
Interface for packing/unpacking messages with statistics used for query evaluation.
- Note
- this interface is used for distributing a search index
virtual strus::StatisticsProcessorInterface::~StatisticsProcessorInterface |
( |
| ) |
|
|
inlinevirtual |
Creates a builder for a statistics message.
- Parameters
-
[in] | options_ | options for the message builder |
- Returns
- the builder object (with ownership returned) or NULL in case of a memory allocation error
virtual StatisticsViewerInterface* strus::StatisticsProcessorInterface::createViewer |
( |
const void * |
msgptr, |
|
|
std::size_t |
msgsize |
|
) |
| const |
|
pure virtual |
Creates a viewer for the contents of a statistics message.
- Parameters
-
[in] | msgptr | pointer to the packed statistics message blob (not necessarily copied by the viewer, lifetime assumed longer than that of viewer) |
[in] | msgsize | size of the packed statistics message blob in bytes |
- Returns
- the viewer object (with ownership returned) or NULL in case of a memory allocation error
The documentation for this class was generated from the following file: