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

In This Package:

Typedefs | Enumerations | Functions
Dbi Namespace Reference

Typedefs

typedef Int_t Task
typedef Int_t SubSite

Enumerations

enum  TaskTypes { kAnyTask = -1, kDefaultTask = 0 }
enum  SubSiteTypes { kAnySubSite = -1, kDefaultSubSite = 0 }
enum  TypeRegimes { kRootRegime = 0, kSQLRegime = 1 }
enum  DataTypes {
  kUnknown, kBool, kChar, kUChar,
  kTiny, kUTiny, kShort, kUShort,
  kInt, kUInt, kLong, kULong,
  kFloat, kDouble, kString, kTString,
  kDate
}
enum  DbTypes { kUnknownDbType = -1, kMySQL = 0, kOracle = 1 }
enum  AbortTest { kDisabled, kTableMissing, kDataMissing }
enum  { kMAXLOCALSEQNO = 99999999, kMAXTABLENAMELEN = 80 }

Functions

std::string GetVldDescr (const char *tableName, Bool_t isTemporary=false)
Int_t GetTimeGate (const std::string &tableName)
 > Return SQL needed to create VLD table.
void SetTimeGate (const std::string &tableName, Int_t timeGate)
std::string MakeDateTimeString (const TimeStamp &timeStamp)
TimeStamp MakeTimeStamp (const std::string &sqlDateTime, Bool_t *ok=0)
std::string UsernameFromEnvironment ()
Bool_t NotGlobalSeqNo (UInt_t seqNo)

Typedef Documentation

typedef Int_t Dbi::Task

Definition at line 42 of file Dbi.h.

typedef Int_t Dbi::SubSite

Definition at line 49 of file Dbi.h.


Enumeration Type Documentation

Enumerator:
kAnyTask 
kDefaultTask 

Definition at line 44 of file Dbi.h.

               {  kAnyTask     = -1,   // Use to disable task selection in context queries.
                  kDefaultTask = 0
 };
Enumerator:
kAnySubSite 
kDefaultSubSite 

Definition at line 51 of file Dbi.h.

                  {  kAnySubSite     = -1,   // Use to disable task selection in context queries.
                     kDefaultSubSite = 0
 };
Enumerator:
kRootRegime 
kSQLRegime 

Definition at line 57 of file Dbi.h.

                 { kRootRegime = 0,
                   kSQLRegime  = 1 
};
Enumerator:
kUnknown 
kBool 
kChar 
kUChar 
kTiny 
kUTiny 
kShort 
kUShort 
kInt 
kUInt 
kLong 
kULong 
kFloat 
kDouble 
kString 
kTString 
kDate 

Definition at line 61 of file Dbi.h.

               { kUnknown,
                 kBool,      // concept
                 kChar,      // concept
                 kUChar,     // concept
                 kTiny,
                 kUTiny,
                 kShort,
                 kUShort,
                 kInt,       // concept
                 kUInt,      // concept
                 kLong,
                 kULong,
                 kFloat,     // concept
                 kDouble,
                 kString,    // concept
                 kTString,
                 kDate       // concept
 };
Enumerator:
kUnknownDbType 
kMySQL 
kOracle 

Definition at line 81 of file Dbi.h.

             {  kUnknownDbType = -1,
                kMySQL         = 0,
                kOracle        = 1
 };
Enumerator:
kDisabled 
kTableMissing 
kDataMissing 

Definition at line 86 of file Dbi.h.

anonymous enum
Enumerator:
kMAXLOCALSEQNO 
kMAXTABLENAMELEN 

Definition at line 91 of file Dbi.h.

       { kMAXLOCALSEQNO   = 99999999,    // Max local SeqNo.
         kMAXTABLENAMELEN = 80};         // Max length of table name.

Function Documentation

std::string Dbi::GetVldDescr ( const char *  tableName,
Bool_t  isTemporary = false 
)
Int_t Dbi::GetTimeGate ( const std::string &  tableName)

> Return SQL needed to create VLD table.

Time gates for each table in secs. Used to trim validity searches.

void Dbi::SetTimeGate ( const std::string &  tableName,
Int_t  timeGate 
)
std::string Dbi::MakeDateTimeString ( const TimeStamp timeStamp)
TimeStamp Dbi::MakeTimeStamp ( const std::string &  sqlDateTime,
Bool_t *  ok = 0 
)
std::string Dbi::UsernameFromEnvironment ( )
Bool_t Dbi::NotGlobalSeqNo ( UInt_t  seqNo)
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

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