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

InformixDatabaseFactory derived from ODBCDatabaseFactory class to implement specific operations for Informix. More...

#include <InformixDatabaseProvider.h>

Inheritance diagram for FinTP::InformixDatabaseFactory:

Public Member Functions

 InformixDatabaseFactory ()
 
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...
 

Static Public Member Functions

static short int getInformixDataType (const DataType::DATA_TYPE type)
 convert Db2DataType to and from another DataType More...
 
static short int getInformixSqlType (const DataType::DATA_TYPE ifxtype, const int dimension)
 
static DataType::DATA_TYPE getDataType (const short int ifxtype, const int dimension)
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from FinTP::DatabaseProviderFactory
 DatabaseProviderFactory (const string &providername)
 
- Protected Attributes inherited from FinTP::DatabaseProviderFactory
string m_Name
 

Detailed Description

InformixDatabaseFactory derived from ODBCDatabaseFactory class to implement specific operations for Informix.

Constructor & Destructor Documentation

FinTP::InformixDatabaseFactory::InformixDatabaseFactory ( )
inline

Member Function Documentation

Database * InformixDatabaseFactory::createDatabase ( )
virtual

Creates the provider specific database.

Returns
The new database.

Implements FinTP::ODBCDatabaseFactory.

DataType::DATA_TYPE InformixDatabaseFactory::getDataType ( const short int  ifxtype,
const int  dimension 
)
static
short int InformixDatabaseFactory::getInformixDataType ( const DataType::DATA_TYPE  type)
static

convert Db2DataType to and from another DataType

short int InformixDatabaseFactory::getInformixSqlType ( const DataType::DATA_TYPE  ifxtype,
const int  dimension 
)
static

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