79 #if !defined(__CINT__)
TString CreateBranches(TSQLResult *rs)
determine leaf description string
virtual Int_t Fill()
Copy the information from the user object to the TTree.
void Init()
Initializeation routine.
Bool_t CheckBranch(TBranch *tb)
Check if the table has a column corresponding the branch and that the resultset are properly setup...
virtual Long64_t GetEntriesFast() const
Return the number of entries as of the last check.
Implement TTree for a SQL backend.
virtual TBranch * BranchOld(const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=1)
Not implemented yet.
virtual Long64_t GetEntries(const char *sel)
Return the number of entries matching the selection.
virtual TBranch * BranchImp(const char *branchname, const char *classname, TClass *ptrClass, void *addobj, Int_t bufsize, Int_t splitlevel)
Not implemented yet.
virtual Long64_t LoadTree(Long64_t entry)
Setup the tree to the load the specified entry.
void ResetQuery()
Reset the internal query.
virtual void CreateBranch(const TString &branchName, const TString &typeName)
Create the column(s) in the database that correspond to the branch/.
std::vector< Int_t > * GetColumnIndice(TBranch *branch)
Return a vector of columns index corresponding to the current SQL table and the branch given as argum...
void Refresh()
Refresh contents of this Tree and its branches from the current Tree status in the database One can c...
Collection abstract base class.
Manages buffers for branches of a Tree.
The ROOT global object gROOT contains a list of all defined classes.
Implement TBasket for a SQL backend.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Load the data for the entry from the database.
virtual Int_t Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="")
Not implemented yet.
virtual TBranch * Bronch(const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=99)
Not implemented yet.
Bool_t CreateTable(const TString &table)
Create the database table corresponding to this TTree.
Bool_t CheckTable(const TString &table) const
Check the table exist in the database.
virtual Long64_t GetEntries() const
Get the number of rows in the database.
virtual TBasket * CreateBasket(TBranch *br)
Create a TBasketSQL.
void CheckBasket(TBranch *tb)
Check if the basket is properly setup.
virtual Long64_t GetEntries() const
A TTree object has a header with a name and a title.
TString ConvertTypeName(const TString &typeName)
Convert from ROOT typename to SQL typename.
A TTree is a list of TBranches.
virtual Long64_t PrepEntry(Long64_t entry)
Make sure the server and result set are setup for the requested entry.
TTreeSQL(TSQLServer *server, TString DB, const TString &table)