It represents the SQL query dialect accepted by a given data source.
More...
#include <SQLDialect.h>
It represents the SQL query dialect accepted by a given data source.
This class is target for the portability of TerraLib...
Definition at line 55 of file SQLDialect.h.
te::da::SQLDialect::SQLDialect |
( |
| ) |
|
|
inline |
te::da::SQLDialect::~SQLDialect |
( |
| ) |
|
It searches for an encoder for the given function.
- Parameters
-
funcName | The function name. |
- Returns
- An encoder or NULL if none is found.
std::vector<std::string> te::da::SQLDialect::getRegisteredNames |
( |
| ) |
const |
It gets the all registered names from registed functions.
- Returns
- A vector with TerraLib general name for SQL functions.
void te::da::SQLDialect::insert |
( |
const std::string & |
funcName, |
|
|
SQLFunctionEncoder * |
encoder |
|
) |
| |
It adds a new encoder for a given function.
- Parameters
-
funcName | The function name. |
encoder | The SQL dialect encoder for the given function. |
- Exceptions
-
Exception | It thorws an exception if a given function is already registered. |
- Note
- The SQLDialect will take the ownership of the given encoder.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/dataaccess/query/SQLDialect.h