JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <JoinManager.h>
Public Member Functions | |
JoinManager (std::string name, std::unique_ptr< joda::query::IValueProvider > &&valProv) | |
virtual | ~JoinManager () |
virtual void | join (const RapidJsonDocument &doc)=0 |
virtual void | join (JSONContainer &cont) |
virtual const std::string & | getName () const |
Protected Types | |
enum | JoinVals { NOT_HASHABLE = 0 , FALSE_VAL = 1 , TRUE_VAL = 2 , STARTNORMAL_VAL = 3 } |
Protected Attributes | |
std::string | name |
std::unique_ptr< joda::query::IValueProvider > | valProv |
The JoinManager is an interface for joining/grouping documents using different techniques.
|
protected |
JoinManager::JoinManager | ( | std::string | name, |
std::unique_ptr< joda::query::IValueProvider > && | valProv | ||
) |
Initializes the name/identifier and IValueProvider of the JoinManager
name | The name/identifier of the join |
valProv | The IValueProvider to receive the join values from. |
|
virtualdefault |
|
virtual |
Returns the name/identifier of the join.
Reimplemented in MemoryJoinManager.
|
pure virtual |
Joins a single document with the others
doc | The RapidJsonDocument to join |
Implemented in MemoryJoinManager, and FileJoinManager.
|
virtual |
Joins a container
cont | Container to join |
|
protected |
|
protected |