AEUnaryValueExpr Class Reference

an abstract base class for all unary operations. More...

Inherits AEUnaryExprT< AEValueExpr, AEValueExpr, SharedPtr< AEValueExpr > >.

Inherited by AEAggrFunction, AECustomAggregateFn, AENegate, and AERename.

List of all members.

Public Member Functions

virtual AEUnaryValueExprClone () const =0
 Creates a clone of this node object.
virtual const AEUnaryValueExprGetAsUnaryValueExpr () const
 Retrieve this node as an AEUnaryValueExpr node.
virtual AEUnaryValueExprGetAsUnaryValueExpr ()
 Retrieve this node as an AEUnaryValueExpr node.
virtual
Simba::DSI::DSICollatingCoercibility 
GetCollatingCoercibility () const
 Gets the collating coercibility of the column.
virtual SharedPtr
< Simba::DSI::ICollation
GetCollation () const
 Gets the collation of the column.
virtual const
Simba::DSI::DSIColumnMetadata
GetColumnMetadata () const
 Gets a reference to the DSIColumnMetadata describing the column.
virtual simba_uint32 GetColumnSize () const
 Returns the size for the column for character or binary data.
virtual SqlTypeMetadataGetMetadata () const
 Retrieves the metadata of the SQL type of this column.
virtual
Simba::DSI::DSIColumnSearchable 
GetSearchable () const
 Indicates how the column can be used in a WHERE clause.
virtual bool IsAutoUnique () const
 Indicates whether the column is auto-incrementing or not.
virtual bool IsCaseSensitive () const
 Indicates whether the column is case sensitive.
virtual Simba::DSI::DSINullable IsNullable () const
 Indicates whether the column may hold null data.
virtual bool IsUnaryValueExpr () const
 Determines if this is an AEUnaryValueExpr node.
virtual ~AEUnaryValueExpr ()
 Destructor.

Protected Member Functions

 AEUnaryValueExpr (const AEUnaryValueExpr &in_other)
 Copy constructor.
 AEUnaryValueExpr (SharedPtr< AEValueExpr > in_operand)
 Constructor.
 AEUnaryValueExpr ()
 Default constructor.

Detailed Description

an abstract base class for all unary operations.

A unary operation takes one value expressions as operands.


Constructor & Destructor Documentation

virtual ~AEUnaryValueExpr (  )  [virtual]

Destructor.

AEUnaryValueExpr (  )  [protected]

Default constructor.

AEUnaryValueExpr ( SharedPtr< AEValueExpr in_operand  )  [protected]

Constructor.

After a successful construction, this object has a shared pointer to the operand object passed in from the constructor. passed in from the constructor.

Parameters:
in_operand The operand.
Exceptions:
SEInvalidArgumentException when in_operand does not own an object.
AEUnaryValueExpr ( const AEUnaryValueExpr in_other  )  [protected]

Copy constructor.

Parameters:
in_other The other object to create copy from.

Member Function Documentation

virtual AEUnaryValueExpr* Clone (  )  const [pure virtual]

Creates a clone of this node object.

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

Implements AEValueExpr.

Implemented in AEAggrFunction, AECustomAggregateFn, AENegate, and AERename.

virtual const AEUnaryValueExpr* GetAsUnaryValueExpr (  )  const [virtual]

Retrieve this node as an AEUnaryValueExpr node.

Overrides the method defined in AEValueExpr. Sub-classes should not override it again.

Exceptions:
SEInvalidOperationException if this is not an AEUnaryValueExpr node.
Returns:
This node as an AEUnaryValueExpr node. (NOT OWN)

Reimplemented from AEValueExpr.

virtual AEUnaryValueExpr* GetAsUnaryValueExpr (  )  [virtual]

Retrieve this node as an AEUnaryValueExpr node.

Overrides the method defined in AEValueExpr. Sub-classes should not override it again.

Exceptions:
SEInvalidOperationException if this is not an AEUnaryValueExpr node.
Returns:
This node as an AEUnaryValueExpr node. (NOT OWN)

Reimplemented from AEValueExpr.

virtual Simba::DSI::DSICollatingCoercibility GetCollatingCoercibility (  )  const [virtual]

Gets the collating coercibility of the column.

Returns:
An enum that specifies the coercibility of the column.

Reimplemented from AEValueExpr.

virtual SharedPtr<Simba::DSI::ICollation> GetCollation (  )  const [virtual]

Gets the collation of the column.

Returns:
The collation of the column.

Reimplemented from AEValueExpr.

virtual const Simba::DSI::DSIColumnMetadata& GetColumnMetadata (  )  const [virtual]

Gets a reference to the DSIColumnMetadata describing the column.

Returns:
Reference to the DSIColumnMetadata describing the column.

Reimplemented from AEValueExpr.

Reimplemented in AEAggrFunction.

virtual simba_uint32 GetColumnSize (  )  const [virtual]

Returns the size for the column for character or binary data.

For character data, this size should be in terms of the number of characters, not the number of bytes. For example, VARCHAR(10) and NVARCHAR(10) would both correspond to size of 10, even if NVARCHAR used 2 bytes per character.

This method is not used for non-character/binary data types.

Returns:
The size for character or binary data.

Reimplemented from AEValueExpr.

Reimplemented in AEAggrFunction.

virtual SqlTypeMetadata* GetMetadata (  )  const [virtual]

Retrieves the metadata of the SQL type of this column.

Returns:
The type metadata of the column. (NOT OWN)

Reimplemented from AEValueExpr.

Reimplemented in AEAggrFunction, and AECustomAggregateFn.

virtual Simba::DSI::DSIColumnSearchable GetSearchable (  )  const [virtual]

Indicates how the column can be used in a WHERE clause.

Returns:
Searchability of the column.

Reimplemented from AEValueExpr.

virtual bool IsAutoUnique (  )  const [virtual]

Indicates whether the column is auto-incrementing or not.

Returns:
true if column is auto unique, false otherwise.

Reimplemented from AEValueExpr.

virtual bool IsCaseSensitive (  )  const [virtual]

Indicates whether the column is case sensitive.

Returns:
true if the column is case-sensitive, false otherwise.

Reimplemented from AEValueExpr.

virtual Simba::DSI::DSINullable IsNullable (  )  const [virtual]

Indicates whether the column may hold null data.

Returns:
true if the column is nullable, false otherwise.

Reimplemented from AEValueExpr.

virtual bool IsUnaryValueExpr (  )  const [virtual]

Determines if this is an AEUnaryValueExpr node.

Overrides the method defined in AEValueExpr. Sub-classes should not override it again.

Returns:
True always since this is an AEUnaryValueExpr node.

Reimplemented from AEValueExpr.


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