JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <PointerCopyProject.h>
Public Member Functions | |
PointerCopyProject (const std::string &to, const std::string &from) | |
std::string | getType () override |
std::string | toString () override |
std::vector< std::string > | getMaterializeAttributes () const override |
Public Member Functions inherited from joda::query::IProjector | |
IProjector (const std::string &to) | |
virtual | ~IProjector ()=default |
virtual void | project (const RapidJsonDocument &json, RJDocument &newDoc, bool view=false) |
std::string | getToPointer () const |
const RJPointer & | getRawToPointer () const |
Static Public Attributes | |
static const std::string | type = "PointerCopy" |
static const std::string | allCopy = "AllCopy" |
Protected Member Functions | |
RJValue | getVal (const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) override |
Protected Attributes | |
RJPointer | from |
std::string | from_str |
bool | copyAll = false |
Protected Attributes inherited from joda::query::IProjector | |
RJPointer | ptr |
std::string | ptr_str |
Transformation copying a value from the source to destination document
joda::query::PointerCopyProject::PointerCopyProject | ( | const std::string & | to, |
const std::string & | from | ||
) |
|
overridevirtual |
Returns a list of attributes that have to be materialized for this projection to work
Implements joda::query::IProjector.
|
overridevirtual |
Returns a string representing the transformation function
Implements joda::query::IProjector.
|
overrideprotectedvirtual |
|
overridevirtual |
Returns a string representing the whole transformation as it would be specified in a query
Reimplemented from joda::query::IProjector.
|
static |
|
protected |
|
protected |
|
protected |
|
static |