12 #ifndef ROOT_TSQLiteStatement
13 #define ROOT_TSQLiteStatement
Modified copy of TSQLiteStatement.
Bool_t NextIteration() final
Bool_t SetLong(Int_t npar, Long_t value) final
Set parameter value as long.
Bool_t SetSQLParamType(Int_t npar, int sqltype, bool sig, int sqlsize=0)
Bool_t SetDate(Int_t npar, Int_t year, Int_t month, Int_t day) final
Set parameter value as date.
Int_t fIterationCount
Number of bindable / gettable parameters.
Bool_t GetBinary(Int_t npar, void *&mem, Long_t &size) final
Bool_t IsSetParsMode() const
Iteration count.
virtual ~KVSQLiteStatement()
Destructor.
TDatime GetTimestamp(Int_t)
Bool_t SetInt(Int_t npar, Int_t value) final
Set parameter value as integer.
Bool_t GetTime(Int_t npar, Int_t &hour, Int_t &min, Int_t &sec) final
Return field as time.
Bool_t GetDatime(Int_t npar, Int_t &year, Int_t &month, Int_t &day, Int_t &hour, Int_t &min, Int_t &sec) final
Return field value as date & time.
Bool_t SetString(Int_t npar, const char *value, Int_t maxsize=256) final
Set parameter value as string.
Bool_t SetBinary(Int_t npar, void *mem, Long_t size, Long_t maxsize=0x1000) final
Int_t fNumPars
1 - setting parameters, 2 - retrieving results
Bool_t NextResultRow() final
Shift cursor to next row in result set.
const char * GetString(Int_t npar) final
Return field value as string.
ULong64_t GetULong64(Int_t npar) final
Return field value as unsigned 64-bit integer.
Double_t GetDouble(Int_t npar) final
Return field value as double.
const char * GetFieldName(Int_t nfield) final
Returns field name in result set.
const char * ConvertToString(Int_t npar)
Convert field value to string.
Bool_t GetDate(Int_t npar, Int_t &year, Int_t &month, Int_t &day) final
Return field value as date.
Int_t GetNumFields() final
Return number of fields in result set.
Long64_t GetLong64(Int_t npar) final
Get long64.
ClassDefOverride(KVSQLiteStatement, 0)
Bool_t IsResultSetMode() const
Int_t GetBufferLength() const final
Bool_t IsNull(Int_t npar) final
Checks if field value is null.
Bool_t SetULong64(Int_t npar, ULong64_t value) final
Bool_t SetNull(Int_t npar) final
Set NULL as parameter value.
Bool_t StoreResult() final
Int_t GetInt(Int_t npar) final
Get integer.
Bool_t SetLong64(Int_t npar, Long64_t value) final
Set parameter value as 64-bit integer.
Bool_t SetTime(Int_t npar, Int_t hour, Int_t min, Int_t sec) final
Set parameter value as time.
Int_t fWorkingMode
executed statement
void Close(Option_t *="") final
Close statement.
long double ConvertToNumeric(Int_t npar)
Convert field to numeric.
Bool_t SetDatime(Int_t npar, Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec) final
Set parameter value as date & time.
Bool_t CheckBindError(const char *method, int res)
Long_t GetLong(Int_t npar) final
Get long.
Int_t GetNumAffectedRows() final
UInt_t GetUInt(Int_t npar) final
Get unsigned integer.
Bool_t SetTimestamp(Int_t, const TDatime &)
Bool_t Process() final
Process statement.
Int_t GetNumParameters() final
Return number of statement parameters.
Bool_t SetUInt(Int_t npar, UInt_t value) final
Bool_t SetDouble(Int_t npar, Double_t value) final
Set parameter value as double value.
KVSQLiteStatement(SQLite3_Stmt_t *stmt, Bool_t errout=kTRUE)
unsigned long long ULong64_t