1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shardingsphere.driver.jdbc.unsupported;
19
20 import java.io.InputStream;
21 import java.io.Reader;
22 import java.net.URL;
23 import java.sql.Array;
24 import java.sql.Blob;
25 import java.sql.Clob;
26 import java.sql.Date;
27 import java.sql.SQLException;
28 import java.sql.SQLFeatureNotSupportedException;
29 import java.sql.SQLWarning;
30 import java.sql.SQLXML;
31 import java.sql.Time;
32 import java.sql.Timestamp;
33 import java.util.Calendar;
34
35
36
37
38 public abstract class AbstractUnsupportedGeneratedKeysResultSet extends AbstractUnsupportedOperationResultSet {
39
40 @Override
41 public final boolean getBoolean(final int columnIndex) throws SQLException {
42 throw new SQLFeatureNotSupportedException("getBoolean");
43 }
44
45 @Override
46 public final boolean getBoolean(final String columnLabel) throws SQLException {
47 throw new SQLFeatureNotSupportedException("getBoolean");
48 }
49
50 @Override
51 public final Date getDate(final int columnIndex) throws SQLException {
52 throw new SQLFeatureNotSupportedException("getDate");
53 }
54
55 @Override
56 public final Date getDate(final String columnLabel) throws SQLException {
57 throw new SQLFeatureNotSupportedException("getDate");
58 }
59
60 @Override
61 public final Date getDate(final int columnIndex, final Calendar cal) throws SQLException {
62 throw new SQLFeatureNotSupportedException("getDate");
63 }
64
65 @Override
66 public final Date getDate(final String columnLabel, final Calendar cal) throws SQLException {
67 throw new SQLFeatureNotSupportedException("getDate");
68 }
69
70 @Override
71 public final Time getTime(final int columnIndex) throws SQLException {
72 throw new SQLFeatureNotSupportedException("getTime");
73 }
74
75 @Override
76 public final Time getTime(final int columnIndex, final Calendar cal) throws SQLException {
77 throw new SQLFeatureNotSupportedException("getTime");
78 }
79
80 @Override
81 public final Time getTime(final String columnLabel, final Calendar cal) throws SQLException {
82 throw new SQLFeatureNotSupportedException("getTime");
83 }
84
85 @Override
86 public final Time getTime(final String columnLabel) throws SQLException {
87 throw new SQLFeatureNotSupportedException("getTime");
88 }
89
90 @Override
91 public final Timestamp getTimestamp(final int columnIndex) throws SQLException {
92 throw new SQLFeatureNotSupportedException("getTimestamp");
93 }
94
95 @Override
96 public final Timestamp getTimestamp(final String columnLabel) throws SQLException {
97 throw new SQLFeatureNotSupportedException("getTimestamp");
98 }
99
100 @Override
101 public final Timestamp getTimestamp(final int columnIndex, final Calendar cal) throws SQLException {
102 throw new SQLFeatureNotSupportedException("getTimestamp");
103 }
104
105 @Override
106 public final Timestamp getTimestamp(final String columnLabel, final Calendar cal) throws SQLException {
107 throw new SQLFeatureNotSupportedException("getTimestamp");
108 }
109
110 @Override
111 public final Array getArray(final int columnIndex) throws SQLException {
112 throw new SQLFeatureNotSupportedException("getArray");
113 }
114
115 @Override
116 public final Array getArray(final String columnLabel) throws SQLException {
117 throw new SQLFeatureNotSupportedException("getArray");
118 }
119
120 @Override
121 public final InputStream getAsciiStream(final int columnIndex) throws SQLException {
122 throw new SQLFeatureNotSupportedException("getAsciiStream");
123 }
124
125 @Override
126 public final InputStream getAsciiStream(final String columnLabel) throws SQLException {
127 throw new SQLFeatureNotSupportedException("getAsciiStream");
128 }
129
130 @Override
131 public final InputStream getUnicodeStream(final int columnIndex) throws SQLException {
132 throw new SQLFeatureNotSupportedException("getUnicodeStream");
133 }
134
135 @Override
136 public final InputStream getUnicodeStream(final String columnLabel) throws SQLException {
137 throw new SQLFeatureNotSupportedException("getUnicodeStream");
138 }
139
140 @Override
141 public final InputStream getBinaryStream(final int columnIndex) throws SQLException {
142 throw new SQLFeatureNotSupportedException("getBinaryStream");
143 }
144
145 @Override
146 public final InputStream getBinaryStream(final String columnLabel) throws SQLException {
147 throw new SQLFeatureNotSupportedException("getBinaryStream");
148 }
149
150 @Override
151 public final SQLWarning getWarnings() throws SQLException {
152 throw new SQLFeatureNotSupportedException("getWarnings");
153 }
154
155 @Override
156 public final void clearWarnings() throws SQLException {
157 throw new SQLFeatureNotSupportedException("clearWarnings");
158 }
159
160 @Override
161 public final Reader getCharacterStream(final int columnIndex) throws SQLException {
162 throw new SQLFeatureNotSupportedException("getCharacterStream");
163 }
164
165 @Override
166 public final Reader getCharacterStream(final String columnLabel) throws SQLException {
167 throw new SQLFeatureNotSupportedException("getCharacterStream");
168 }
169
170 @Override
171 public final void setFetchDirection(final int direction) throws SQLException {
172 throw new SQLFeatureNotSupportedException("setFetchDirection");
173 }
174
175 @Override
176 public final int getFetchDirection() throws SQLException {
177 throw new SQLFeatureNotSupportedException("getFetchDirection");
178 }
179
180 @Override
181 public final void setFetchSize(final int rows) throws SQLException {
182 throw new SQLFeatureNotSupportedException("setFetchSize");
183 }
184
185 @Override
186 public final int getFetchSize() throws SQLException {
187 throw new SQLFeatureNotSupportedException("getFetchSize");
188 }
189
190 @Override
191 public final Blob getBlob(final int columnIndex) throws SQLException {
192 throw new SQLFeatureNotSupportedException("getBlob");
193 }
194
195 @Override
196 public final Blob getBlob(final String columnLabel) throws SQLException {
197 throw new SQLFeatureNotSupportedException("getBlob");
198 }
199
200 @Override
201 public final Clob getClob(final int columnIndex) throws SQLException {
202 throw new SQLFeatureNotSupportedException("getClob");
203 }
204
205 @Override
206 public final Clob getClob(final String columnLabel) throws SQLException {
207 throw new SQLFeatureNotSupportedException("getClob");
208 }
209
210 @Override
211 public final URL getURL(final int columnIndex) throws SQLException {
212 throw new SQLFeatureNotSupportedException("getURL");
213 }
214
215 @Override
216 public final URL getURL(final String columnLabel) throws SQLException {
217 throw new SQLFeatureNotSupportedException("getURL");
218 }
219
220 @Override
221 public final SQLXML getSQLXML(final int columnIndex) throws SQLException {
222 throw new SQLFeatureNotSupportedException("getSQLXML");
223 }
224
225 @Override
226 public final SQLXML getSQLXML(final String columnLabel) throws SQLException {
227 throw new SQLFeatureNotSupportedException("getSQLXML");
228 }
229 }