DSIOutputMetadataColumnFactory Class Reference

Provides a static method to create a list of DSIOutputMetadataColumn* based on the catalog function. More...

List of all members.

Static Public Member Functions

static void PopulateDSIOutputMetadataColumnList (Simba::DSI::IStatement *in_statement, Simba::DSI::DSIMetadataTableID in_metadataTableID, bool in_isOledb, bool in_isOdbc3, std::vector< Simba::DSI::DSIOutputMetadataColumn * > &out_metadataColumns, const DSIMetadataSource *in_metadataSource=NULL)
 Creates a list of DSIOutputMetadataColumn* based on the metadata table ID, identifying which catalog function metadata table to create.

Protected Member Functions

 DSIOutputMetadataColumnFactory ()
 Constructor.

Detailed Description

Provides a static method to create a list of DSIOutputMetadataColumn* based on the catalog function.


Constructor & Destructor Documentation

DSIOutputMetadataColumnFactory (  )  [protected]

Constructor.


Member Function Documentation

static void PopulateDSIOutputMetadataColumnList ( Simba::DSI::IStatement in_statement,
Simba::DSI::DSIMetadataTableID  in_metadataTableID,
bool  in_isOledb,
bool  in_isOdbc3,
std::vector< Simba::DSI::DSIOutputMetadataColumn * > &  out_metadataColumns,
const DSIMetadataSource in_metadataSource = NULL 
) [static]

Creates a list of DSIOutputMetadataColumn* based on the metadata table ID, identifying which catalog function metadata table to create.

The callee is responsible for ensuring that the contents of out_metadataColumns is deallocated when not needed anymore.

Parameters:
in_statement IStatement which will give the max catalog, schema, and table name lengths.
in_metadataTableID Identifies which metadata table needs to be constructed.
out_metadataColumns List of DSIOutputMetadataColumn*, describing the metadata table as specified in the ODBC spec. The DSIOutputMetadataColumn*s are NOT OWNed, and will get cleaned up by the caller.
in_metadataSource The metadata source returned from the DSII. (NOT OWN) If provided, DSIMetadataSource::GetOverriddenColumnMetadata() is queried to allow the DSII to override metadata for standard catalog columns.

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

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