AEQuantifiedComparison Class Reference

This class models the <quantified comparison predicate> in the SQL-92: More...

Inherits Simba::SQLEngine::AEBinaryExprT< AEBooleanExpr,AEValueList,AERelationalExpr >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEQuantifiedComparison (const AEQuantifiedComparison &in_other)
 Copy constructor.
 AEQuantifiedComparison (DSIExtDataEngineContext *in_deContext, SEComparisonType in_compOp, SEQuantifierType in_quantifierType, AutoPtr< AEValueList > in_leftOperand, AutoPtr< AERelationalExpr > in_rightOperand)
 Constructor.
virtual AEQuantifiedComparisonClone () const
 Creates a clone of this node object.
virtual const
AEQuantifiedComparison
GetAsQuantifiedComparison () const
 Retrieves the object as an AEQuantifiedComparison object.
virtual AEQuantifiedComparisonGetAsQuantifiedComparison ()
 Retrieves the object as an AEQuantifiedComparison object.
SEComparisonType GetComparisonOp () const
 Returns an integer ID that uniquely identifies the comparison 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.
SEQuantifierType GetQuantifierType () const
 Returns an integer ID that uniquely identifies the quantifier type.
virtual bool IsPredicate () const
 Determines if this is a predicate node.
virtual ~AEQuantifiedComparison ()
 Destructor.

Detailed Description

This class models the <quantified comparison predicate> in the SQL-92:

<quantified comparison predicate> ::= <row value constructor> <comp op> <quantifier> <table subquery>

<quantifier> ::= ALL | SOME | ANY

Only ALL and ANY are currently supported.

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


Constructor & Destructor Documentation

AEQuantifiedComparison ( DSIExtDataEngineContext in_deContext,
SEComparisonType  in_compOp,
SEQuantifierType  in_quantifierType,
AutoPtr< AEValueList in_leftOperand,
AutoPtr< AERelationalExpr in_rightOperand 
)

Constructor.

Parameters:
in_deContext The DataEngine context for the statement. (NOT OWN)
in_compOp Comparison operation. See definition of SEComparisonType.
in_quantifierType The quantifier type. See definition of SEQuantifierType.
in_leftOperand The left operand. (A row value constructor list)
in_rightOperand The right operand. (A table subquery)
AEQuantifiedComparison ( const AEQuantifiedComparison in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

Returns:
A clone of this node object. (OWN)
virtual const AEQuantifiedComparison* GetAsQuantifiedComparison (  )  const [virtual]

Retrieves the object as an AEQuantifiedComparison object.

Overrides the method defined in AEBooleanExpr.

Returns:
this object as an AEQuantifiedComparison object. (NOT OWN)
virtual AEQuantifiedComparison* GetAsQuantifiedComparison (  )  [virtual]

Retrieves the object as an AEQuantifiedComparison object.

Overrides the method defined in AEBooleanExpr.

Returns:
this object as an AEQuantifiedComparison object. (NOT OWN)
SEComparisonType GetComparisonOp (  )  const

Returns an integer ID that uniquely identifies the comparison operation.

See definition of SEComparisonType.

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.
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.
SEQuantifierType GetQuantifierType (  )  const

Returns an integer ID that uniquely identifies the quantifier type.

See definition of SEQuantifierType.

virtual bool IsPredicate (  )  const [virtual]

Determines if this is a predicate node.

This default implementation always returns false. All predicate nodes must override it.

Returns:
True if this is a predicate node, false otherwise.

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