29namespace std {}
using namespace std;
49 std::vector<Int_t> *vc,
TSQLRow **
r) :
50 fResultPtr(rs),fRowPtr(
r)
89 std::vector<Int_t> *vc,
105 Error(
"CreateBuffer",
"Need a vector of columns\n");
133 Error(
"ReadBasketBytes",
"This member function should not be called!");
142 Error(
"ReadBasketBuffers",
"This member function should not be called!");
Implement TBasket for a SQL backend.
void CreateBuffer(const char *name, TString title, std::vector< Int_t > *vc, TBranch *branch, TSQLResult **rs)
Create a TSQLBuffer for this basket.
virtual Int_t ReadBasketBuffers(Long64_t pos, Int_t len, TFile *file)
See TBasket::ReadBasketBuffers. This is not implemented in TBasketSQL.
void PrepareBasket(Long64_t entry)
Prepare the basket for the next entry.
TBasketSQL()
Default constructor.
virtual Int_t ReadBasketBytes(Long64_t pos, TFile *file)
See TBasket::ReadBasketBytes. This is not implemented in TBasketSQL.
void Update(Int_t offset, Int_t skipped)
See TBasket::Update.
Manages buffers for branches of a Tree.
Int_t * fEntryOffset
[fNevBuf] Offset of entries in fBuffer(TKey); generated at runtime.
TBranch * fBranch
Pointer to the basket support branch.
Bool_t fHeaderOnly
True when only the basket header must be read/written.
Int_t fBufferSize
fBuffer length in bytes
Int_t fNevBufSize
Length in Int_t of fEntryOffset OR fixed length of each entry if fEntryOffset is null!
Int_t fNevBuf
Number of entries in basket.
Int_t fLast
Pointer to last used byte in basket.
Int_t * fDisplacement
![fNevBuf] Displacement of entries in fBuffer(TKey)
A TTree is a list of TBranches.
virtual Int_t GetBasketSize() const
Int_t GetEntryOffsetLen() const
Implement TBuffer for a SQL backend.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
TBuffer * fBufferRef
Pointer to the TBuffer object.
char * fBuffer
Object buffer.
TString fClassName
Object Class name.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Implement TTree for a SQL backend.
virtual void IncrementTotalBuffers(Int_t nbytes)