Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ODBCStatement.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ODBCStatement.h
1
// $Id: ODBCStatement.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
2
3
#ifndef RDBC_ODBCStatement_h
4
#define RDBC_ODBCStatement_h
5
6
//
7
// ODBC implementation of SQL Statements
8
//
9
10
#ifndef RDBC_TSQLStatement_h
11
#include <
RDBC/TSQLStatement.h
>
12
#endif
13
15
class
ODBCStatement
:
public
TSQLStatement
16
{
17
friend
class
ODBCConnection
;
18
friend
class
ODBCResultSet
;
19
20
protected
:
21
22
ODBCStatement
(
TSQLConnection
*
con
,
void
* imp=0 );
23
24
public
:
25
26
virtual
~ODBCStatement
();
27
using
TSQLStatement::Execute
;
// unhide (TMethod*, TObjArray*, int*)
28
Bool_t
Execute
(
const
TString& sql=
""
);
29
TSQLResultSet
*
ExecuteQuery
(
const
TString& sql=
""
);
30
Int_t
ExecuteUpdate
(
const
TString& sql=
""
);
31
TSQLResultSet
*
GetResultSet
();
32
Bool_t
GetMoreResults
();
33
void
Close
();
34
void
Cancel
();
35
Int_t
GetMaxFieldSize
();
36
void
SetMaxFieldSize
( Int_t max );
37
Int_t
GetMaxRows
();
38
void
SetMaxRows
( Int_t max );
39
Bool_t
GetEscapeProcessing
();
40
void
SetEscapeProcessing
( Bool_t enable = kTRUE );
41
Int_t
GetQueryTimeout
();
42
void
SetQueryTimeout
( Int_t seconds );
43
Int_t
GetUpdateCount
();
44
void
SetCursorName
(
const
TString&
name
);
45
void
AddBatch
(
const
TString& sql );
46
void
ClearBatch
();
47
Int_t*
ExecuteBatch
();
48
Int_t
GetFetchDirection
();
49
void
SetFetchDirection
( Int_t direction );
50
Int_t
GetFetchSize
();
51
void
SetFetchSize
(Int_t
rows
);
52
Int_t
GetResultSetConcurrency
();
53
Int_t
GetResultSetType
();
54
55
ClassDef(
ODBCStatement
,0)
//Class used for executing a SQL statement and obtaining the results produced by it
56
};
57
58
#endif // RDBC_ODBCStatement_h
RDBC
blob
master
odbc
ODBCStatement.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:48
using
1.8.2 with
sPHENIX GitHub integration