Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDBCompoundSelector


RWDBCompoundSelector RWDBSelectorBase

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/db/comsel.h>

RWDBSelector s1, s2;

RWDBCompoundSelector cs = s1 + s2;
RWDBCompoundSelector cs = s1 * s2
RWDBCompoundSelector cs = s1 - s2;

Description

Instances of this class are created as the result of the set operators Union, Intersection, or Difference applied to RWDBSelector.

RWDBSelector and RWDBCompoundSelector share the common base class RWDBSelectorBase.

Public Constructors

RWDBCompoundSelector(const RWDBCompoundSelector& csel);

Public Member Operator

RWDBCompoundSelector&
operator=(const RWDBCompoundSelector& csel);

Public Member Functions

RWCString
asString() const;
RWDBDatabase
database() const;
RWDBCompoundSelector&
difference(const RWDBSelectorBase& selector) const;
RWDBStatus::ErrorHandler
errorHandler() const;
RWDBResult
execute();
RWDBResult
execute(const RWDBConnection& connection);
RWDBCompoundSelector&
intersection(const RWDBSelectorBase& selector) const;
RWBoolean
isValid()const;
RWDBSelectorBase&
orderBy(const RWDBColumn& column);
RWDBSelectorBase&
orderBy(int columnNumber);
RWDBSelectorBase&
orderByClear();
RWDBSelectorBase&
orderByDescending(const RWDBColumn& column);
RWDBSelectorBase&
orderByDescending(int columnNumber);
RWDBReader
reader() const;
RWDBReader
reader(const RWDBConnection& connection) const;
void
setErrorHandler(RWDBStatus::ErrorHandler handler);
RWDBStatus
status() const;
virtual RWDBCompoundSelector&
union_(const RWDBSelectorBase& selector) const;
virtual RWDBCompoundSelector&
unionAll(const RWDBSelectorBase& selector) const;

Related Global Operators

RWDBCompoundSelector
operator+(const RWDBSelectorBase& left, 
          const RWDBSelectorBase& right);
RWDBCompoundSelector
operator-(const RWDBSelectorBase& left, 
          const RWDBSelectorBase& right); 
RWDBCompoundSelector
operator*(const RWDBSelectorBase& left,
          const RWDBSelectorBase& right);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.