AETableConstructor Class Reference

This class models a <table value constructor>. More...

Inherits AEUnaryExprT< AERelationalExpr, AEValueList >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AETableConstructor (const AETableConstructor &in_other)
 Copy constructor.
 AETableConstructor (AutoPtr< AEValueList > in_rowValueList)
 Constructor.
virtual AETableConstructorClone () const
 Creates a clone of this node object.
virtual const AETableConstructorGetAsTableConstructor () const
 Retrieves the object as an AETableConstructor object.
virtual AETableConstructorGetAsTableConstructor ()
 Retrieves the object as an AETableConstructor object.
virtual Simba::DSI::IColumnGetColumn (simba_uint16 in_columnNum)
 Retrieves the column metadata for the given column.
virtual simba_uint16 GetColumnCount ()
 Returns the number of columns in this query operation.
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 void SetDataNeeded (simba_uint16 in_column, bool in_isNeeded)
 Indicates whether RetrieveData(...) might be called on the given column. This applies to any subsequent Move(...) calls.
virtual void Validate ()
 Validates the node.
virtual ~AETableConstructor ()
 Destructor.

Detailed Description

This class models a <table value constructor>.

In the SQL-92 specification, this corresponds to Section 7.2.

An AETableConstructor models a table whose rows are composed of a list of row value constructor specifications.

Will always have one child (GetChildCount() returns 1):


Constructor & Destructor Documentation

AETableConstructor ( AutoPtr< AEValueList in_rowValueList  ) 

Constructor.

Parameters:
in_rowValueList The list of row value constructors.
AETableConstructor ( const AETableConstructor in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AERelationalExpr.

virtual const AETableConstructor* GetAsTableConstructor (  )  const [virtual]

Retrieves the object as an AETableConstructor object.

Overrides the method defined in AERelationalExpr.

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

Reimplemented from AERelationalExpr.

virtual AETableConstructor* GetAsTableConstructor (  )  [virtual]

Retrieves the object as an AETableConstructor object.

Overrides the method defined in AERelationalExpr.

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

Reimplemented from AERelationalExpr.

virtual Simba::DSI::IColumn* GetColumn ( simba_uint16  in_columnNum  )  [virtual]

Retrieves the column metadata for the given column.

Parameters:
in_columnNum The zero-base column index.
Exceptions:
SEInvalidArgumentException when the given column number is invalid
Returns:
the column metadata for the given column (NOT OWN)

Implements AEQueryOperation.

virtual simba_uint16 GetColumnCount (  )  [virtual]

Returns the number of columns in this query operation.

Returns:
The number of columns in this query operation.

Implements AEQueryOperation.

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.

virtual void SetDataNeeded ( simba_uint16  in_column,
bool  in_isNeeded 
) [virtual]

Indicates whether RetrieveData(...) might be called on the given column. This applies to any subsequent Move(...) calls.

Parameters:
in_column A zero-based column index.
in_isNeeded Indicates whether data may be retrieved from the given column by the ODBC layer or not.
Exceptions:
SEInvalidArgumentException if in_column is invalid.

Implements AERelationalExpr.

virtual void Validate (  )  [virtual]

Validates the node.

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