AEColumnInfo Class Reference

A container class that encapsulates information for a column. More...

List of all members.

Public Member Functions

 AEColumnInfo (AENamedRelationalExpr *in_namedRelExpr, simba_uint16 in_columnNum)
 Constructor.
 AEColumnInfo ()
 Default constructor.
bool IsValid () const
 Tells whether the information contained in this object is valid or not.

Public Attributes

simba_uint16 m_columnNumInMaterializedRelExpr
 The column number in m_materializedRelExpr.
simba_uint16 m_columnNumInNamedRelExpr
 The column number in m_namedRelExpr.
bool m_isOuterRef
 Whether this is an outer reference. The default is false.
ETRelationalExprm_materializedRelExpr
AENamedRelationalExprm_namedRelExpr
 The named relational expression to which the column references. (NOT OWN).
AEQueryScope * m_qsResolved
 The query scope to which the column is resolved. (NOT OWN).

Detailed Description

A container class that encapsulates information for a column.

USAGE NOTE: The m_qsResolved field of this class merely serves as an identifier after an AET is built. Do _NOT_ try to use the pointer as an object since the object was created on the stack and is destroyed.


Constructor & Destructor Documentation

AEColumnInfo (  )  [inline]

Default constructor.

AEColumnInfo ( AENamedRelationalExpr in_namedRelExpr,
simba_uint16  in_columnNum 
) [inline]

Constructor.

Parameters:
in_namedRelExpr The named relational expression. Cannot be NULL. (NOT OWN)
in_columnNum The column number.
Exceptions:
SEInvalidArgumentException if in_namedExpr is NULL

Member Function Documentation

bool IsValid (  )  const [inline]

Tells whether the information contained in this object is valid or not.

It is valid if all of the followings are true,

  • m_qsResolved is not NULL
  • m_namedRelExpr is not NULL
  • m_columnNum is not equal to SE_INVALID_COLUMN_NUMBER
Returns:
true if valid, false otherwise.

Member Data Documentation

The column number in m_materializedRelExpr.

The column number in m_namedRelExpr.

Whether this is an outer reference. The default is false.

The materialized relational expression that this column references. (NOT OWN)

MAINTENANCE NOTE: If this is present, it supersets m_relExpr during the materialization.

The named relational expression to which the column references. (NOT OWN).

AEQueryScope* m_qsResolved

The query scope to which the column is resolved. (NOT OWN).


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