AEIntersect Class Reference

This class models the standard intersect relational operation: R1 R2. More...

Inherits Simba::SQLEngine::AESetOperation.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEIntersect (const AEIntersect &in_other)
 Copy constructor.
 AEIntersect (ICoercionHandler &in_coercionHandler, AutoPtr< AERelationalExpr > in_leftOperand, AutoPtr< AERelationalExpr > in_rightOperand, bool in_isAllOptPresent=false)
 Constructor.
virtual AEIntersectClone () const
 Creates a clone of this node object.
virtual const AEIntersectGetAsIntersect () const
 Retrieves the object as an AEIntersect object.
virtual AEIntersectGetAsIntersect ()
 Retrieves the object as an AEIntersect object.
virtual Simba::DSI::IColumnGetColumn (simba_uint16 in_columnNum)
 Gets 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.
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 ~AEIntersect ()
 Destructor.

Detailed Description

This class models the standard intersect relational operation: R1 R2.

Semantically, an AEUnion object represents a <query term> INTERSECT [ALL] <query primary> construct (INTERSECT construct hereafter) in the SQL-92 Spec. Similar to AEUnion, this class differs from an INTERSECT construct with regarding to how coercions rules should be applied.

The coercion rules are yet to be investigated.

NOTE: This operation is currently not supported by the parser.

Will always have two children (GetChildCount() returns 2):


Constructor & Destructor Documentation

AEIntersect ( ICoercionHandler in_coercionHandler,
AutoPtr< AERelationalExpr in_leftOperand,
AutoPtr< AERelationalExpr in_rightOperand,
bool  in_isAllOptPresent = false 
)

Constructor.

Parameters:
in_coercionHandler The ICoercionHandler for handling custom coercions.
in_leftOperand The left operand.
in_rightOperand The right operand.
in_isAllOptPresent Indicates whether the ALL keyword is present.
AEIntersect ( const AEIntersect in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AESetOperation.

virtual const AEIntersect* GetAsIntersect (  )  const [virtual]

Retrieves the object as an AEIntersect object.

Overrides the method defined in AERelationalExpr.

Returns:
this object always. (NOT OWN)

Reimplemented from AERelationalExpr.

virtual AEIntersect* GetAsIntersect (  )  [virtual]

Retrieves the object as an AEIntersect object.

Overrides the method defined in AERelationalExpr.

Returns:
this object always. (NOT OWN)

Reimplemented from AERelationalExpr.

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

Gets 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.

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 Fri Jan 19 17:32:35 2018 for SimbaEngine 10.1.5.1031 by simba