ibis::rangeJoin Class Reference

A join is defined by two names and a numerical expression. More...

#include <qExpr.h>

Inheritance diagram for ibis::rangeJoin:
ibis::qExpr

List of all members.

Public Member Functions

virtual rangeJoindup () const
const char * getName1 () const
const char * getName2 () const
const ibis::math::termgetRange () const
ibis::math::termgetRange ()
virtual uint32_t nItems () const
 Count the number of items in the query expression.
virtual void print (std::ostream &out) const
 Print out the node in the string form.
virtual void printFull (std::ostream &out) const
 Print out the full expression.
 rangeJoin (const char *n1, const char *n2, ibis::math::term *x)
 rangeJoin (const char *n1, const char *n2)
void setRange (ibis::math::term *t)

Detailed Description

A join is defined by two names and a numerical expression.

If the numerical expression is not specified, it is a standard equal-join, 'name1 = name2'. If the numerical expression is specified, it is a range-join, 'name1 between name2 - expr and name2 + expr'.


Member Function Documentation

void ibis::rangeJoin::print ( std::ostream &  out  )  const [virtual]

Print out the node in the string form.

The short-form of the print function.

It only prints information about the current node of the query expression tree.

Reimplemented from ibis::qExpr.

Referenced by printFull().

virtual void ibis::rangeJoin::printFull ( std::ostream &  out  )  const [inline, virtual]

Print out the full expression.

The long form of the print function.

It recursively prints out the whole query expression tree, which can be quite long.

Reimplemented from ibis::qExpr.

References print().


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

Make It A Bit Faster