fintp_udal
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FinTP::PostgresDatabaseFactory Class Reference

PostgresDatabaseFactory derived from ODBCDatabaseFactory class to implement specific operations for Postgres. More...

#include <PostgresDatabaseProvider.h>

Inheritance diagram for FinTP::PostgresDatabaseFactory:

Public Member Functions

 PostgresDatabaseFactory ()
 A new Database instace is obtained from the factory. More...
 
DatabasecreateDatabase ()
 Creates the provider specific database. More...
 
- Public Member Functions inherited from FinTP::ODBCDatabaseFactory
 ODBCDatabaseFactory (const string &provider)
 Base class for database provider specific objects creations. More...
 
 ~ODBCDatabaseFactory ()
 
DataParameterBasecreateParameter (DataType::DATA_TYPE paramType, DataParameterBase::PARAMETER_DIRECTION parameterDirection=DataParameterBase::PARAM_IN)
 Create parameter. More...
 
DataColumnBasecreateColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale, const string &name="")
 
string getParamPlaceholder (const unsigned int i) const
 Returns a string representing a sql statement parameter placeholder. More...
 
string getParamPlaceholder (const string &paramname) const
 Returns a string representing a sql statement parameter placeholder. More...
 
string getTrimFunc (const string &value) const
 Returns sql statement call to a provider specific trim function. More...
 
- Public Member Functions inherited from FinTP::DatabaseProviderFactory
virtual ~DatabaseProviderFactory ()
 
DataParameterBasecreateParameter (DataType::DATA_TYPE paramType)
 
DataColumnBasecreateColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale)
 
string name () const
 Getter method of the provider name. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from FinTP::ODBCDatabaseFactory
static DataColumnBaseinternalCreateColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale, const string &name="")
 Create column. More...
 
static short int getODBCSqlType (const DataType::DATA_TYPE type, const int dimension)
 
static short int getODBCDataType (const DataType::DATA_TYPE type)
 
static int getODBCParameterDirection (DataParameterBase::PARAMETER_DIRECTION paramDirection)
 
static DataType::DATA_TYPE getDataType (const short int type, const int dimension)
 
- Protected Member Functions inherited from FinTP::DatabaseProviderFactory
 DatabaseProviderFactory (const string &providername)
 
- Protected Attributes inherited from FinTP::DatabaseProviderFactory
string m_Name
 

Detailed Description

PostgresDatabaseFactory derived from ODBCDatabaseFactory class to implement specific operations for Postgres.

Constructor & Destructor Documentation

FinTP::PostgresDatabaseFactory::PostgresDatabaseFactory ( )
inline

A new Database instace is obtained from the factory.

Member Function Documentation

Database * PostgresDatabaseFactory::createDatabase ( )
virtual

Creates the provider specific database.

Returns
The new database.

Implements FinTP::ODBCDatabaseFactory.


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