12 #ifndef ROOT_TSQLObjectData 13 #define ROOT_TSQLObjectData 64 void AddUnpack(
const char *tname,
const char *value);
const char * fBlobPrefixName
! name prefix in current blob row
Info (classname, version) about object in database
void ShiftToNextValue()
shift to next column or next row in blob data
const char * GetValue() const
virtual ~TSQLObjectInfo()
const char * GetObjClassName() const
TSQLStatement * fBlobStmt
TSQLClassInfo * fInfo
! classinfo, for which pool is created
TSQLResult * fClassData
! results with request to selected table
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
TSQLObjectData is used in TBufferSQL2 class in reading procedure.
const char * GetBlobTypeName() const
#define ClassDef(name, id)
Int_t GetNumClassFields()
return number of columns in class table result
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
TSQLResult * GetClassData() const
Version_t GetObjVersion() const
Bool_t VerifyDataType(const char *tname, Bool_t errormsg=kTRUE)
checks if data type corresponds to that stored in raw table
const char * GetBlobPrefixName() const
TSQLClassInfo * GetSqlInfo() const
const char * GetLocatedField() const
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 ...
TSQLClassInfo * GetInfo() const
TList * fRowsPool
! pool of extrcted, but didnot used rows
Long64_t GetObjId() const
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
Bool_t fIsMoreRows
! indicates if class data has not yet read rows
Long64_t GetObjId() const
const char * fLocatedField
const char * Data() const