TableSpecification Class Reference

Represents the specification of a table, used in table creation. More...

Inherits Simba::Support::UnsafeSharedObject.

List of all members.

Public Member Functions

const simba_wstringGetCatalog () const
 Get the catalog name.
Simba::DSI::IColumnsGetColumns () const
 Get the column definitions.
const AutoVector
< TableConstraint > & 
GetConstraints () const
 Get the table constraints.
const simba_wstringGetName () const
 Get the table name.
const simba_wstringGetSchema () const
 Get the schema name.
 TableSpecification (const simba_wstring &in_catalog, const simba_wstring &in_schema, const simba_wstring &in_name, AutoVector< TableConstraint > &in_constraints, AutoPtr< Simba::DSI::IColumns > in_columns)
 Constructor.
 TableSpecification (const simba_wstring &in_catalog, const simba_wstring &in_schema, const simba_wstring &in_name, AutoVector< TableConstraint > &in_constraints, Simba::DSI::IColumns *in_columns)
 Constructor.
virtual ~TableSpecification ()
 Destructor.

Detailed Description

Represents the specification of a table, used in table creation.


Constructor & Destructor Documentation

TableSpecification ( const simba_wstring in_catalog,
const simba_wstring in_schema,
const simba_wstring in_name,
AutoVector< TableConstraint > &  in_constraints,
Simba::DSI::IColumns in_columns 
)

Constructor.

Parameters:
in_catalog The catalog name.
in_schema The schema name.
in_name The table name.
in_constraints A vector of constraints. (OWN)
in_columns The column definitions. The order of columns should be the order of the columns in the created table. (OWN)
TableSpecification ( const simba_wstring in_catalog,
const simba_wstring in_schema,
const simba_wstring in_name,
AutoVector< TableConstraint > &  in_constraints,
AutoPtr< Simba::DSI::IColumns in_columns 
)

Constructor.

Parameters:
in_catalog The catalog name.
in_schema The schema name.
in_name The table name.
in_constraints A vector of constraints. (OWN)
in_columns The column definitions. The order of columns should be the order of the columns in the created table. (OWN)
virtual ~TableSpecification (  )  [virtual]

Destructor.


Member Function Documentation

const simba_wstring& GetCatalog (  )  const

Get the catalog name.

Returns:
The catalog name.
Simba::DSI::IColumns* GetColumns (  )  const

Get the column definitions.

The columns are in the same order as the columns in the created table.

Returns:
the Column definitions. (NOT OWN)
const AutoVector<TableConstraint>& GetConstraints (  )  const

Get the table constraints.

Returns:
The table constraint vector.
const simba_wstring& GetName (  )  const

Get the table name.

Returns:
The table name.
const simba_wstring& GetSchema (  )  const

Get the schema name.

Returns:
The schema name.

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