AEModifiedRows Class Reference

The AEModifiedRows class models the ODBC 4.0 'return' escape clause, which returns the rows Inserted, Updated, or Deleted from a DML sub-statement. More...

Inherits AEBinaryExprT< AEStatement, AEValueList, AERowCountStatement >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEModifiedRows (const AEModifiedRows &in_other)
 Copy constructor.
 AEModifiedRows (AutoPtr< AEValueList > in_selectedColumns, AutoPtr< AERowCountStatement > in_dmlStatement)
 Constructor.
virtual AEModifiedRowsClone () const
 Creates a clone of this node object.
virtual const AEModifiedRowsGetAsModifiedRows () const
 Get the statement as an AEModifiedRows object.
virtual AEModifiedRowsGetAsModifiedRows ()
 Get the statement as an AEModifiedRows 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.
SharedPtr< DSIExtResultSetGetTargetTable () const
 Get the table which is being modified.
virtual ~AEModifiedRows ()
 Destructor.

Static Public Member Functions

static std::vector< simba_uint16 > ColumnsToIndices (AEValueList &in_columns)
 Convert an AEValueList of AEColumns to a vector of column indices.

Detailed Description

The AEModifiedRows class models the ODBC 4.0 'return' escape clause, which returns the rows Inserted, Updated, or Deleted from a DML sub-statement.


Constructor & Destructor Documentation

AEModifiedRows ( AutoPtr< AEValueList in_selectedColumns,
AutoPtr< AERowCountStatement in_dmlStatement 
)

Constructor.

Parameters:
in_selectecColumns The columns to return from the statement. Each column must be from the unique table which is being modified by in_dmlStatement.
in_dmlStatement The DML statement to wrap. Must be either an Insert, Update, or Delete statement.
AEModifiedRows ( const AEModifiedRows in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AENode.

static std::vector<simba_uint16> ColumnsToIndices ( AEValueList in_columns  )  [static]

Convert an AEValueList of AEColumns to a vector of column indices.

Parameters:
in_columns An AEValueList containing AEColumns.
Returns:
A vector of column indices derived from the given AEColumns.
virtual const AEModifiedRows* GetAsModifiedRows (  )  const [inline, virtual]

Get the statement as an AEModifiedRows object.

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

Reimplemented from AEStatement.

virtual AEModifiedRows* GetAsModifiedRows (  )  [inline, virtual]

Get the statement as an AEModifiedRows object.

Returns:
this object as an AEModifiedRows 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<DSIExtResultSet> GetTargetTable (  )  const

Get the table which is being modified.

Returns:
The table which is being modified.

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