52 :
TObject(), fObjId(objid), fClassName(classname), fVersion(version)
74 :
TObject(), fInfo(0), fObjId(0), fOwner(
kFALSE), fClassData(0), fBlobData(0), fBlobStmt(0), fLocatedColumn(-1),
75 fClassRow(0), fBlobRow(0), fLocatedField(0), fLocatedValue(0), fCurrentBlob(
kFALSE), fBlobPrefixName(0),
76 fBlobTypeName(0), fUnpack(0)
85 :
TObject(), fInfo(sqlinfo), fObjId(objid), fOwner(
kFALSE), fClassData(classdata), fBlobData(blobdata),
86 fBlobStmt(blobstmt), fLocatedColumn(-1), fClassRow(classrow), fBlobRow(0), fLocatedField(0), fLocatedValue(0),
87 fCurrentBlob(
kFALSE), fBlobPrefixName(0), fBlobTypeName(0), fUnpack(0)
217 const char *
name = 0;
240 const char *separ = strstr(
name,
":");
247 separ += strlen(
":");
282 sbuf.
Form(
"%d", value);
334 Error(
"VerifyDataType",
"Data type not specified");
344 Error(
"VerifyDataType",
"fBlobTypeName is null");
397 :
TObject(), fInfo(info), fClassData(data), fIsMoreRows(
kTRUE), fRowsPool(0)
430 if (rowid == objid) {
virtual void Add(TObject *obj)
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual TObjLink * FirstLink() const
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
virtual void Compress()
Remove empty slots from array.
TObject * First() const
Return the object in the first slot.
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
Int_t GetLast() const
Return index of last object in array.
virtual TObject * Remove(TObject *obj)
Remove object from array.
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Contains information about tables specific to one class and version.
Int_t FindColumn(const char *name, Bool_t sqlname=kFALSE)
Search for column of that name.
TSQLRow * GetObjectRow(Long64_t objid)
Returns single sql row with object data for that class.
virtual ~TSQLObjectDataPool()
Destructor of TSQLObjectDataPool class Deletes not used rows and class data table.
TSQLResult * fClassData
! results with request to selected table
TList * fRowsPool
! pool of extracted, but didnot used rows
Bool_t fIsMoreRows
! indicates if class data has not yet read rows
TSQLObjectData is used in TBufferSQL2 class in reading procedure.
Bool_t LocateColumn(const char *colname, Bool_t isblob=kFALSE)
locate column of that name in results
TSQLStatement * fBlobStmt
TSQLObjectData()
default contrsuctor
const char * fBlobPrefixName
! name prefix in current blob row
Bool_t ExtractBlobValues()
extract from curent blob row value and names identifiers
void ShiftToNextValue()
shift to next column or next row in blob data
Bool_t IsBlobData() const
virtual ~TSQLObjectData()
destructor of TSQLObjectData object
const char * GetClassFieldName(Int_t n)
get name of class table column
const char * fLocatedValue
Bool_t ShiftBlobRow()
shift cursor to next blob value
void AddUnpack(const char *tname, const char *value)
add emulated data this used to place version or TObject raw data, read from normal tables
Int_t GetNumClassFields()
return number of columns in class table result
Bool_t PrepareForRawData()
prepare to read data from raw table
Bool_t VerifyDataType(const char *tname, Bool_t errormsg=kTRUE)
checks if data type corresponds to that stored in raw table
const char * fBlobTypeName
! name type (without prefix) in current blob row
void AddUnpackInt(const char *tname, Int_t value)
emulate integer value in raw data
const char * fLocatedField
Info (classname, version) about object in database.
virtual ~TSQLObjectInfo()
virtual const char * GetFieldName(Int_t field)=0
virtual TSQLRow * Next()=0
virtual Int_t GetFieldCount()=0
virtual const char * GetField(Int_t field)=0
virtual const char * GetString(Int_t)
virtual Bool_t NextResultRow()=0
const char * Data() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
Long64_t atol64(const char *value)