Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWDBJoinExpr

Module:  DB Interface Module   Group:  Expression Classes


RWDBJoinExpr RWDBExpr

Local Index

Members

Non-Members

Synopsis

#include <rw/db/expr.h>

Description

RWDBJoinExpr is created by a set of global functions that generate ANSI SQL outer join syntax. It represents a specialized type of RWDBExpr that is used only for building outer join constructs.

Example

In this example, an RWDBJoinExpr is created anonymously by the related global function rwdbOuter(), and set as part of the FROM clause.

Related Classes

RWDBJoinExpr is a special case of RWDBExpr. See RWDBExpr for more details. Also see RWDBColumn.

Public Constructors

RWDBJoinExpr();
RWDBJoinExpr(const RWDBJoinExpr& jexpr);
RWDBJoinExpr(const RWDBExpr& expr1, const RWDBExpr& expr2,
             RWDBPhraseBook::RWDBPhraseKey op,
             RWDBPhraseBook::RWDBPhraseKey precdBegin = 
                 RWDBPhraseBook::singleSpace,
             RWDBPhraseBook::RWDBPhraseKey precdEnd = 
                 RWDBPhraseBook::singleSpace);

Public Member Operator

RWDBJoinExpr&
operator=(const RWDBJoinExpr& jexpr);

Public Member Functions

RWCString
asString(const RWDBPhraseBook&, 
         AsStringControlFlag = normal) const;
RWDBJoinExpr&
on(const RWDBColumn& column);
RWDBJoinExpr&
on(const RWDBCriterion& criterion);

Related Global Functions

RWDBJoinExpr
rwdbInner(const RWDBTable& table1, const RWDBTable& table2);
RWDBJoinExpr
rwdbInner(const RWDBTable& table, 
          const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbInner(const RWDBJoinExpr& jexpr, 
          const RWDBTable& table);
RWDBJoinExpr
rwdbInner(const RWDBJoinExpr& jexpr1, 
          const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbLeftOuter(const RWDBTable& table1, 
              const RWDBTable& table2);
RWDBJoinExpr
rwdbLeftOuter(const RWDBTable& table, 
              const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbLeftOuter(const RWDBJoinExpr& jexpr, 
              const RWDBTable& table);
RWDBJoinExpr
rwdbLeftOuter(const RWDBJoinExpr& jexpr1, 
              const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbRightOuter(const RWDBTable& table1, 
               const RWDBTable& table2);
RWDBJoinExpr
rwdbRightOuter(const RWDBTable& table, 
               const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbRightOuter(const RWDBJoinExpr& jexpr, 
               const RWDBTable& table);
RWDBJoinExpr
rwdbRightOuter(const RWDBJoinExpr& jexpr1, 
               const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbOuter(const RWDBTable& table1, const RWDBTable& table2);
RWDBJoinExpr
rwdbOuter(const RWDBTable& table, 
          const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbOuter(const RWDBJoinExpr& jexpr, 
          const RWDBTable& table);
RWDBJoinExpr
rwdbOuter(const RWDBJoinExpr& jexpr1, 
          const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbNaturalLeftOuter(const RWDBTable& table1, 
                     const RWDBTable& table2);
RWDBJoinExpr
rwdbNaturalLeftOuter(const RWDBTable& table, 
                     const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbNaturalLeftOuter(const RWDBJoinExpr& jexpr, 
                     const RWDBTable& table);
RWDBJoinExpr
rwdbNaturalLeftOuter(const RWDBJoinExpr& jexpr1, 
                     const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbNaturalRightOuter(const RWDBTable& table1, 
                      const RWDBTable& table2);
RWDBJoinExpr
rwdbNaturalRightOuter(const RWDBTable& table, 
                      const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbNaturalRightOuter(const RWDBJoinExpr& jexpr, 
                      const RWDBTable& table);
RWDBJoinExpr
rwdbNaturalRightOuter(const RWDBJoinExpr& jexpr1, 
                      const RWDBJoinExpr& jexpr2);
RWDBJoinExpr
rwdbNaturalOuter(const RWDBTable& table1, 
                 const RWDBTable& table2);
RWDBJoinExpr
rwdbNaturalOuter(const RWDBTable& table, 
                 const RWDBJoinExpr& jexpr);
RWDBJoinExpr
rwdbNaturalOuter(const RWDBJoinExpr& jexpr, 
                 const RWDBTable& table);
RWDBJoinExpr
rwdbNaturalOuter(const RWDBJoinExpr& jexpr1, 
                 const RWDBJoinExpr& jexpr2);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.