/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 | Friends
DbiTableProxy Class Reference

#include <DbiTableProxy.h>

Collaboration diagram for DbiTableProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const DbiDBProxyGetDBProxy () const
DbiCascaderGetCascader ()
const DbiTableMetaDataGetMetaData () const
const DbiTableMetaDataGetMetaValid () const
string GetRowName () const
string GetTableName () const
string GetExtraCondition () const
DbiCacheGetCache ()
const DbiValidityRecBuilderMakeValidityRecBuilder (const string &context, const Dbi::SubSite &subsite, const Dbi::Task &task)
const DbiValidityRecLastValidityRec (const string &context, const Dbi::SubSite &subsite, const Dbi::Task &task)
const DbiValidityRecFirstValidityRec (const string &context, const Dbi::SubSite &subsite, const Dbi::Task &task)
const DbiValidityRecValidityRec (const string &context, const Dbi::SubSite &subsite, const Dbi::Task &task, Int_t n)
const DbiResultQuery (const Context &vc, const Dbi::SubSite &subsite, const Dbi::Task &task, Bool_t findFullTimeWindow=true)
const DbiResultQuery (const string &context, const Dbi::SubSite &subsite, const Dbi::Task &task, const string &data, const string &fillOpts)
const DbiResultQuery (UInt_t seqNo, UInt_t dbNo)
const DbiResultQuery (const DbiValidityRec &vrec, Bool_t canReuse=kTRUE)
TimeStamp QueryOverlayVersionDate (const DbiValidityRec &vrec, UInt_t dbNo, Bool_t timeStartFloored=kFALSE)
void RefreshMetaData ()
void SetSqlCondition (const string &sql)
void SetOverlayOffsetSeconds (UInt_t secs)
UInt_t GetOverlayOffsetSeconds ()
Bool_t TableExists () const

Protected Member Functions

 DbiTableProxy (DbiCascader *cascader, const string &tableName, const string &vldSuffix, const DbiTableRow *tableRow)
virtual ~DbiTableProxy ()

Private Member Functions

 DbiTableProxy (const DbiTableProxy &)
DbiTableProxyoperator= (const DbiTableProxy &)
Bool_t CanReadL2Cache () const
Bool_t CanWriteL2Cache () const
Bool_t RestoreFromL2Cache (const DbiValidityRecBuilder &builder)
Bool_t SaveToL2Cache (const string &name, DbiResult &res)

Private Attributes

DbiCascaderfCascader
 Pointer to one and only cascader.
DbiTableMetaData fMetaData
 Meta data for main(data) table.
DbiTableMetaData fMetaValid
 Meta data for aux. (validity)table.
Bool_t fCanL2Cache
 True if row supports L2 cache.
DbiCachefCache
 Associated cache for result.
DbiDBProxy fDBProxy
 Proxy to database.
Bool_t fExists
 true if table exists;
string fTableName
 Table Name.
DbiTableRowfTableRow
 Pet object used to create new rows.
UInt_t fOverlayOffsetSeconds
 seconds of offset used for overlay versioning

Friends

class DbiTableProxyRegistry

Detailed Description

Id:
DbiTableProxy.h,v 1.25 2006/08/08 10:51:32 west Exp

Definition at line 44 of file DbiTableProxy.h.


Constructor & Destructor Documentation

DbiTableProxy::DbiTableProxy ( DbiCascader cascader,
const string &  tableName,
const string &  vldSuffix,
const DbiTableRow tableRow 
) [protected]
virtual DbiTableProxy::~DbiTableProxy ( ) [protected, virtual]
DbiTableProxy::DbiTableProxy ( const DbiTableProxy ) [private]

Member Function Documentation

const DbiDBProxy& DbiTableProxy::GetDBProxy ( ) const [inline]

Definition at line 52 of file DbiTableProxy.h.

{ return fDBProxy; }
DbiCascader& DbiTableProxy::GetCascader ( ) [inline]

Definition at line 53 of file DbiTableProxy.h.

{ return *fCascader; }
const DbiTableMetaData& DbiTableProxy::GetMetaData ( ) const [inline]

Definition at line 54 of file DbiTableProxy.h.

{ return fMetaData; }
const DbiTableMetaData& DbiTableProxy::GetMetaValid ( ) const [inline]

Definition at line 55 of file DbiTableProxy.h.

