3 #ifndef RDBC_TSQLResultSet_h
4 #define RDBC_TSQLResultSet_h
16 #ifndef ROOT_TSQLResult
17 #include <TSQLResult.h>
54 virtual TString
GetString( Int_t columnIndex ) = 0;
55 virtual Bool_t
GetBoolean( Int_t columnIndex ) = 0;
56 virtual Char_t
GetByte( Int_t columnIndex ) = 0;
57 virtual Short_t
GetShort( Int_t columnIndex ) = 0;
58 virtual Int_t
GetInt( Int_t columnIndex ) = 0;
59 virtual Long_t
GetLong( Int_t columnIndex ) = 0;
60 virtual Float_t
GetFloat( Int_t columnIndex ) = 0;
61 virtual Double_t
GetDouble( Int_t columnIndex ) = 0;
62 virtual TArrayC
GetBytes( Int_t columnIndex ) = 0;
68 virtual TObject*
GetObject( Int_t columnIndex ) = 0;
69 virtual TString
GetString(
const TString& columnName ) = 0;
70 virtual Bool_t
GetBoolean(
const TString& columnName ) = 0;
71 virtual Char_t
GetByte(
const TString& columnName ) = 0;
72 virtual Short_t
GetShort(
const TString& columnName ) = 0;
73 virtual Int_t
GetInt(
const TString& columnName ) = 0;
74 virtual Long_t
GetLong(
const TString& columnName ) = 0;
75 virtual Float_t
GetFloat(
const TString& columnName ) = 0;
76 virtual Double_t
GetDouble(
const TString& columnName ) = 0;
77 virtual TArrayC
GetBytes(
const TString& columnName ) = 0;
83 virtual TObject*
GetObject(
const TString& columnName ) = 0;
85 virtual Int_t
FindColumn(
const TString& columnName ) = 0;
89 virtual Bool_t
IsLast() = 0;
94 virtual Int_t
GetRow() = 0;
99 virtual void UpdateNull( Int_t columnIndex ) = 0;
101 virtual void UpdateByte( Int_t columnIndex,Char_t
x ) = 0;
102 virtual void UpdateShort( Int_t columnIndex,Short_t
x ) = 0;
103 virtual void UpdateInt( Int_t columnIndex,Int_t
x ) = 0;
104 virtual void UpdateLong( Int_t columnIndex,Long_t
x ) = 0;
105 virtual void UpdateFloat( Int_t columnIndex, Float_t
x ) = 0;
106 virtual void UpdateDouble( Int_t columnIndex,Double_t
x ) = 0;
107 virtual void UpdateString( Int_t columnIndex,
const TString&
x ) = 0;
108 virtual void UpdateBytes( Int_t columnIndex,
const TArrayC&
x ) = 0;
114 virtual void UpdateObject( Int_t columnIndex,TObject*
x ) = 0;
115 virtual void UpdateNull(
const TString& columnName ) = 0;
116 virtual void UpdateBoolean(
const TString& columnName, Bool_t
x ) = 0;
117 virtual void UpdateByte(
const TString& columnName,Char_t
x ) = 0;
118 virtual void UpdateShort(
const TString& columnName,Short_t
x ) = 0;
119 virtual void UpdateInt(
const TString& columnName,Int_t
x ) = 0;
120 virtual void UpdateLong(
const TString& columnName,Long_t
x ) = 0;
121 virtual void UpdateFloat(
const TString& columnName,Float_t
x ) = 0;
122 virtual void UpdateDouble(
const TString& columnName,Double_t
x ) = 0;
123 virtual void UpdateString(
const TString& columnName,
const TString&
x ) = 0;
124 virtual void UpdateBytes(
const TString& columnName,
const TArrayC&
x ) = 0;
130 virtual void UpdateObject(
const TString& columnName,TObject*
x ) = 0;
141 virtual void Close(
const Option_t *option=
"") = 0;
142 virtual TSQLRow*
Next() = 0;
144 virtual TSQLRow*
First() = 0;
145 virtual TSQLRow*
Last() = 0;
146 virtual TSQLRow*
Absolute( Int_t row ) = 0;
153 virtual void Print(Option_t *option=
"")
const;
159 #endif // RDBC_TSQLResultSet_h