AEMultiply Class Reference

A class that models the binary '*' (multiply) operator. More...

Inherits Simba::SQLEngine::AEBinaryValueExpr.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEMultiply (const AEMultiply &in_other)
 Copy constructor.
 AEMultiply (ICoercionHandler *in_coercionHandler, SharedPtr< AEValueExpr > in_leftOperand, SharedPtr< AEValueExpr > in_rightOperand)
 Constructor.
virtual AEMultiplyClone () const
 Creates a clone of this node object.
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 bool IsEquivalent (const AENode *in_another) const
 Tells whether two trees are equivalent.
virtual bool UpdateMetadata (Simba::SQLEngine::DSIExtDataEngineContext *in_deContext)
 Updates the SqlTypeMetadata* describing the column, if needed.
virtual ~AEMultiply ()
 Destructor.

Detailed Description

A class that models the binary '*' (multiply) operator.

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


Constructor & Destructor Documentation

AEMultiply ( ICoercionHandler in_coercionHandler,
SharedPtr< AEValueExpr in_leftOperand,
SharedPtr< AEValueExpr in_rightOperand 
)

Constructor.

Parameters:
in_coercionHandler The ICoercionHandler to use for handling custom coercions. (NOT OWN)
in_leftOperand The left operand.
in_rightOperand The right operand.
Exceptions:
SEInvalidArgumentException when either of the operands does not own an object.
SESqlErrorException when the left and right operands are incompatible SQL data types.
AEMultiply ( const AEMultiply in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AEBinaryValueExpr.

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.
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.
virtual bool IsEquivalent ( const AENode in_another  )  const [virtual]

Tells whether two trees are equivalent.

The binary expression (a * b) is equivalent to (a * b) and (b * a).

Parameters:
in_another The root of another tree. (NOT OWN)
Returns:
true if two trees are equivalent, false otherwise.
virtual bool UpdateMetadata ( Simba::SQLEngine::DSIExtDataEngineContext in_deContext  )  [virtual]

Updates the SqlTypeMetadata* describing the column, if needed.

Parameters:
in_deContext The current DataEngine context. (NOT OWN)
Returns:
true if the metadata was updated; false otherwise.

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