12 #ifndef ROOT_TSQLStatement 13 #define ROOT_TSQLStatement 37 void SetError(
Int_t code,
const char* msg,
const char* method = 0);
virtual Bool_t SetLong(Int_t, Long_t)
virtual Bool_t SetLargeObject(Int_t col, void *mem, Long_t size, Long_t maxsize=0x1000)
virtual Bool_t GetTime(Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t IsNull(Int_t)
virtual Bool_t SetLong64(Int_t, Long64_t)
virtual Long64_t GetLong64(Int_t)
virtual Bool_t GetVLong64(Int_t, std::vector< Long64_t > &)
virtual Bool_t SetTime(Int_t, Int_t, Int_t, Int_t)
virtual Bool_t SetVULong64(Int_t, const std::vector< ULong64_t >, const char *, const char *)
virtual Bool_t SetDate(Int_t, Int_t, Int_t, Int_t)
virtual Bool_t SetVInt(Int_t, const std::vector< Int_t >, const char *, const char *)
void ClearError()
reset error fields
virtual Long_t GetLong(Int_t)
void SetError(Int_t code, const char *msg, const char *method=0)
set new values for error fields if method specified, displays error message
virtual Bool_t GetDate(Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetLargeObject(Int_t col, void *&mem, Long_t &size)
virtual Bool_t NextIteration()=0
virtual Bool_t SetTimestamp(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t=0)
virtual Bool_t GetVLong(Int_t, std::vector< Long_t > &)
virtual Bool_t StoreResult()=0
virtual Bool_t SetVLong(Int_t, const std::vector< Long_t >, const char *, const char *)
virtual Bool_t SetString(Int_t, const char *, Int_t=256)
virtual Bool_t SetULong64(Int_t, ULong64_t)
virtual const char * GetFieldName(Int_t)=0
virtual Bool_t SetVLong64(Int_t, const std::vector< Long64_t >, const char *, const char *)
virtual Bool_t GetVDouble(Int_t, std::vector< Double_t > &)
virtual Bool_t SetVDouble(Int_t, const std::vector< Double_t >, const char *, const char *)
virtual const char * GetString(Int_t)
Int_t GetHour(Int_t)
return hours value for parameter (if applicable)
#define ClassDef(name, id)
virtual Bool_t SetDatime(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t)
TSQLStatement(Bool_t errout=kTRUE)
virtual void EnableErrorOutput(Bool_t on=kTRUE)
Int_t GetMinute(Int_t)
return minutes value for parameter (if applicable)
virtual Bool_t SetVUInt(Int_t, const std::vector< UInt_t >, const char *, const char *)
virtual Bool_t GetVUInt(Int_t, std::vector< UInt_t > &)
virtual ULong64_t GetULong64(Int_t)
virtual Bool_t SetDouble(Int_t, Double_t)
virtual Bool_t NextResultRow()=0
Int_t GetSecond(Int_t)
return seconds value for parameter (if applicable)
virtual Int_t GetNumAffectedRows()
virtual Int_t GetNumParameters()=0
Int_t GetMonth(Int_t)
return month value for parameter (if applicable)
virtual Double_t GetDouble(Int_t)
virtual Bool_t GetDatime(Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
virtual Bool_t SetBinary(Int_t, void *, Long_t, Long_t=0x1000)
virtual Int_t GetBufferLength() const =0
virtual const char * GetErrorMsg() const
returns error message of last operation if no errors, return 0 Each specific implementation of TSQLSt...
Int_t GetDay(Int_t)
return day value for parameter (if applicable)
virtual Bool_t IsError() const
virtual Int_t GetInt(Int_t)
Int_t GetYear(Int_t)
return year value for parameter (if applicable)
unsigned long long ULong64_t
virtual Int_t GetErrorCode() const
returns error code of last operation if res==0, no error Each specific implementation of TSQLStatemen...
virtual Bool_t GetTimestamp(Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetBinary(Int_t, void *&, Long_t &)
virtual Bool_t SetUInt(Int_t, UInt_t)
Mother of all ROOT objects.
virtual Bool_t GetVULong64(Int_t, std::vector< ULong64_t > &)
virtual Bool_t SetNull(Int_t)
virtual Bool_t Process()=0
virtual Bool_t SetMaxFieldSize(Int_t, Long_t)
virtual Bool_t GetVInt(Int_t, std::vector< Int_t > &)
virtual Bool_t SetInt(Int_t, Int_t)
virtual UInt_t GetUInt(Int_t)
virtual void SetTimeFormating(const char *)
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
virtual Int_t GetNumFields()=0