/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 | Static Public Member Functions | Private Attributes
DbiValidityRec Class Reference

#include <DbiValidityRec.h>

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

List of all members.

Public Member Functions

 DbiValidityRec (Int_t dbNo=-1, Bool_t isGap=kTRUE)
 DbiValidityRec (const DbiValidityRec &from)
 DbiValidityRec (const ContextRange &range, Dbi::SubSite subsite, Dbi::Task task, Int_t aggNo, UInt_t seqNo, Int_t dbNo=-1, Bool_t isGap=kFALSE, TimeStamp time=TimeStamp())
virtual ~DbiValidityRec ()
virtual DbiTableRowCreateTableRow () const
Int_t GetAggregateNo () const
TimeStamp GetVersionDate () const
UInt_t GetDbNo () const
TimeStamp GetInsertDate () const
Dbi::SubSite GetSubSite () const
Dbi::Task GetTask () const
std::string GetL2CacheName () const
UInt_t GetSeqNo () const
const DbiTableProxyGetTableProxy () const
const ContextRangeGetContextRange () const
Bool_t HasExpired (const DbiValidityRec &other) const
Bool_t HasExpired (const Context &vc, const Dbi::SubSite &subsite, const Dbi::Task &task) const
Bool_t IsCompatible (const Context &vc, const Dbi::SubSite &subsite, const Dbi::Task &task) const
Bool_t IsGap () const
void AndTimeWindow (const TimeStamp &start, const TimeStamp &end)
void SetAggregateNo (Int_t aggNo)
void SetDbNo (Int_t dbNo)
void SetTableProxy (const DbiTableProxy *tp)
void SetTimeWindow (const TimeStamp &start, const TimeStamp &end)
void SetContextRange (const ContextRange &range)
void Trim (const TimeStamp &queryTime, const DbiValidityRec &other)
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
void Streamer (DbiBinaryFile &file)
virtual std::string name () const
virtual size_t size () const
virtual Bool_t CanFixOrdering () const
virtual Bool_t CanL2Cache () const
virtual std::string GetExtraCondition () const
DbiResultGetOwner () const
virtual UInt_t GetIndex (UInt_t defIndex) const
void SetOwner (DbiResult *owner)
virtual bool CreateDatabaseTables (Int_t db_no=0, const char *tablename="default")
 Function to create the database tables.
virtual std::string GetDatabaseLayout ()
 Function to lay out the database table columns, used by CreateDatabaseTables.

Static Public Member Functions

static std::string GetL2CacheName (UInt_t seqLo, UInt_t seqHi, TimeStamp ts)

Private Attributes

Int_t fAggregateNo
 Aggregate number or:-.
TimeStamp fVersionDate
 Version date.
Int_t fDbNo
 Cascade no. of source db =-1 unknown.
TimeStamp fInsertDate
 Insertion date.
Bool_t fIsGap
 kTRUE if corresponds to a gap.
Dbi::SubSite fSubSite
 Subsite specification.
Dbi::Task fTask
 Task number.
Int_t fSeqNo
 Sequence number or 0 if compound.
const DbiTableProxyfTableProxy
 DbiTableProxy that filled this (if any).
ContextRange fContextRange
 Validity range of record.

Detailed Description

Id:
DbiValidityRec.h,v 1.18 2006/08/08 10:51:32 west Exp

Definition at line 40 of file DbiValidityRec.h.


Constructor & Destructor Documentation

DbiValidityRec::DbiValidityRec ( Int_t  dbNo = -1,
Bool_t  isGap = kTRUE 
)
DbiValidityRec::DbiValidityRec ( const DbiValidityRec from)
DbiValidityRec::DbiValidityRec ( const ContextRange range,
Dbi::SubSite  subsite,
Dbi::Task  task,
Int_t  aggNo,
UInt_t  seqNo,
Int_t  dbNo = -1,
Bool_t  isGap = kFALSE,
TimeStamp  time = TimeStamp() 
)
virtual DbiValidityRec::~DbiValidityRec ( ) [virtual]

Member Function Documentation

virtual DbiTableRow* DbiValidityRec::CreateTableRow ( ) const [inline, virtual]

Implements DbiTableRow.

Definition at line 61 of file DbiValidityRec.h.

                                              {
                                           return new DbiValidityRec; }
Int_t DbiValidityRec::GetAggregateNo ( ) const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 63 of file DbiValidityRec.h.

{ return fAggregateNo; }
TimeStamp DbiValidityRec::GetVersionDate ( ) const [inline]

Definition at line 64 of file DbiValidityRec.h.

{ return fVersionDate; }
UInt_t DbiValidityRec::GetDbNo ( ) const [inline]

Definition at line 65 of file DbiValidityRec.h.

{ return fDbNo; }
TimeStamp DbiValidityRec::GetInsertDate ( ) const [inline]

Definition at line 66 of file DbiValidityRec.h.

{ return fInsertDate; }
Dbi::SubSite DbiValidityRec::GetSubSite ( ) const [inline]

Definition at line 67 of file DbiValidityRec.h.

{ return fSubSite; }
Dbi::Task DbiValidityRec::GetTask ( ) const [inline]

