AEQuery Class Reference

The AEQuery class models the <direct select statement: multiple rows> statement in section 20.2 of the SQL-92 spec. More...

Inherits AEUnaryExprT< AEStatement, AEQueryOperation >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEQuery (const AEQuery &in_other)
 Copy constructor.
 AEQuery (AutoPtr< AEQueryOperation > in_expr)
 Constructor.
virtual AEQueryClone () const
 Creates a clone of this node object.
AutoPtr< Simba::DSI::IColumnsCreateResultSetColumns ()
 Creates the columns of the result set for the query operation.
virtual const AEQueryGetAsQuery () const
 Gets the statement as an AEQuery object.
virtual AEQueryGetAsQuery ()
 Gets the statement as an AEQuery 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.
void UpdateResultSetColumns (Simba::DSI::IColumns *in_columns)
 Update the result set columns previous created by this object.
virtual void Validate ()
 Validates the node.
virtual ~AEQuery ()
 Destructor.

Detailed Description

The AEQuery class models the <direct select statement: multiple rows> statement in section 20.2 of the SQL-92 spec.


Constructor & Destructor Documentation

AEQuery ( AutoPtr< AEQueryOperation in_expr  ) 

Constructor.

Parameters:
in_expr an expression object that represents the query
AEQuery ( const AEQuery in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AENode.

AutoPtr<Simba::DSI::IColumns> CreateResultSetColumns (  ) 

Creates the columns of the result set for the query operation.

Returns:
The columns of the result set for the query operation. (OWN)
virtual const AEQuery* GetAsQuery (  )  const [virtual]

Gets the statement as an AEQuery object.

Overrides the method defined in AEStatement.

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

Reimplemented from AEStatement.

virtual AEQuery* GetAsQuery (  )  [virtual]

Gets the statement as an AEQuery object.

Overrides the method defined in AEStatement.

Returns:
This object as an AEQuery 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.

void UpdateResultSetColumns ( Simba::DSI::IColumns in_columns  ) 

Update the result set columns previous created by this object.

NOTE: The columns passed in must be previously created by this object.

Parameters:
in_columns The result set columns previous created. Cannot be NULL. (NOT OWN)
virtual void Validate (  )  [virtual]

Validates the node.

This method should be called after any structural changes in the AET.

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:17 2017 for SimbaEngine 10.1.3.1011 by simba