/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
DbiResultNonAgg Class Reference

#include <DbiResultNonAgg.h>

Inheritance diagram for DbiResultNonAgg:
Inheritance graph
[legend]
Collaboration diagram for DbiResultNonAgg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DbiResultNonAgg (DbiResultSet *resultSet=0, const DbiTableRow *tableRow=0, const DbiValidityRec *vrec=0, Bool_t dropSeqNo=kTRUE, const string &sqlQualifiers="")
virtual ~DbiResultNonAgg ()
virtual DbiResultKeyCreateKey () const
virtual UInt_t GetNumAggregates () const
virtual UInt_t GetNumRows () const
virtual const DbiTableRowGetTableRow (UInt_t rowNum) const
virtual const DbiTableRowGetTableRowByIndex (UInt_t index) const
virtual Bool_t Owns (const DbiTableRow *row) const
Bool_t Satisfies (const DbiValidityRec &vrec, const string &sqlQualifiers="")
virtual void Streamer (DbiBinaryFile &file)
virtual Bool_t CanReuse () const
virtual Bool_t CanSave () const
virtual void Connect () const
virtual void Disconnect () const
const DbiExceptionLogGetExceptionLog () const
Int_t GetID () const
virtual const DbiResultKeyGetKey () const
virtual UInt_t GetNumClients () const
const string & GetSqlQualifiers () const
virtual const DbiValidityRecGetValidityRec (const DbiTableRow *=0) const
virtual const DbiValidityRecGetValidityRecGlobal () const
Bool_t IsExtendedContext () const
Bool_t ResultsFromDb () const
virtual const string & TableName () const
void CaptureExceptionLog (UInt_t startFrom)
virtual Bool_t CanDelete (const DbiResult *res=0)
 Return true if no clients and unlikely to be reused.
virtual Bool_t Satisfies (const Context &vc, const Dbi::SubSite &subsite, const Dbi::Task &task)
 All DbiResult classes can satisfy this type of primary query so impliment here.
virtual Bool_t Satisfies (const string &)
 Not all DbiResult classes can satisfy these types of query so those that do must override.
virtual void DeRegisterKey ()
 Key handling.
virtual void RegisterKey ()
virtual void SetCanReuse (Bool_t reuse)

Protected Member Functions

void SetResultsFromDb ()
void BuildLookUpTable () const
Bool_t LookUpBuilt () const
virtual void SetTableName (const string &tableName)
virtual void SetValidityRec (const DbiValidityRec &vRec)

Private Member Functions

void DebugCtor () const

Private Attributes

std::vector< DbiTableRow * > fRows
 Set of table rows eqv. to ResultSet.
char * fBuffer
 Not null only if table rows read from BinaryFile.

Detailed Description

Id:
DbiResultNonAgg.h,v 1.16 2006/08/08 10:51:32 west Exp

Definition at line 38 of file DbiResultNonAgg.h.


Constructor & Destructor Documentation

DbiResultNonAgg::DbiResultNonAgg ( DbiResultSet resultSet = 0,
const DbiTableRow tableRow = 0,
const DbiValidityRec vrec = 0,
Bool_t  dropSeqNo = kTRUE,
const string &  sqlQualifiers = "" 
)
virtual DbiResultNonAgg::~DbiResultNonAgg ( ) [virtual]

Member Function Documentation

virtual DbiResultKey* DbiResultNonAgg::CreateKey ( ) const [virtual]

Implements DbiResult.

virtual UInt_t DbiResultNonAgg::GetNumAggregates ( ) const [inline, virtual]

Implements DbiResult.

Definition at line 60 of file DbiResultNonAgg.h.

{ return 1; }
virtual UInt_t DbiResultNonAgg::GetNumRows ( ) const [inline, virtual]

Implements DbiResult.

Definition at line 61 of file DbiResultNonAgg.h.

                                                  { 
                                                  return fRows.size(); }
virtual const DbiTableRow* DbiResultNonAgg::GetTableRow ( UInt_t  rowNum) const [virtual]

Implements DbiResult.

virtual const DbiTableRow* DbiResultNonAgg::GetTableRowByIndex ( UInt_t  index) const [virtual]

Reimplemented from DbiResult.

virtual Bool_t DbiResultNonAgg::Owns ( const DbiTableRow row) const [virtual]

Reimplemented from DbiResult.

Bool_t DbiResultNonAgg::Satisfies ( const DbiValidityRec vrec,
const string &  sqlQualifiers = "" 
) [virtual]

Reimplemented from DbiResult.

virtual void DbiResultNonAgg::Streamer ( DbiBinaryFile file) [virtual]

Reimplemented from DbiResult.

void DbiResultNonAgg::DebugCtor ( ) const [private]
virtual Bool_t DbiResult::CanReuse ( ) const [inline, virtual, inherited]

