AENullPredicate Class Reference

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

Inherits AEUnaryExprT< AEBooleanExpr, AEValueList >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AENullPredicate (const AENullPredicate &in_other)
 Copy constructor.
 AENullPredicate (AutoPtr< AEValueList > in_valueList)
 Constructor.
virtual AENullPredicateClone () const
 Creates a clone of this node object.
virtual const AENullPredicateGetAsNullPredicate () const
 Retrieves the object as an AENullPredicate object.
virtual AENullPredicateGetAsNullPredicate ()
 Retrieves the object as an AENullPredicate object.
virtual simba_wstring GetLogString () const
 Returns a string name for this node for the purpose of logging.
virtual SqlTypeMetadataGetMetadata ()
 Get this nodes SqlTypeMetadata.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class.
virtual bool IsPredicate () const
 Determines if this is a predicate node.
 ~AENullPredicate ()
 Destructor.

Detailed Description

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

<null predicate> ::= <row value constructor> IS [ NOT ] NULL

For practical purpose, a <null predicate> is considered as a "unary" operation since it take a <value expression> as the only operand plus a [NOT] option.

Will always have one child (GetChildCount() returns 1):


Constructor & Destructor Documentation

AENullPredicate ( AutoPtr< AEValueList in_valueList  ) 

Constructor.

Parameters:
in_valueList A row value list.
AENullPredicate ( const AENullPredicate in_other  ) 

Copy constructor.

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

Parameters:
in_other The other node to create copy from.
~AENullPredicate (  ) 

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 AENullPredicate* Clone (  )  const [virtual]

Creates a clone of this node object.

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

Implements AEBooleanExpr.

virtual const AENullPredicate* GetAsNullPredicate (  )  const [virtual]

Retrieves the object as an AENullPredicate object.

Overrides the method defined in AEBooleanExpr.

Returns:
this object as an AENullPredicate object. (NOT OWN)

Reimplemented from AEBooleanExpr.

virtual AENullPredicate* GetAsNullPredicate (  )  [virtual]

Retrieves the object as an AENullPredicate object.

Overrides the method defined in AEBooleanExpr.

Returns:
this object as an AENullPredicate object. (NOT OWN)

Reimplemented from AEBooleanExpr.

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 SqlTypeMetadata* GetMetadata (  )  [virtual]

Get this nodes SqlTypeMetadata.

Returns:
The SqlTypeMetadata for this boolean expression node. (NOT OWN)

Reimplemented from AEBooleanExpr.

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 bool IsPredicate (  )  const [virtual]

Determines if this is a predicate node.

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

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

Reimplemented from AEBooleanExpr.


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