{ return fMetaValid; }
string DbiTableProxy::GetRowName ( ) const [inline]

Definition at line 56 of file DbiTableProxy.h.

                                           { 
                      return fTableRow ? fTableRow->name() : "Unknown";}
string DbiTableProxy::GetTableName ( ) const [inline]

Definition at line 58 of file DbiTableProxy.h.

{ return fTableName;}
string DbiTableProxy::GetExtraCondition ( ) const [inline]

Definition at line 59 of file DbiTableProxy.h.

{ return fTableRow ? fTableRow->GetExtraCondition() : "" ; }
DbiCache* DbiTableProxy::GetCache ( ) [inline]

Definition at line 61 of file DbiTableProxy.h.

{ return fCache;}
const DbiValidityRecBuilder* DbiTableProxy::MakeValidityRecBuilder ( const string &  context,
const Dbi::SubSite subsite,
const Dbi::Task task 
)
const DbiValidityRec* DbiTableProxy::LastValidityRec ( const string &  context,
const Dbi::SubSite subsite,
const Dbi::Task task 
)
const DbiValidityRec* DbiTableProxy::FirstValidityRec ( const string &  context,
const Dbi::SubSite subsite,
const Dbi::Task task 
)
const DbiValidityRec* DbiTableProxy::ValidityRec ( const string &  context,
const Dbi::SubSite subsite,
const Dbi::Task task,
Int_t  n 
)
const DbiResult* DbiTableProxy::Query ( const Context vc,
const Dbi::SubSite subsite,
const Dbi::Task task,
Bool_t  findFullTimeWindow = true 
)
const DbiResult* DbiTableProxy::Query ( const string &  context,
const Dbi::SubSite subsite,
const Dbi::Task task,
const string &  data,
const string &  fillOpts 
)
const DbiResult* DbiTableProxy::Query ( UInt_t  seqNo,
UInt_t  dbNo 
)
const DbiResult* DbiTableProxy::Query ( const DbiValidityRec vrec,
Bool_t  canReuse = kTRUE 
)
TimeStamp DbiTableProxy::QueryOverlayVersionDate ( const DbiValidityRec vrec,
UInt_t  dbNo,
Bool_t  timeStartFloored = kFALSE 
)
void DbiTableProxy::RefreshMetaData ( )
void DbiTableProxy::SetSqlCondition ( const string &  sql)
void DbiTableProxy::SetOverlayOffsetSeconds ( UInt_t  secs)
UInt_t DbiTableProxy::GetOverlayOffsetSeconds ( )
Bool_t DbiTableProxy::TableExists ( ) const [inline]

Definition at line 97 of file DbiTableProxy.h.

{ return fExists; }
DbiTableProxy& DbiTableProxy::operator= ( const DbiTableProxy ) [private]
Bool_t DbiTableProxy::CanReadL2Cache ( ) const [private]
Bool_t DbiTableProxy::CanWriteL2Cache ( ) const [private]
Bool_t DbiTableProxy::RestoreFromL2Cache ( const DbiValidityRecBuilder builder) [private]
Bool_t DbiTableProxy::SaveToL2Cache ( const string &  name,
DbiResult res 
) [private]

Friends And Related Function Documentation

friend class DbiTableProxyRegistry [friend]

Definition at line 47 of file DbiTableProxy.h.


Member Data Documentation

Pointer to one and only cascader.

Definition at line 131 of file DbiTableProxy.h.

Meta data for main(data) table.

Definition at line 134 of file DbiTableProxy.h.

Meta data for aux. (validity)table.

Definition at line 137 of file DbiTableProxy.h.

Bool_t DbiTableProxy::fCanL2Cache [private]

True if row supports L2 cache.

Definition at line 140 of file DbiTableProxy.h.

Associated cache for result.

Definition at line 143 of file DbiTableProxy.h.

Proxy to database.

Definition at line 146 of file DbiTableProxy.h.

Bool_t DbiTableProxy::fExists [private]

true if table exists;

Definition at line 149 of file DbiTableProxy.h.

string DbiTableProxy::fTableName [private]

Table Name.

Definition at line 152 of file DbiTableProxy.h.

Pet object used to create new rows.

Definition at line 155 of file DbiTableProxy.h.

seconds of offset used for overlay versioning

Definition at line 158 of file DbiTableProxy.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