casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::TableExprNodeOR Class Reference

Logical or in table select expression tree. More...

#include <ExprLogicNode.h>

Inheritance diagram for casa::TableExprNodeOR:
casa::TableExprNodeBinary casa::TableExprNodeRep

List of all members.

Public Member Functions

 TableExprNodeOR (const TableExprNodeRep &)
 ~TableExprNodeOR ()
Bool getBool (const TableExprId &id)
 Is the expression a column aggregate function?
void ranges (Block< TableExprRange > &)
 Convert the tree to a number of range vectors which at least select the same things.

Detailed Description

Logical or in table select expression tree.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

This class represents a logical or in a table select expression tree. This is defined for Bool only.

Definition at line 946 of file ExprLogicNode.h.


Constructor & Destructor Documentation


Member Function Documentation

Bool casa::TableExprNodeOR::getBool ( const TableExprId id) [virtual]

Is the expression a column aggregate function?

virtual Bool isAggregate() const; Get a scalar value for this node in the given row. The appropriate functions are implemented in the derived classes and will usually invoke the get in their children and apply the operator on the resulting values.

Reimplemented from casa::TableExprNodeRep.

Convert the tree to a number of range vectors which at least select the same things.

This function is very useful to convert the expression to some intervals covering the select expression. This can be used to do a rough fast selection via an index and do the the slower final selection on that much smaller subset. The function can only convert direct comparisons of columns with constants (via ==, !=, >, >=, < or <=) and their combinations using && or ||.

Reimplemented from casa::TableExprNodeRep.


The documentation for this class was generated from the following file: