IColumnFactory Class Reference

Defines an abstract factory for the creation of IColumns. More...

Inherited by DSIExtColumnFactory.

List of all members.

Public Member Functions

virtual Simba::DSI::IColumnCreateColumn (const simba_wstring &in_catalogName, const simba_wstring &in_schemaName, const simba_wstring &in_tableName, const simba_wstring &in_columnName, const simba_wstring &in_typeName, const std::vector< simba_wstring > &in_typeParameters, Simba::DSI::DSINullable in_nullable)=0
 Create an IColumn object with the given name and type.
virtual ~IColumnFactory ()
 Destructor.

Protected Member Functions

 IColumnFactory ()
 Constructor.

Detailed Description

Defines an abstract factory for the creation of IColumns.

This factory is used during table creation to determine the properties of columns based on the supplied SQL create statement. Arbitrary data type names and parameters will be passed into the CreateColumn method. It is the responsibility of the implementing class to determine the appropriate SQL type and interpret the parameters.


Constructor & Destructor Documentation

virtual ~IColumnFactory (  )  [inline, virtual]

Destructor.

IColumnFactory (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual Simba::DSI::IColumn* CreateColumn ( const simba_wstring in_catalogName,
const simba_wstring in_schemaName,
const simba_wstring in_tableName,
const simba_wstring in_columnName,
const simba_wstring in_typeName,
const std::vector< simba_wstring > &  in_typeParameters,
Simba::DSI::DSINullable  in_nullable 
) [pure virtual]

Create an IColumn object with the given name and type.

Parameters:
in_catalogName The name of the catalog in which the table resides.
in_schemaName The name of the schema in which the table resides.
in_tableName The name of the table.
in_columnName The name of the column.
in_typeName The given type name.
in_typeParameters The parameters to the type.
in_nullable If the column is nullable.
Returns:
An IColumn pointer for the new column. (OWN)
Exceptions:
SESqlErrorException if an error occurs.

Implemented in DSIExtColumnFactory.


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

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba