1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_sql_CallableStatement__
|
5 |
|
|
#define __java_sql_CallableStatement__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace math
|
17 |
|
|
{
|
18 |
|
|
class BigDecimal;
|
19 |
|
|
}
|
20 |
|
|
namespace net
|
21 |
|
|
{
|
22 |
|
|
class URL;
|
23 |
|
|
}
|
24 |
|
|
namespace sql
|
25 |
|
|
{
|
26 |
|
|
class Array;
|
27 |
|
|
class Blob;
|
28 |
|
|
class CallableStatement;
|
29 |
|
|
class Clob;
|
30 |
|
|
class Connection;
|
31 |
|
|
class Date;
|
32 |
|
|
class ParameterMetaData;
|
33 |
|
|
class Ref;
|
34 |
|
|
class ResultSet;
|
35 |
|
|
class ResultSetMetaData;
|
36 |
|
|
class SQLWarning;
|
37 |
|
|
class Time;
|
38 |
|
|
class Timestamp;
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
class java::sql::CallableStatement : public ::java::lang::Object
|
44 |
|
|
{
|
45 |
|
|
|
46 |
|
|
public:
|
47 |
|
|
virtual void registerOutParameter(jint, jint) = 0;
|
48 |
|
|
virtual void registerOutParameter(jint, jint, jint) = 0;
|
49 |
|
|
virtual jboolean wasNull() = 0;
|
50 |
|
|
virtual ::java::lang::String * getString(jint) = 0;
|
51 |
|
|
virtual jboolean getBoolean(jint) = 0;
|
52 |
|
|
virtual jbyte getByte(jint) = 0;
|
53 |
|
|
virtual jshort getShort(jint) = 0;
|
54 |
|
|
virtual jint getInt(jint) = 0;
|
55 |
|
|
virtual jlong getLong(jint) = 0;
|
56 |
|
|
virtual jfloat getFloat(jint) = 0;
|
57 |
|
|
virtual jdouble getDouble(jint) = 0;
|
58 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
|
59 |
|
|
virtual JArray< jbyte > * getBytes(jint) = 0;
|
60 |
|
|
virtual ::java::sql::Date * getDate(jint) = 0;
|
61 |
|
|
virtual ::java::sql::Time * getTime(jint) = 0;
|
62 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
|
63 |
|
|
virtual ::java::lang::Object * getObject(jint) = 0;
|
64 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
|
65 |
|
|
virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
|
66 |
|
|
virtual ::java::sql::Ref * getRef(jint) = 0;
|
67 |
|
|
virtual ::java::sql::Blob * getBlob(jint) = 0;
|
68 |
|
|
virtual ::java::sql::Clob * getClob(jint) = 0;
|
69 |
|
|
virtual ::java::sql::Array * getArray(jint) = 0;
|
70 |
|
|
virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
|
71 |
|
|
virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
|
72 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
|
73 |
|
|
virtual void registerOutParameter(jint, jint, ::java::lang::String *) = 0;
|
74 |
|
|
virtual void registerOutParameter(::java::lang::String *, jint) = 0;
|
75 |
|
|
virtual void registerOutParameter(::java::lang::String *, jint, jint) = 0;
|
76 |
|
|
virtual void registerOutParameter(::java::lang::String *, jint, ::java::lang::String *) = 0;
|
77 |
|
|
virtual ::java::net::URL * getURL(jint) = 0;
|
78 |
|
|
virtual void setURL(::java::lang::String *, ::java::net::URL *) = 0;
|
79 |
|
|
virtual void setNull(::java::lang::String *, jint) = 0;
|
80 |
|
|
virtual void setBoolean(::java::lang::String *, jboolean) = 0;
|
81 |
|
|
virtual void setByte(::java::lang::String *, jbyte) = 0;
|
82 |
|
|
virtual void setShort(::java::lang::String *, jshort) = 0;
|
83 |
|
|
virtual void setInt(::java::lang::String *, jint) = 0;
|
84 |
|
|
virtual void setLong(::java::lang::String *, jlong) = 0;
|
85 |
|
|
virtual void setFloat(::java::lang::String *, jfloat) = 0;
|
86 |
|
|
virtual void setDouble(::java::lang::String *, jdouble) = 0;
|
87 |
|
|
virtual void setBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
|
88 |
|
|
virtual void setString(::java::lang::String *, ::java::lang::String *) = 0;
|
89 |
|
|
virtual void setBytes(::java::lang::String *, JArray< jbyte > *) = 0;
|
90 |
|
|
virtual void setDate(::java::lang::String *, ::java::sql::Date *) = 0;
|
91 |
|
|
virtual void setTime(::java::lang::String *, ::java::sql::Time *) = 0;
|
92 |
|
|
virtual void setTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
|
93 |
|
|
virtual void setAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
|
94 |
|
|
virtual void setBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
|
95 |
|
|
virtual void setObject(::java::lang::String *, ::java::lang::Object *, jint, jint) = 0;
|
96 |
|
|
virtual void setObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
|
97 |
|
|
virtual void setObject(::java::lang::String *, ::java::lang::Object *) = 0;
|
98 |
|
|
virtual void setCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
|
99 |
|
|
virtual void setDate(::java::lang::String *, ::java::sql::Date *, ::java::util::Calendar *) = 0;
|
100 |
|
|
virtual void setTime(::java::lang::String *, ::java::sql::Time *, ::java::util::Calendar *) = 0;
|
101 |
|
|
virtual void setTimestamp(::java::lang::String *, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
|
102 |
|
|
virtual void setNull(::java::lang::String *, jint, ::java::lang::String *) = 0;
|
103 |
|
|
virtual ::java::lang::String * getString(::java::lang::String *) = 0;
|
104 |
|
|
virtual jboolean getBoolean(::java::lang::String *) = 0;
|
105 |
|
|
virtual jbyte getByte(::java::lang::String *) = 0;
|
106 |
|
|
virtual jshort getShort(::java::lang::String *) = 0;
|
107 |
|
|
virtual jint getInt(::java::lang::String *) = 0;
|
108 |
|
|
virtual jlong getLong(::java::lang::String *) = 0;
|
109 |
|
|
virtual jfloat getFloat(::java::lang::String *) = 0;
|
110 |
|
|
virtual jdouble getDouble(::java::lang::String *) = 0;
|
111 |
|
|
virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
|
112 |
|
|
virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
|
113 |
|
|
virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
|
114 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
|
115 |
|
|
virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
|
116 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
|
117 |
|
|
virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
|
118 |
|
|
virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
|
119 |
|
|
virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
|
120 |
|
|
virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
|
121 |
|
|
virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
|
122 |
|
|
virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
|
123 |
|
|
virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
|
124 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
|
125 |
|
|
virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
|
126 |
|
|
virtual ::java::sql::ResultSet * executeQuery() = 0;
|
127 |
|
|
virtual jint executeUpdate() = 0;
|
128 |
|
|
virtual void setNull(jint, jint) = 0;
|
129 |
|
|
virtual void setBoolean(jint, jboolean) = 0;
|
130 |
|
|
virtual void setByte(jint, jbyte) = 0;
|
131 |
|
|
virtual void setShort(jint, jshort) = 0;
|
132 |
|
|
virtual void setInt(jint, jint) = 0;
|
133 |
|
|
virtual void setLong(jint, jlong) = 0;
|
134 |
|
|
virtual void setFloat(jint, jfloat) = 0;
|
135 |
|
|
virtual void setDouble(jint, jdouble) = 0;
|
136 |
|
|
virtual void setBigDecimal(jint, ::java::math::BigDecimal *) = 0;
|
137 |
|
|
virtual void setString(jint, ::java::lang::String *) = 0;
|
138 |
|
|
virtual void setBytes(jint, JArray< jbyte > *) = 0;
|
139 |
|
|
virtual void setDate(jint, ::java::sql::Date *) = 0;
|
140 |
|
|
virtual void setTime(jint, ::java::sql::Time *) = 0;
|
141 |
|
|
virtual void setTimestamp(jint, ::java::sql::Timestamp *) = 0;
|
142 |
|
|
virtual void setAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
|
143 |
|
|
virtual void setUnicodeStream(jint, ::java::io::InputStream *, jint) = 0;
|
144 |
|
|
virtual void setBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
|
145 |
|
|
virtual void clearParameters() = 0;
|
146 |
|
|
virtual void setObject(jint, ::java::lang::Object *, jint, jint) = 0;
|
147 |
|
|
virtual void setObject(jint, ::java::lang::Object *, jint) = 0;
|
148 |
|
|
virtual void setObject(jint, ::java::lang::Object *) = 0;
|
149 |
|
|
virtual jboolean execute() = 0;
|
150 |
|
|
virtual void addBatch() = 0;
|
151 |
|
|
virtual void setCharacterStream(jint, ::java::io::Reader *, jint) = 0;
|
152 |
|
|
virtual void setRef(jint, ::java::sql::Ref *) = 0;
|
153 |
|
|
virtual void setBlob(jint, ::java::sql::Blob *) = 0;
|
154 |
|
|
virtual void setClob(jint, ::java::sql::Clob *) = 0;
|
155 |
|
|
virtual void setArray(jint, ::java::sql::Array *) = 0;
|
156 |
|
|
virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
|
157 |
|
|
virtual void setDate(jint, ::java::sql::Date *, ::java::util::Calendar *) = 0;
|
158 |
|
|
virtual void setTime(jint, ::java::sql::Time *, ::java::util::Calendar *) = 0;
|
159 |
|
|
virtual void setTimestamp(jint, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
|
160 |
|
|
virtual void setNull(jint, jint, ::java::lang::String *) = 0;
|
161 |
|
|
virtual void setURL(jint, ::java::net::URL *) = 0;
|
162 |
|
|
virtual ::java::sql::ParameterMetaData * getParameterMetaData() = 0;
|
163 |
|
|
virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
|
164 |
|
|
virtual jint executeUpdate(::java::lang::String *) = 0;
|
165 |
|
|
virtual void close() = 0;
|
166 |
|
|
virtual jint getMaxFieldSize() = 0;
|
167 |
|
|
virtual void setMaxFieldSize(jint) = 0;
|
168 |
|
|
virtual jint getMaxRows() = 0;
|
169 |
|
|
virtual void setMaxRows(jint) = 0;
|
170 |
|
|
virtual void setEscapeProcessing(jboolean) = 0;
|
171 |
|
|
virtual jint getQueryTimeout() = 0;
|
172 |
|
|
virtual void setQueryTimeout(jint) = 0;
|
173 |
|
|
virtual void cancel() = 0;
|
174 |
|
|
virtual ::java::sql::SQLWarning * getWarnings() = 0;
|
175 |
|
|
virtual void clearWarnings() = 0;
|
176 |
|
|
virtual void setCursorName(::java::lang::String *) = 0;
|
177 |
|
|
virtual jboolean execute(::java::lang::String *) = 0;
|
178 |
|
|
virtual ::java::sql::ResultSet * getResultSet() = 0;
|
179 |
|
|
virtual jint getUpdateCount() = 0;
|
180 |
|
|
virtual jboolean getMoreResults() = 0;
|
181 |
|
|
virtual void setFetchDirection(jint) = 0;
|
182 |
|
|
virtual jint getFetchDirection() = 0;
|
183 |
|
|
virtual void setFetchSize(jint) = 0;
|
184 |
|
|
virtual jint getFetchSize() = 0;
|
185 |
|
|
virtual jint getResultSetConcurrency() = 0;
|
186 |
|
|
virtual jint getResultSetType() = 0;
|
187 |
|
|
virtual void addBatch(::java::lang::String *) = 0;
|
188 |
|
|
virtual void clearBatch() = 0;
|
189 |
|
|
virtual JArray< jint > * executeBatch() = 0;
|
190 |
|
|
virtual ::java::sql::Connection * getConnection() = 0;
|
191 |
|
|
virtual jboolean getMoreResults(jint) = 0;
|
192 |
|
|
virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
|
193 |
|
|
virtual jint executeUpdate(::java::lang::String *, jint) = 0;
|
194 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
|
195 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
196 |
|
|
virtual jboolean execute(::java::lang::String *, jint) = 0;
|
197 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
|
198 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
199 |
|
|
virtual jint getResultSetHoldability() = 0;
|
200 |
|
|
static ::java::lang::Class class$;
|
201 |
|
|
} __attribute__ ((java_interface));
|
202 |
|
|
|
203 |
|
|
#endif // __java_sql_CallableStatement__
|