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 (AutoPtr< AERelationalExpr > in_leftOperand, AutoPtr< AERelationalExpr > in_rightOperand, bool in_isAllOptPresent=false)
 Constructor.
virtual AEIntersectClone () const =0
 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.
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 ( AutoPtr< AERelationalExpr in_leftOperand,
AutoPtr< AERelationalExpr in_rightOperand,
bool  in_isAllOptPresent = false 
)

Constructor.

Parameters:
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 [pure 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.

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