AESearchedUpdate Class Reference

The AESearchedUpdate class models the <update statement: searched> statement in section 13.10 of the SQL-92 spec. More...

Inherits AETernaryExprT< AERowCountStatement, AETable, AESetClauseList, AEBooleanExpr >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AESearchedUpdate (const AESearchedUpdate &in_other)
 Copy constructor.
 AESearchedUpdate (AutoPtr< AETable > in_operand, AutoPtr< AESetClauseList > in_setClauseList, AutoPtr< AEBooleanExpr > in_updateCond)
 Constructor.
virtual AESearchedUpdateClone () const
 Creates a clone of this node object.
virtual const AESearchedUpdateGetAsSearchedUpdate () const
 Gets the statement as an AESearchedUpdate object.
virtual AESearchedUpdateGetAsSearchedUpdate ()
 Gets the statement as an AESearchedUpdate 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.
virtual ~AESearchedUpdate ()
 Destructor.

Detailed Description

The AESearchedUpdate class models the <update statement: searched> statement in section 13.10 of the SQL-92 spec.

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

UPDATE T SET T.C1 = val1, T.C2 = val2 WHERE cond

It is apparent that an UPDATE operation only affects the set of rows returned.


Constructor & Destructor Documentation

AESearchedUpdate ( AutoPtr< AETable in_operand,
AutoPtr< AESetClauseList in_setClauseList,
AutoPtr< AEBooleanExpr in_updateCond 
)

Constructor.

The ownerships of the operand object, the set clause object, and the update condition object passed in through the constructor are transferred to this object.

Parameters:
in_operand The table operand.
in_setClauseList The set clause list.
in_updateCond The update condition boolean expression.
Exceptions:
SEInvalidArgumentException when either in_operand or in_updateCond does not own an appropriate object.
AESearchedUpdate ( const AESearchedUpdate in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AERowCountStatement.

virtual const AESearchedUpdate* GetAsSearchedUpdate (  )  const [inline, virtual]

Gets the statement as an AESearchedUpdate object.

Returns:
This object as an AESearchedUpdate object. (NOT OWN)

Reimplemented from AEStatement.

virtual AESearchedUpdate* GetAsSearchedUpdate (  )  [inline, virtual]

Gets the statement as an AESearchedUpdate object.

Returns:
This object as an AESearchedUpdate 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:17 2017 for SimbaEngine 10.1.3.1011 by simba