1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_sql_ResultSet__
|
5 |
|
|
#define __java_sql_ResultSet__
|
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 Clob;
|
29 |
|
|
class Date;
|
30 |
|
|
class Ref;
|
31 |
|
|
class ResultSet;
|
32 |
|
|
class ResultSetMetaData;
|
33 |
|
|
class SQLWarning;
|
34 |
|
|
class Statement;
|
35 |
|
|
class Time;
|
36 |
|
|
class Timestamp;
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
class java::sql::ResultSet : public ::java::lang::Object
|
42 |
|
|
{
|
43 |
|
|
|
44 |
|
|
public:
|
45 |
|
|
virtual jboolean next() = 0;
|
46 |
|
|
virtual void close() = 0;
|
47 |
|
|
virtual jboolean wasNull() = 0;
|
48 |
|
|
virtual ::java::lang::String * getString(jint) = 0;
|
49 |
|
|
virtual jboolean getBoolean(jint) = 0;
|
50 |
|
|
virtual jbyte getByte(jint) = 0;
|
51 |
|
|
virtual jshort getShort(jint) = 0;
|
52 |
|
|
virtual jint getInt(jint) = 0;
|
53 |
|
|
virtual jlong getLong(jint) = 0;
|
54 |
|
|
virtual jfloat getFloat(jint) = 0;
|
55 |
|
|
virtual jdouble getDouble(jint) = 0;
|
56 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
|
57 |
|
|
virtual JArray< jbyte > * getBytes(jint) = 0;
|
58 |
|
|
virtual ::java::sql::Date * getDate(jint) = 0;
|
59 |
|
|
virtual ::java::sql::Time * getTime(jint) = 0;
|
60 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
|
61 |
|
|
virtual ::java::io::InputStream * getAsciiStream(jint) = 0;
|
62 |
|
|
virtual ::java::io::InputStream * getUnicodeStream(jint) = 0;
|
63 |
|
|
virtual ::java::io::InputStream * getBinaryStream(jint) = 0;
|
64 |
|
|
virtual ::java::lang::String * getString(::java::lang::String *) = 0;
|
65 |
|
|
virtual jboolean getBoolean(::java::lang::String *) = 0;
|
66 |
|
|
virtual jbyte getByte(::java::lang::String *) = 0;
|
67 |
|
|
virtual jshort getShort(::java::lang::String *) = 0;
|
68 |
|
|
virtual jint getInt(::java::lang::String *) = 0;
|
69 |
|
|
virtual jlong getLong(::java::lang::String *) = 0;
|
70 |
|
|
virtual jfloat getFloat(::java::lang::String *) = 0;
|
71 |
|
|
virtual jdouble getDouble(::java::lang::String *) = 0;
|
72 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *, jint) = 0;
|
73 |
|
|
virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
|
74 |
|
|
virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
|
75 |
|
|
virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
|
76 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
|
77 |
|
|
virtual ::java::io::InputStream * getAsciiStream(::java::lang::String *) = 0;
|
78 |
|
|
virtual ::java::io::InputStream * getUnicodeStream(::java::lang::String *) = 0;
|
79 |
|
|
virtual ::java::io::InputStream * getBinaryStream(::java::lang::String *) = 0;
|
80 |
|
|
virtual ::java::sql::SQLWarning * getWarnings() = 0;
|
81 |
|
|
virtual void clearWarnings() = 0;
|
82 |
|
|
virtual ::java::lang::String * getCursorName() = 0;
|
83 |
|
|
virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
|
84 |
|
|
virtual ::java::lang::Object * getObject(jint) = 0;
|
85 |
|
|
virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
|
86 |
|
|
virtual jint findColumn(::java::lang::String *) = 0;
|
87 |
|
|
virtual ::java::io::Reader * getCharacterStream(jint) = 0;
|
88 |
|
|
virtual ::java::io::Reader * getCharacterStream(::java::lang::String *) = 0;
|
89 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
|
90 |
|
|
virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
|
91 |
|
|
virtual jboolean isBeforeFirst() = 0;
|
92 |
|
|
virtual jboolean isAfterLast() = 0;
|
93 |
|
|
virtual jboolean isFirst() = 0;
|
94 |
|
|
virtual jboolean isLast() = 0;
|
95 |
|
|
virtual void beforeFirst() = 0;
|
96 |
|
|
virtual void afterLast() = 0;
|
97 |
|
|
virtual jboolean first() = 0;
|
98 |
|
|
virtual jboolean last() = 0;
|
99 |
|
|
virtual jint getRow() = 0;
|
100 |
|
|
virtual jboolean absolute(jint) = 0;
|
101 |
|
|
virtual jboolean relative(jint) = 0;
|
102 |
|
|
virtual jboolean previous() = 0;
|
103 |
|
|
virtual void setFetchDirection(jint) = 0;
|
104 |
|
|
virtual jint getFetchDirection() = 0;
|
105 |
|
|
virtual void setFetchSize(jint) = 0;
|
106 |
|
|
virtual jint getFetchSize() = 0;
|
107 |
|
|
virtual jint getType() = 0;
|
108 |
|
|
virtual jint getConcurrency() = 0;
|
109 |
|
|
virtual jboolean rowUpdated() = 0;
|
110 |
|
|
virtual jboolean rowInserted() = 0;
|
111 |
|
|
virtual jboolean rowDeleted() = 0;
|
112 |
|
|
virtual void updateNull(jint) = 0;
|
113 |
|
|
virtual void updateBoolean(jint, jboolean) = 0;
|
114 |
|
|
virtual void updateByte(jint, jbyte) = 0;
|
115 |
|
|
virtual void updateShort(jint, jshort) = 0;
|
116 |
|
|
virtual void updateInt(jint, jint) = 0;
|
117 |
|
|
virtual void updateLong(jint, jlong) = 0;
|
118 |
|
|
virtual void updateFloat(jint, jfloat) = 0;
|
119 |
|
|
virtual void updateDouble(jint, jdouble) = 0;
|
120 |
|
|
virtual void updateBigDecimal(jint, ::java::math::BigDecimal *) = 0;
|
121 |
|
|
virtual void updateString(jint, ::java::lang::String *) = 0;
|
122 |
|
|
virtual void updateBytes(jint, JArray< jbyte > *) = 0;
|
123 |
|
|
virtual void updateDate(jint, ::java::sql::Date *) = 0;
|
124 |
|
|
virtual void updateTime(jint, ::java::sql::Time *) = 0;
|
125 |
|
|
virtual void updateTimestamp(jint, ::java::sql::Timestamp *) = 0;
|
126 |
|
|
virtual void updateAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
|
127 |
|
|
virtual void updateBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
|
128 |
|
|
virtual void updateCharacterStream(jint, ::java::io::Reader *, jint) = 0;
|
129 |
|
|
virtual void updateObject(jint, ::java::lang::Object *, jint) = 0;
|
130 |
|
|
virtual void updateObject(jint, ::java::lang::Object *) = 0;
|
131 |
|
|
virtual void updateNull(::java::lang::String *) = 0;
|
132 |
|
|
virtual void updateBoolean(::java::lang::String *, jboolean) = 0;
|
133 |
|
|
virtual void updateByte(::java::lang::String *, jbyte) = 0;
|
134 |
|
|
virtual void updateShort(::java::lang::String *, jshort) = 0;
|
135 |
|
|
virtual void updateInt(::java::lang::String *, jint) = 0;
|
136 |
|
|
virtual void updateLong(::java::lang::String *, jlong) = 0;
|
137 |
|
|
virtual void updateFloat(::java::lang::String *, jfloat) = 0;
|
138 |
|
|
virtual void updateDouble(::java::lang::String *, jdouble) = 0;
|
139 |
|
|
virtual void updateBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
|
140 |
|
|
virtual void updateString(::java::lang::String *, ::java::lang::String *) = 0;
|
141 |
|
|
virtual void updateBytes(::java::lang::String *, JArray< jbyte > *) = 0;
|
142 |
|
|
virtual void updateDate(::java::lang::String *, ::java::sql::Date *) = 0;
|
143 |
|
|
virtual void updateTime(::java::lang::String *, ::java::sql::Time *) = 0;
|
144 |
|
|
virtual void updateTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
|
145 |
|
|
virtual void updateAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
|
146 |
|
|
virtual void updateBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
|
147 |
|
|
virtual void updateCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
|
148 |
|
|
virtual void updateObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
|
149 |
|
|
virtual void updateObject(::java::lang::String *, ::java::lang::Object *) = 0;
|
150 |
|
|
virtual void insertRow() = 0;
|
151 |
|
|
virtual void updateRow() = 0;
|
152 |
|
|
virtual void deleteRow() = 0;
|
153 |
|
|
virtual void refreshRow() = 0;
|
154 |
|
|
virtual void cancelRowUpdates() = 0;
|
155 |
|
|
virtual void moveToInsertRow() = 0;
|
156 |
|
|
virtual void moveToCurrentRow() = 0;
|
157 |
|
|
virtual ::java::sql::Statement * getStatement() = 0;
|
158 |
|
|
virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
|
159 |
|
|
virtual ::java::sql::Ref * getRef(jint) = 0;
|
160 |
|
|
virtual ::java::sql::Blob * getBlob(jint) = 0;
|
161 |
|
|
virtual ::java::sql::Clob * getClob(jint) = 0;
|
162 |
|
|
virtual ::java::sql::Array * getArray(jint) = 0;
|
163 |
|
|
virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
|
164 |
|
|
virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
|
165 |
|
|
virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
|
166 |
|
|
virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
|
167 |
|
|
virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
|
168 |
|
|
virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
|
169 |
|
|
virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
|
170 |
|
|
virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
|
171 |
|
|
virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
|
172 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
|
173 |
|
|
virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
|
174 |
|
|
virtual ::java::net::URL * getURL(jint) = 0;
|
175 |
|
|
virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
|
176 |
|
|
virtual void updateRef(jint, ::java::sql::Ref *) = 0;
|
177 |
|
|
virtual void updateRef(::java::lang::String *, ::java::sql::Ref *) = 0;
|
178 |
|
|
virtual void updateBlob(jint, ::java::sql::Blob *) = 0;
|
179 |
|
|
virtual void updateBlob(::java::lang::String *, ::java::sql::Blob *) = 0;
|
180 |
|
|
virtual void updateClob(jint, ::java::sql::Clob *) = 0;
|
181 |
|
|
virtual void updateClob(::java::lang::String *, ::java::sql::Clob *) = 0;
|
182 |
|
|
virtual void updateArray(jint, ::java::sql::Array *) = 0;
|
183 |
|
|
virtual void updateArray(::java::lang::String *, ::java::sql::Array *) = 0;
|
184 |
|
|
static const jint FETCH_FORWARD = 1000;
|
185 |
|
|
static const jint FETCH_REVERSE = 1001;
|
186 |
|
|
static const jint FETCH_UNKNOWN = 1002;
|
187 |
|
|
static const jint TYPE_FORWARD_ONLY = 1003;
|
188 |
|
|
static const jint TYPE_SCROLL_INSENSITIVE = 1004;
|
189 |
|
|
static const jint TYPE_SCROLL_SENSITIVE = 1005;
|
190 |
|
|
static const jint CONCUR_READ_ONLY = 1007;
|
191 |
|
|
static const jint CONCUR_UPDATABLE = 1008;
|
192 |
|
|
static const jint HOLD_CURSORS_OVER_COMMIT = 1;
|
193 |
|
|
static const jint CLOSE_CURSORS_AT_COMMIT = 2;
|
194 |
|
|
static ::java::lang::Class class$;
|
195 |
|
|
} __attribute__ ((java_interface));
|
196 |
|
|
|
197 |
|
|
#endif // __java_sql_ResultSet__
|