An SQL encoder for general function expressions. More...
#include <FunctionEncoder.h>
Public Member Functions | |
FunctionEncoder (const std::string &name) | |
Constructor. More... | |
void | toSQL (const Function &f, std::string &buff, SQLVisitor &v) const |
It encodes the function to a SQL notation. More... | |
~FunctionEncoder () | |
Destructor. More... | |
Protected Attributes | |
std::string | m_name |
The alias to the function. More... | |
An SQL encoder for general function expressions.
It encodes a function expression using the following convetions:
Definition at line 50 of file FunctionEncoder.h.
|
inline |
|
inline |
Destructor.
Definition at line 61 of file FunctionEncoder.h.
|
virtual |
It encodes the function to a SQL notation.
f | The function to be translated to a SQL notation. |
alias | The function alias in the data source query language. |
buff | The destination string buffer where the translation will be written. |
v | The SQL visitor that will be used to visit the arguments expression. |
Implements te::da::SQLFunctionEncoder.
|
protectedinherited |
The alias to the function.
Definition at line 88 of file SQLFunctionEncoder.h.