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)
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");
430 if (rowid == objid) {
virtual const char * GetName() const
Returns name of object.
const char * fBlobPrefixName
! name prefix in current blob row
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
Info (classname, version) about object in database.
void ShiftToNextValue()
shift to next column or next row in blob data
virtual ~TSQLObjectInfo()
TSQLStatement * fBlobStmt
TSQLClassInfo * fInfo
! classinfo, for which pool is created
TSQLResult * fClassData
! results with request to selected table
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
virtual TObject * Remove(TObject *obj)
Remove object from array.
Contains information about tables specific to one class and version.
TSQLObjectData()
default contrsuctor
const char * fLocatedValue
const char * fBlobTypeName
! name type (without prefix) in current blob row
Bool_t IsBlobData() const
virtual const char * GetString(Int_t)
TSQLObjectData is used in TBufferSQL2 class in reading procedure.
Long64_t atol64(const char *value)
The TNamed class is the base class for all named ROOT classes.
Int_t GetNumClassFields()
return number of columns in class table result
virtual Bool_t NextResultRow()=0
virtual ~TSQLObjectData()
destructor of TSQLObjectData object
TObject * First() const
Return the object in the first slot.
virtual ~TSQLObjectDataPool()
Destructor of TSQLObjectDataPool class Deletes not used rows and class data table.
Int_t GetLast() const
Return index of last object in array.
Bool_t ShiftBlobRow()
shift cursor to next blob value
virtual TObject * Remove(TObject *obj)
Remove object from the list.
Bool_t VerifyDataType(const char *tname, Bool_t errormsg=kTRUE)
checks if data type corresponds to that stored in raw table
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual const char * GetField(Int_t field)=0
virtual Int_t GetFieldCount()=0
Bool_t LocateColumn(const char *colname, Bool_t isblob=kFALSE)
locate column of that name in results
TSQLRow * GetObjectRow(Long64_t objid)
Returns single sql row with object data for that class.
virtual TObjLink * FirstLink() const
Bool_t PrepareForRawData()
prepare to read data from raw table
void AddUnpack(const char *tname, const char *value)
add emulated data this used to place version or TObject raw data, read from normal tables ...
Wrapper around a TObject so it can be stored in a TList.
TList * fRowsPool
! pool of extrcted, but didnot used rows
Mother of all ROOT objects.
TObject * GetObject() const
const char * GetClassFieldName(Int_t n)
get name of class table column
Bool_t ExtractBlobValues()
extract from curent blob row value and names identifiers
void AddUnpackInt(const char *tname, Int_t value)
emulate integer value in raw data
virtual void Add(TObject *obj)
Bool_t fIsMoreRows
! indicates if class data has not yet read rows
virtual const char * GetFieldName(Int_t field)=0
virtual void Compress()
Remove empty slots from array.
Int_t FindColumn(const char *name, Bool_t sqlname=kFALSE)
Search for column of that name.
const char * fLocatedField
virtual const char * GetTitle() const
Returns title of object.
virtual TSQLRow * Next()=0
const char * Data() const