Definition at line 68 of file DbiValidityRec.h.

{ return fTask; }
std::string DbiValidityRec::GetL2CacheName ( ) const
UInt_t DbiValidityRec::GetSeqNo ( ) const [inline]

Definition at line 70 of file DbiValidityRec.h.

{ return fSeqNo; }
const DbiTableProxy* DbiValidityRec::GetTableProxy ( ) const [inline]

Definition at line 71 of file DbiValidityRec.h.

{ return fTableProxy; }
const ContextRange& DbiValidityRec::GetContextRange ( ) const [inline]

Definition at line 72 of file DbiValidityRec.h.

{ return fContextRange;}
Bool_t DbiValidityRec::HasExpired ( const DbiValidityRec other) const
Bool_t DbiValidityRec::HasExpired ( const Context vc,
const Dbi::SubSite subsite,
const Dbi::Task task 
) const
Bool_t DbiValidityRec::IsCompatible ( const Context vc,
const Dbi::SubSite subsite,
const Dbi::Task task 
) const
Bool_t DbiValidityRec::IsGap ( ) const [inline]

Definition at line 80 of file DbiValidityRec.h.

{ return fIsGap; }
static std::string DbiValidityRec::GetL2CacheName ( UInt_t  seqLo,
UInt_t  seqHi,
TimeStamp  ts 
) [static]
void DbiValidityRec::AndTimeWindow ( const TimeStamp start,
const TimeStamp end 
)
void DbiValidityRec::SetAggregateNo ( Int_t  aggNo) [inline]

Definition at line 87 of file DbiValidityRec.h.

{ fAggregateNo = aggNo; }
void DbiValidityRec::SetDbNo ( Int_t  dbNo) [inline]

Definition at line 88 of file DbiValidityRec.h.

{ fDbNo = dbNo; }
void DbiValidityRec::SetTableProxy ( const DbiTableProxy tp) [inline]

Definition at line 89 of file DbiValidityRec.h.

{ fTableProxy = tp; }
void DbiValidityRec::SetTimeWindow ( const TimeStamp start,
const TimeStamp end 
)
void DbiValidityRec::SetContextRange ( const ContextRange range) [inline]

Definition at line 92 of file DbiValidityRec.h.

{ fContextRange=range;}
void DbiValidityRec::Trim ( const TimeStamp queryTime,
const DbiValidityRec other 
)
virtual void DbiValidityRec::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

virtual void DbiValidityRec::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

void DbiValidityRec::Streamer ( DbiBinaryFile file)
virtual std::string DbiTableRow::name ( ) const [virtual, inherited]
virtual size_t DbiTableRow::size ( ) const [virtual, inherited]
virtual Bool_t DbiTableRow::CanFixOrdering ( ) const [inline, virtual, inherited]

Definition at line 62 of file DbiTableRow.h.

{ return kFALSE; }
virtual Bool_t DbiTableRow::CanL2Cache ( ) const [inline, virtual, inherited]

Definition at line 63 of file DbiTableRow.h.

{ return kFALSE; }
virtual std::string DbiTableRow::GetExtraCondition ( ) const [inline, virtual, inherited]

Definition at line 64 of file DbiTableRow.h.

{ return std::string(""); }
DbiResult* DbiTableRow::GetOwner ( ) const [inline, inherited]

Definition at line 66 of file DbiTableRow.h.

{ return fOwner; }
virtual UInt_t DbiTableRow::GetIndex ( UInt_t  defIndex) const [inline, virtual, inherited]

Definition at line 68 of file DbiTableRow.h.

{return defIndex;}
void DbiTableRow::SetOwner ( DbiResult owner) [inline, inherited]

Definition at line 71 of file DbiTableRow.h.

{fOwner = owner;}
virtual bool DbiTableRow::CreateDatabaseTables ( Int_t  db_no = 0,
const char *  tablename = "default" 
) [virtual, inherited]

Function to create the database tables.

virtual std::string DbiTableRow::GetDatabaseLayout ( ) [virtual, inherited]

Function to lay out the database table columns, used by CreateDatabaseTables.

Reimplemented in DbiLogEntry.


Member Data Documentation

Aggregate number or:-.

-1 Non-aggregated data or multiple aggregates -2 undefined aggregates

Definition at line 111 of file DbiValidityRec.h.

Version date.

Definition at line 114 of file DbiValidityRec.h.

Int_t DbiValidityRec::fDbNo [private]

Cascade no. of source db =-1 unknown.

Definition at line 117 of file DbiValidityRec.h.

Insertion date.

Definition at line 120 of file DbiValidityRec.h.

Bool_t DbiValidityRec::fIsGap [private]

kTRUE if corresponds to a gap.

Definition at line 123 of file DbiValidityRec.h.

Subsite specification.

Definition at line 126 of file DbiValidityRec.h.

Task number.

Definition at line 129 of file DbiValidityRec.h.

Int_t DbiValidityRec::fSeqNo [private]

Sequence number or 0 if compound.

Definition at line 132 of file DbiValidityRec.h.

DbiTableProxy that filled this (if any).

Definition at line 135 of file DbiValidityRec.h.

Validity range of record.

Definition at line 138 of file DbiValidityRec.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