AEInsertDefaults Class Reference

The AEInsertDefaults class models the <insert statement> statement in section 13.8 of the SQL-92 spec with the DEFAULT VALUES query expression. More...

Inherits AEUnaryExprT< AERowCountStatement, AETable >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEInsertDefaults (const AEInsertDefaults &in_other)
 Copy constructor.
 AEInsertDefaults (AutoPtr< AETable > in_tableOperand)
 Constructor.
virtual AEInsertDefaultsClone () const
 Creates a clone of this node object.
virtual const AEInsertDefaultsGetAsInsertDefaults () const
 Get the statement as an AEInsertDefaults object.
virtual AEInsertDefaultsGetAsInsertDefaults ()
 Get the statement as an AEInsertDefaults 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.
virtual ~AEInsertDefaults ()
 Destructor.

Detailed Description

The AEInsertDefaults class models the <insert statement> statement in section 13.8 of the SQL-92 spec with the DEFAULT VALUES query expression.

For example, the following SQL query can be translated to an AEInsertDefaults operation directly,

INSERT INTO T DEFAULT VALUES


Constructor & Destructor Documentation

AEInsertDefaults ( AutoPtr< AETable in_tableOperand  ) 

Constructor.

The ownerships of the operand object passed in through the constructor is transferred to this object.

Parameters:
in_tableOperand The table operand.
Exceptions:
SEInvalidArgumentException when in_operand does not own an appropriate object.
AEInsertDefaults ( const AEInsertDefaults in_other  ) 

Copy constructor.

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

Parameters:
in_other The other node to create copy from.
virtual ~AEInsertDefaults (  )  [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 AEInsertDefaults* Clone (  )  const [virtual]

Creates a clone of this node object.

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

Implements AERowCountStatement.

virtual const AEInsertDefaults* GetAsInsertDefaults (  )  const [inline, virtual]

Get the statement as an AEInsertDefaults object.

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

Reimplemented from AEStatement.

virtual AEInsertDefaults* GetAsInsertDefaults (  )  [inline, virtual]

Get the statement as an AEInsertDefaults object.

Returns:
this object as an AEInsertDefaults 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.


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