AECreateTable Class Reference

The AECreateTable class models the <table definition> statement in section 11.3 of the SQL-92 spec. More...

Inherits AETerminalExprT< AERowCountStatement >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AECreateTable (const AECreateTable &in_other)
 Copy constructor.
 AECreateTable (SharedPtr< TableSpecification > in_tableSpecification)
 Constructor.
virtual AECreateTableClone () const
 Creates a clone of this node object.
virtual const AECreateTableGetAsCreateTable () const
 Gets the statement as an AECreateTable object.
virtual AECreateTableGetAsCreateTable ()
 Gets the statement as an AECreateTable object.
virtual const
Simba::DSI::ExecutedSQLInfo
GetExecutedSQLInfo () const
 Return information about this statement.
virtual simba_wstring GetLogString () const
 Returns a string name for this node for the purpose of logging.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class. See the definition of AENodeType for values defined.
SharedPtr< TableSpecificationGetTableSpecification () const
 Get a pointer to the table specification.
virtual void Validate ()
 Validates the node. If the function successfully returns, then the node is valid.
virtual ~AECreateTable ()
 Destructor.

Detailed Description

The AECreateTable class models the <table definition> statement in section 11.3 of the SQL-92 spec.

Example SQL: CREATE TABLE tablename (....)

The details of the table that will be created are stored in TableSpecification.

Will always have no children (GetChildCount() returns 0).


Constructor & Destructor Documentation

AECreateTable ( SharedPtr< TableSpecification in_tableSpecification  ) 

Constructor.

Parameters:
in_tableSpecification The specification for the table.
AECreateTable ( const AECreateTable in_other  ) 

Copy constructor.

To support "cloning". See Clone() method.

Parameters:
in_other The other node to create copy from.
virtual ~AECreateTable (  )  [virtual]

Destructor.


Member Function Documentation

virtual void AcceptVisitor ( AENodeVisitor in_visitor  )  [virtual]

Calls the correct method on the visitor.

Parameters:
in_visitor The visiting object.

Implements AENode.

virtual AECreateTable* Clone (  )  const [virtual]

Creates a clone of this node object.

Returns:
A clone of this node object. (OWN)

Implements AERowCountStatement.

virtual const AECreateTable* GetAsCreateTable (  )  const [inline, virtual]

Gets the statement as an AECreateTable object.

Returns:
this object as an AECreateTable object. (NOT OWN)

Reimplemented from AEStatement.

virtual AECreateTable* GetAsCreateTable (  )  [inline, virtual]

Gets the statement as an AECreateTable object.

Returns:
this object as an AECreateTable object. (NOT OWN)

Reimplemented from AEStatement.

virtual const Simba::DSI::ExecutedSQLInfo& GetExecutedSQLInfo (  )  const [virtual]

Return information about this statement.

Returns:
The executed SQL information linked to this statement.

Implements AEStatement.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a string name for this node for the purpose of logging.

Returns:
A string representation of this node for logging purposes.

Implements AENode.

virtual AENodeType GetNodeType (  )  const [virtual]

Returns an integer that uniquely identifies the node class. See the definition of AENodeType for values defined.

Returns:
The ID that uniquely identifies this type of nodes.

Implements AENode.

SharedPtr<TableSpecification> GetTableSpecification (  )  const

Get a pointer to the table specification.

Returns:
A SharedPtr to the table specification.
virtual void Validate (  )  [virtual]

Validates the node. If the function successfully returns, then the node is valid.

Exceptions:
AEInvalidAetException if the node is not valid.

Reimplemented from AENode.


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

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