58 fClassName(classname),
113 fClassData(classdata),
206 if (!isblob)
return kTRUE;
238 const char*
name = 0;
261 const char* separ = strstr(name,
":");
303 sbuf.
Form(
"%d", value);
354 Error(
"VerifyDataType",
"Data type not specified");
363 Error(
"VerifyDataType",
"fBlobTypeName is null");
472 if (rowid==objid)
return row;
virtual const char * GetTitle() const
Returns title 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
Int_t GetLast() const
Return index of last object in array.
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.
ClassImp(TSQLObjectInfo) TSQLObjectInfo
virtual TObject * Remove(TObject *obj)
Remove object from array.
Contains information about tables specific to one class and version.
const char * fLocatedValue
const char * fBlobTypeName
! name type (without prefix) in current blob row
virtual const char * GetString(Int_t)
TSQLObjectData is used in TBufferSQL2 class in reading procedure.
const char * Data() const
Long64_t atol64(const char *value)
ClassImp(RooList) TObjOptLink *RooList TObjLink * link
Find the link corresponding to the named object in this list.
The TNamed class is the base class for all named ROOT classes.
Int_t GetNumClassFields()
return number of columns in class table result
TObject * First() const
Return the object in the first slot.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t NextResultRow()=0
virtual ~TSQLObjectData()
destructor of TSQLObjectData object
virtual ~TSQLObjectDataPool()
Destructor of TSQLObjectDataPool class Deletes not used rows and class data table.
Bool_t ShiftBlobRow()
shift cursor to next blob value
virtual TObject * Remove(TObject *obj)
Remove object from the list.
TObject * GetObject() const
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 const char * GetField(Int_t field)=0
virtual const char * GetName() const
Returns name of object.
Bool_t IsBlobData() const
virtual TObjLink * FirstLink() const
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.
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.
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 TSQLRow * Next()=0