JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Protected Types | Protected Member Functions
AggregatorTest Class Reference
Inheritance diagram for AggregatorTest:
[legend]
Collaboration diagram for AggregatorTest:
[legend]

Protected Types

typedef std::vector< std::unique_ptr< joda::query::IValueProvider > > Params
 

Protected Member Functions

std::vector< RapidJsonDocumentgetDocs (std::vector< std::string > strs, RJMemoryPoolAlloc &alloc)
 
std::string rjvalToString (RJValue &val)
 
std::string rjvalToString (RJDocument &val)
 
void aggregate (const std::vector< RapidJsonDocument > &docs, RJMemoryPoolAlloc &alloc, std::unique_ptr< joda::query::IAggregator > &agg)
 
void testAgg (const std::vector< RapidJsonDocument > &docs, RJMemoryPoolAlloc &alloc, std::string res, std::unique_ptr< joda::query::IAggregator > &agg)
 
void testAgg (RJMemoryPoolAlloc &alloc, std::string res, std::unique_ptr< joda::query::IAggregator > &agg)
 
void checkDuplicate (std::unique_ptr< joda::query::IAggregator > &agg)
 
::testing::AssertionResult testArrayAgg (const std::vector< RapidJsonDocument > &docs, RJMemoryPoolAlloc &alloc, std::vector< std::unique_ptr< joda::query::IValueProvider >> &vals, std::unique_ptr< joda::query::IAggregator > &agg)
 

Member Typedef Documentation

◆ Params

typedef std::vector<std::unique_ptr<joda::query::IValueProvider> > AggregatorTest::Params
protected

Member Function Documentation

◆ aggregate()

void AggregatorTest::aggregate ( const std::vector< RapidJsonDocument > &  docs,
RJMemoryPoolAlloc alloc,
std::unique_ptr< joda::query::IAggregator > &  agg 
)
inlineprotected
Here is the caller graph for this function:

◆ checkDuplicate()

void AggregatorTest::checkDuplicate ( std::unique_ptr< joda::query::IAggregator > &  agg)
inlineprotected

◆ getDocs()

std::vector<RapidJsonDocument> AggregatorTest::getDocs ( std::vector< std::string >  strs,
RJMemoryPoolAlloc alloc 
)
inlineprotected

◆ rjvalToString() [1/2]

std::string AggregatorTest::rjvalToString ( RJDocument val)
inlineprotected

◆ rjvalToString() [2/2]

std::string AggregatorTest::rjvalToString ( RJValue val)
inlineprotected
Here is the caller graph for this function:

◆ testAgg() [1/2]

void AggregatorTest::testAgg ( const std::vector< RapidJsonDocument > &  docs,
RJMemoryPoolAlloc alloc,
std::string  res,
std::unique_ptr< joda::query::IAggregator > &  agg 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ testAgg() [2/2]

void AggregatorTest::testAgg ( RJMemoryPoolAlloc alloc,
std::string  res,
std::unique_ptr< joda::query::IAggregator > &  agg 
)
inlineprotected
Here is the call graph for this function:

◆ testArrayAgg()

::testing::AssertionResult AggregatorTest::testArrayAgg ( const std::vector< RapidJsonDocument > &  docs,
RJMemoryPoolAlloc alloc,
std::vector< std::unique_ptr< joda::query::IValueProvider >> &  vals,
std::unique_ptr< joda::query::IAggregator > &  agg 
)
inlineprotected
Here is the call graph for this function:

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