Definition at line 61 of file DbiResult.h.

{ return fCanReuse; }
virtual Bool_t DbiResult::CanSave ( ) const [inline, virtual, inherited]

Definition at line 62 of file DbiResult.h.

{ return kTRUE; }
virtual void DbiResult::Connect ( ) const [inline, virtual, inherited]

Definition at line 63 of file DbiResult.h.

{ ++fNumClients; }
virtual void DbiResult::Disconnect ( ) const [inline, virtual, inherited]

Definition at line 65 of file DbiResult.h.

{ --fNumClients; } 
const DbiExceptionLog& DbiResult::GetExceptionLog ( ) const [inline, inherited]

Definition at line 66 of file DbiResult.h.

{ return fExceptionLog; }
Int_t DbiResult::GetID ( ) const [inline, inherited]

Definition at line 67 of file DbiResult.h.

{ return fID; }
virtual const DbiResultKey* DbiResult::GetKey ( ) const [virtual, inherited]
virtual UInt_t DbiResult::GetNumClients ( ) const [inline, virtual, inherited]

Definition at line 70 of file DbiResult.h.

                                                     { 
                                                   return fNumClients; }
const string& DbiResult::GetSqlQualifiers ( ) const [inline, inherited]

Definition at line 73 of file DbiResult.h.

{ return fSqlQualifiers; }
virtual const DbiValidityRec& DbiResult::GetValidityRec ( const DbiTableRow = 0) const [inline, virtual, inherited]

Reimplemented in DbiResultAgg.

Definition at line 76 of file DbiResult.h.

                                                                  { 
                                        return GetValidityRecGlobal(); }
virtual const DbiValidityRec& DbiResult::GetValidityRecGlobal ( ) const [inline, virtual, inherited]

Definition at line 79 of file DbiResult.h.

                                                            { 
                                                      return fEffVRec; }
Bool_t DbiResult::IsExtendedContext ( ) const [inline, inherited]

Definition at line 81 of file DbiResult.h.

                                                         { 
                                       return this->GetSqlQualifiers() != ""; }
Bool_t DbiResult::ResultsFromDb ( ) const [inline, inherited]

Definition at line 84 of file DbiResult.h.

{ return fResultsFromDb; }
virtual const string& DbiResult::TableName ( ) const [inline, virtual, inherited]

Definition at line 85 of file DbiResult.h.

{ return fTableName; }
void DbiResult::CaptureExceptionLog ( UInt_t  startFrom) [inherited]
virtual Bool_t DbiResult::CanDelete ( const DbiResult res = 0) [virtual, inherited]

Return true if no clients and unlikely to be reused.

virtual Bool_t DbiResult::Satisfies ( const Context vc,
const Dbi::SubSite subsite,
const Dbi::Task task 
) [virtual, inherited]

All DbiResult classes can satisfy this type of primary query so impliment here.

virtual Bool_t DbiResult::Satisfies ( const string &  ) [inline, virtual, inherited]

Not all DbiResult classes can satisfy these types of query so those that do must override.

Reimplemented in DbiResultAgg.

Definition at line 100 of file DbiResult.h.

{return kFALSE;}
virtual void DbiResult::DeRegisterKey ( ) [virtual, inherited]

Key handling.

virtual void DbiResult::RegisterKey ( ) [virtual, inherited]
virtual void DbiResult::SetCanReuse ( Bool_t  reuse) [inline, virtual, inherited]

Definition at line 109 of file DbiResult.h.

{ fCanReuse = reuse ; }
void DbiResult::SetResultsFromDb ( ) [inline, protected, inherited]

Definition at line 112 of file DbiResult.h.

{ fResultsFromDb = kTRUE; }
void DbiResult::BuildLookUpTable ( ) const [protected, inherited]
Bool_t DbiResult::LookUpBuilt ( ) const [inline, protected, inherited]

Definition at line 117 of file DbiResult.h.

{ return fIndexKeys.size() > 0; } 
virtual void DbiResult::SetTableName ( const string &  tableName) [inline, protected, virtual, inherited]

Definition at line 121 of file DbiResult.h.

                                                     { 
                                               fTableName = tableName; }
virtual void DbiResult::SetValidityRec ( const DbiValidityRec vRec) [inline, protected, virtual, inherited]

Definition at line 123 of file DbiResult.h.

                                                          { 
                                                      fEffVRec = vRec; }

Member Data Documentation

std::vector<DbiTableRow*> DbiResultNonAgg::fRows [private]

Set of table rows eqv. to ResultSet.

Definition at line 80 of file DbiResultNonAgg.h.

char* DbiResultNonAgg::fBuffer [private]

Not null only if table rows read from BinaryFile.

Definition at line 83 of file DbiResultNonAgg.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4