summaryrefslogtreecommitdiff
path: root/libjava/java/sql/ResultSet.h
blob: 969c0ecc3e700c8e4fc998bf7f0f17b55e8e4c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_sql_ResultSet__
#define __java_sql_ResultSet__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigDecimal;
    }
    namespace net
    {
        class URL;
    }
    namespace sql
    {
        class Array;
        class Blob;
        class Clob;
        class Date;
        class Ref;
        class ResultSet;
        class ResultSetMetaData;
        class SQLWarning;
        class Statement;
        class Time;
        class Timestamp;
    }
  }
}

class java::sql::ResultSet : public ::java::lang::Object
{

public:
  virtual jboolean next() = 0;
  virtual void close() = 0;
  virtual jboolean wasNull() = 0;
  virtual ::java::lang::String * getString(jint) = 0;
  virtual jboolean getBoolean(jint) = 0;
  virtual jbyte getByte(jint) = 0;
  virtual jshort getShort(jint) = 0;
  virtual jint getInt(jint) = 0;
  virtual jlong getLong(jint) = 0;
  virtual jfloat getFloat(jint) = 0;
  virtual jdouble getDouble(jint) = 0;
  virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
  virtual JArray< jbyte > * getBytes(jint) = 0;
  virtual ::java::sql::Date * getDate(jint) = 0;
  virtual ::java::sql::Time * getTime(jint) = 0;
  virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
  virtual ::java::io::InputStream * getAsciiStream(jint) = 0;
  virtual ::java::io::InputStream * getUnicodeStream(jint) = 0;
  virtual ::java::io::InputStream * getBinaryStream(jint) = 0;
  virtual ::java::lang::String * getString(::java::lang::String *) = 0;
  virtual jboolean getBoolean(::java::lang::String *) = 0;
  virtual jbyte getByte(::java::lang::String *) = 0;
  virtual jshort getShort(::java::lang::String *) = 0;
  virtual jint getInt(::java::lang::String *) = 0;
  virtual jlong getLong(::java::lang::String *) = 0;
  virtual jfloat getFloat(::java::lang::String *) = 0;
  virtual jdouble getDouble(::java::lang::String *) = 0;
  virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *, jint) = 0;
  virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
  virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
  virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
  virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
  virtual ::java::io::InputStream * getAsciiStream(::java::lang::String *) = 0;
  virtual ::java::io::InputStream * getUnicodeStream(::java::lang::String *) = 0;
  virtual ::java::io::InputStream * getBinaryStream(::java::lang::String *) = 0;
  virtual ::java::sql::SQLWarning * getWarnings() = 0;
  virtual void clearWarnings() = 0;
  virtual ::java::lang::String * getCursorName() = 0;
  virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
  virtual ::java::lang::Object * getObject(jint) = 0;
  virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
  virtual jint findColumn(::java::lang::String *) = 0;
  virtual ::java::io::Reader * getCharacterStream(jint) = 0;
  virtual ::java::io::Reader * getCharacterStream(::java::lang::String *) = 0;
  virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
  virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
  virtual jboolean isBeforeFirst() = 0;
  virtual jboolean isAfterLast() = 0;
  virtual jboolean isFirst() = 0;
  virtual jboolean isLast() = 0;
  virtual void beforeFirst() = 0;
  virtual void afterLast() = 0;
  virtual jboolean first() = 0;
  virtual jboolean last() = 0;
  virtual jint getRow() = 0;
  virtual jboolean absolute(jint) = 0;
  virtual jboolean relative(jint) = 0;
  virtual jboolean previous() = 0;
  virtual void setFetchDirection(jint) = 0;
  virtual jint getFetchDirection() = 0;
  virtual void setFetchSize(jint) = 0;
  virtual jint getFetchSize() = 0;
  virtual jint getType() = 0;
  virtual jint getConcurrency() = 0;
  virtual jboolean rowUpdated() = 0;
  virtual jboolean rowInserted() = 0;
  virtual jboolean rowDeleted() = 0;
  virtual void updateNull(jint) = 0;
  virtual void updateBoolean(jint, jboolean) = 0;
  virtual void updateByte(jint, jbyte) = 0;
  virtual void updateShort(jint, jshort) = 0;
  virtual void updateInt(jint, jint) = 0;
  virtual void updateLong(jint, jlong) = 0;
  virtual void updateFloat(jint, jfloat) = 0;
  virtual void updateDouble(jint, jdouble) = 0;
  virtual void updateBigDecimal(jint, ::java::math::BigDecimal *) = 0;
  virtual void updateString(jint, ::java::lang::String *) = 0;
  virtual void updateBytes(jint, JArray< jbyte > *) = 0;
  virtual void updateDate(jint, ::java::sql::Date *) = 0;
  virtual void updateTime(jint, ::java::sql::Time *) = 0;
  virtual void updateTimestamp(jint, ::java::sql::Timestamp *) = 0;
  virtual void updateAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
  virtual void updateBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
  virtual void updateCharacterStream(jint, ::java::io::Reader *, jint) = 0;
  virtual void updateObject(jint, ::java::lang::Object *, jint) = 0;
  virtual void updateObject(jint, ::java::lang::Object *) = 0;
  virtual void updateNull(::java::lang::String *) = 0;
  virtual void updateBoolean(::java::lang::String *, jboolean) = 0;
  virtual void updateByte(::java::lang::String *, jbyte) = 0;
  virtual void updateShort(::java::lang::String *, jshort) = 0;
  virtual void updateInt(::java::lang::String *, jint) = 0;
  virtual void updateLong(::java::lang::String *, jlong) = 0;
  virtual void updateFloat(::java::lang::String *, jfloat) = 0;
  virtual void updateDouble(::java::lang::String *, jdouble) = 0;
  virtual void updateBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
  virtual void updateString(::java::lang::String *, ::java::lang::String *) = 0;
  virtual void updateBytes(::java::lang::String *, JArray< jbyte > *) = 0;
  virtual void updateDate(::java::lang::String *, ::java::sql::Date *) = 0;
  virtual void updateTime(::java::lang::String *, ::java::sql::Time *) = 0;
  virtual void updateTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
  virtual void updateAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
  virtual void updateBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
  virtual void updateCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
  virtual void updateObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
  virtual void updateObject(::java::lang::String *, ::java::lang::Object *) = 0;
  virtual void insertRow() = 0;
  virtual void updateRow() = 0;
  virtual void deleteRow() = 0;
  virtual void refreshRow() = 0;
  virtual void cancelRowUpdates() = 0;
  virtual void moveToInsertRow() = 0;
  virtual void moveToCurrentRow() = 0;
  virtual ::java::sql::Statement * getStatement() = 0;
  virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
  virtual ::java::sql::Ref * getRef(jint) = 0;
  virtual ::java::sql::Blob * getBlob(jint) = 0;
  virtual ::java::sql::Clob * getClob(jint) = 0;
  virtual ::java::sql::Array * getArray(jint) = 0;
  virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
  virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
  virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
  virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
  virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
  virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
  virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
  virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
  virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
  virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
  virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
  virtual ::java::net::URL * getURL(jint) = 0;
  virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
  virtual void updateRef(jint, ::java::sql::Ref *) = 0;
  virtual void updateRef(::java::lang::String *, ::java::sql::Ref *) = 0;
  virtual void updateBlob(jint, ::java::sql::Blob *) = 0;
  virtual void updateBlob(::java::lang::String *, ::java::sql::Blob *) = 0;
  virtual void updateClob(jint, ::java::sql::Clob *) = 0;
  virtual void updateClob(::java::lang::String *, ::java::sql::Clob *) = 0;
  virtual void updateArray(jint, ::java::sql::Array *) = 0;
  virtual void updateArray(::java::lang::String *, ::java::sql::Array *) = 0;
  static const jint FETCH_FORWARD = 1000;
  static const jint FETCH_REVERSE = 1001;
  static const jint FETCH_UNKNOWN = 1002;
  static const jint TYPE_FORWARD_ONLY = 1003;
  static const jint TYPE_SCROLL_INSENSITIVE = 1004;
  static const jint TYPE_SCROLL_SENSITIVE = 1005;
  static const jint CONCUR_READ_ONLY = 1007;
  static const jint CONCUR_UPDATABLE = 1008;
  static const jint HOLD_CURSORS_OVER_COMMIT = 1;
  static const jint CLOSE_CURSORS_AT_COMMIT = 2;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_sql_ResultSet__