A join is defined by two names and a numerical expression. More...
#include <qExpr.h>
Public Member Functions | |
deprecatedJoin (const char *n1, const char *n2) | |
deprecatedJoin (const char *n1, const char *n2, ibis::math::term *x) | |
virtual deprecatedJoin * | dup () const |
const char * | getName1 () const |
const char * | getName2 () const |
ibis::math::term * | getRange () |
const ibis::math::term * | getRange () const |
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. | |
void | setRange (ibis::math::term *t) |
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'.
void ibis::deprecatedJoin::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::deprecatedJoin::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().
![]() |