AECountStarAggrFunction Class Reference

A class that models the Set Functions in SQL-92 (aka Aggregate Functions). More...

Inherits AETerminalExprT< AEValueExpr >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AECountStarAggrFunction (const AECountStarAggrFunction &in_other)
 Copy constructor.
 AECountStarAggrFunction ()
 Constructor.
virtual AECountStarAggrFunctionClone () const
 Creates a clone of this node object.
SEAggrFunctionID GetAggrFunctionID () const
 This method returns the aggregate function id.
virtual const
AECountStarAggrFunction
GetAsCountStarAggrFunction () const
 Get the object as an AECountStarAggrFunction object.
virtual AECountStarAggrFunctionGetAsCountStarAggrFunction ()
 Get the object as an AECountStarAggrFunction object.
virtual simba_wstring GetLogString () const
 Returns a string name for this node for the purpose of logging.
virtual SqlTypeMetadataGetMetadata () const
 Returns the SqlTypeMetadata associated with this aggregate function.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class. See the definition of AENodeType for values defined.
virtual ~AECountStarAggrFunction ()
 Destructor.

Detailed Description

A class that models the Set Functions in SQL-92 (aka Aggregate Functions).

Will always have no children (GetChildCount() returns 0).


Constructor & Destructor Documentation

Constructor.

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AEValueExpr.

SEAggrFunctionID GetAggrFunctionID (  )  const

This method returns the aggregate function id.

Returns:
The function id.
virtual const AECountStarAggrFunction* GetAsCountStarAggrFunction (  )  const [virtual]

Get the object as an AECountStarAggrFunction object.

Overrides the method defined in AEValueExpr.

Returns:
This object as an AECountStarAggrFunction object. (NOT OWN)

Reimplemented from AEValueExpr.

virtual AECountStarAggrFunction* GetAsCountStarAggrFunction (  )  [virtual]

Get the object as an AECountStarAggrFunction object.

Overrides the method defined in AEValueExpr.

Returns:
This object as an AECountStarAggrFunction object. (NOT OWN)

Reimplemented from AEValueExpr.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a string name for this node for the purpose of logging.

Exceptions:
SEInvalidArgumentException when m_functionID is an invalid function ID.
Returns:
A string representation of this node for logging purposes.

Implements AENode.

virtual SqlTypeMetadata* GetMetadata (  )  const [virtual]

Returns the SqlTypeMetadata associated with this aggregate function.

MAINTENANCE NOTE: This function is overridden from AEUnaryValueExpr because we are interested in the metadata of this aggregate function itself and not of its operand's metadata.

Returns:
The SqlTypeMetadata associated with this aggregate function. (NOT OWN)

Reimplemented from AEValueExpr.

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.


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