Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/jdk/java/sql/testng/util/StubCallableStatement.java
41152 views
1
/*
2
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
package util;
24
25
import java.io.InputStream;
26
import java.io.Reader;
27
import java.math.BigDecimal;
28
import java.net.URL;
29
import java.sql.Array;
30
import java.sql.Blob;
31
import java.sql.CallableStatement;
32
import java.sql.Clob;
33
import java.sql.Date;
34
import java.sql.NClob;
35
import java.sql.Ref;
36
import java.sql.RowId;
37
import java.sql.SQLException;
38
import java.sql.SQLXML;
39
import java.sql.Time;
40
import java.sql.Timestamp;
41
import java.util.Calendar;
42
import java.util.Map;
43
44
public class StubCallableStatement extends StubPreparedStatement
45
implements CallableStatement{
46
47
@Override
48
public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException {
49
throw new UnsupportedOperationException("Not supported yet.");
50
}
51
52
@Override
53
public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException {
54
throw new UnsupportedOperationException("Not supported yet.");
55
}
56
57
@Override
58
public boolean wasNull() throws SQLException {
59
throw new UnsupportedOperationException("Not supported yet.");
60
}
61
62
@Override
63
public String getString(int parameterIndex) throws SQLException {
64
throw new UnsupportedOperationException("Not supported yet.");
65
}
66
67
@Override
68
public boolean getBoolean(int parameterIndex) throws SQLException {
69
throw new UnsupportedOperationException("Not supported yet.");
70
}
71
72
@Override
73
public byte getByte(int parameterIndex) throws SQLException {
74
throw new UnsupportedOperationException("Not supported yet.");
75
}
76
77
@Override
78
public short getShort(int parameterIndex) throws SQLException {
79
throw new UnsupportedOperationException("Not supported yet.");
80
}
81
82
@Override
83
public int getInt(int parameterIndex) throws SQLException {
84
throw new UnsupportedOperationException("Not supported yet.");
85
}
86
87
@Override
88
public long getLong(int parameterIndex) throws SQLException {
89
throw new UnsupportedOperationException("Not supported yet.");
90
}
91
92
@Override
93
public float getFloat(int parameterIndex) throws SQLException {
94
throw new UnsupportedOperationException("Not supported yet.");
95
}
96
97
@Override
98
public double getDouble(int parameterIndex) throws SQLException {
99
throw new UnsupportedOperationException("Not supported yet.");
100
}
101
102
@Override
103
public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException {
104
throw new UnsupportedOperationException("Not supported yet.");
105
}
106
107
@Override
108
public byte[] getBytes(int parameterIndex) throws SQLException {
109
throw new UnsupportedOperationException("Not supported yet.");
110
}
111
112
@Override
113
public Date getDate(int parameterIndex) throws SQLException {
114
throw new UnsupportedOperationException("Not supported yet.");
115
}
116
117
@Override
118
public Time getTime(int parameterIndex) throws SQLException {
119
throw new UnsupportedOperationException("Not supported yet.");
120
}
121
122
@Override
123
public Timestamp getTimestamp(int parameterIndex) throws SQLException {
124
throw new UnsupportedOperationException("Not supported yet.");
125
}
126
127
@Override
128
public Object getObject(int parameterIndex) throws SQLException {
129
throw new UnsupportedOperationException("Not supported yet.");
130
}
131
132
@Override
133
public BigDecimal getBigDecimal(int parameterIndex) throws SQLException {
134
throw new UnsupportedOperationException("Not supported yet.");
135
}
136
137
@Override
138
public Object getObject(int parameterIndex, Map<String, Class<?>> map) throws SQLException {
139
throw new UnsupportedOperationException("Not supported yet.");
140
}
141
142
@Override
143
public Ref getRef(int parameterIndex) throws SQLException {
144
throw new UnsupportedOperationException("Not supported yet.");
145
}
146
147
@Override
148
public Blob getBlob(int parameterIndex) throws SQLException {
149
throw new UnsupportedOperationException("Not supported yet.");
150
}
151
152
@Override
153
public Clob getClob(int parameterIndex) throws SQLException {
154
throw new UnsupportedOperationException("Not supported yet.");
155
}
156
157
@Override
158
public Array getArray(int parameterIndex) throws SQLException {
159
throw new UnsupportedOperationException("Not supported yet.");
160
}
161
162
@Override
163
public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
164
throw new UnsupportedOperationException("Not supported yet.");
165
}
166
167
@Override
168
public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
169
throw new UnsupportedOperationException("Not supported yet.");
170
}
171
172
@Override
173
public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException {
174
throw new UnsupportedOperationException("Not supported yet.");
175
}
176
177
@Override
178
public void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException {
179
throw new UnsupportedOperationException("Not supported yet.");
180
}
181
182
@Override
183
public void registerOutParameter(String parameterName, int sqlType) throws SQLException {
184
throw new UnsupportedOperationException("Not supported yet.");
185
}
186
187
@Override
188
public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException {
189
throw new UnsupportedOperationException("Not supported yet.");
190
}
191
192
@Override
193
public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException {
194
throw new UnsupportedOperationException("Not supported yet.");
195
}
196
197
@Override
198
public URL getURL(int parameterIndex) throws SQLException {
199
throw new UnsupportedOperationException("Not supported yet.");
200
}
201
202
@Override
203
public void setURL(String parameterName, URL val) throws SQLException {
204
throw new UnsupportedOperationException("Not supported yet.");
205
}
206
207
@Override
208
public void setNull(String parameterName, int sqlType) throws SQLException {
209
throw new UnsupportedOperationException("Not supported yet.");
210
}
211
212
@Override
213
public void setBoolean(String parameterName, boolean x) throws SQLException {
214
throw new UnsupportedOperationException("Not supported yet.");
215
}
216
217
@Override
218
public void setByte(String parameterName, byte x) throws SQLException {
219
throw new UnsupportedOperationException("Not supported yet.");
220
}
221
222
@Override
223
public void setShort(String parameterName, short x) throws SQLException {
224
throw new UnsupportedOperationException("Not supported yet.");
225
}
226
227
@Override
228
public void setInt(String parameterName, int x) throws SQLException {
229
throw new UnsupportedOperationException("Not supported yet.");
230
}
231
232
@Override
233
public void setLong(String parameterName, long x) throws SQLException {
234
throw new UnsupportedOperationException("Not supported yet.");
235
}
236
237
@Override
238
public void setFloat(String parameterName, float x) throws SQLException {
239
throw new UnsupportedOperationException("Not supported yet.");
240
}
241
242
@Override
243
public void setDouble(String parameterName, double x) throws SQLException {
244
throw new UnsupportedOperationException("Not supported yet.");
245
}
246
247
@Override
248
public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException {
249
throw new UnsupportedOperationException("Not supported yet.");
250
}
251
252
@Override
253
public void setString(String parameterName, String x) throws SQLException {
254
throw new UnsupportedOperationException("Not supported yet.");
255
}
256
257
@Override
258
public void setBytes(String parameterName, byte[] x) throws SQLException {
259
throw new UnsupportedOperationException("Not supported yet.");
260
}
261
262
@Override
263
public void setDate(String parameterName, Date x) throws SQLException {
264
throw new UnsupportedOperationException("Not supported yet.");
265
}
266
267
@Override
268
public void setTime(String parameterName, Time x) throws SQLException {
269
throw new UnsupportedOperationException("Not supported yet.");
270
}
271
272
@Override
273
public void setTimestamp(String parameterName, Timestamp x) throws SQLException {
274
throw new UnsupportedOperationException("Not supported yet.");
275
}
276
277
@Override
278
public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException {
279
throw new UnsupportedOperationException("Not supported yet.");
280
}
281
282
@Override
283
public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException {
284
throw new UnsupportedOperationException("Not supported yet.");
285
}
286
287
@Override
288
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException {
289
throw new UnsupportedOperationException("Not supported yet.");
290
}
291
292
@Override
293
public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException {
294
throw new UnsupportedOperationException("Not supported yet.");
295
}
296
297
@Override
298
public void setObject(String parameterName, Object x) throws SQLException {
299
throw new UnsupportedOperationException("Not supported yet.");
300
}
301
302
@Override
303
public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException {
304
throw new UnsupportedOperationException("Not supported yet.");
305
}
306
307
@Override
308
public void setDate(String parameterName, Date x, Calendar cal) throws SQLException {
309
throw new UnsupportedOperationException("Not supported yet.");
310
}
311
312
@Override
313
public void setTime(String parameterName, Time x, Calendar cal) throws SQLException {
314
throw new UnsupportedOperationException("Not supported yet.");
315
}
316
317
@Override
318
public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException {
319
throw new UnsupportedOperationException("Not supported yet.");
320
}
321
322
@Override
323
public void setNull(String parameterName, int sqlType, String typeName) throws SQLException {
324
throw new UnsupportedOperationException("Not supported yet.");
325
}
326
327
@Override
328
public String getString(String parameterName) throws SQLException {
329
throw new UnsupportedOperationException("Not supported yet.");
330
}
331
332
@Override
333
public boolean getBoolean(String parameterName) throws SQLException {
334
throw new UnsupportedOperationException("Not supported yet.");
335
}
336
337
@Override
338
public byte getByte(String parameterName) throws SQLException {
339
throw new UnsupportedOperationException("Not supported yet.");
340
}
341
342
@Override
343
public short getShort(String parameterName) throws SQLException {
344
throw new UnsupportedOperationException("Not supported yet.");
345
}
346
347
@Override
348
public int getInt(String parameterName) throws SQLException {
349
throw new UnsupportedOperationException("Not supported yet.");
350
}
351
352
@Override
353
public long getLong(String parameterName) throws SQLException {
354
throw new UnsupportedOperationException("Not supported yet.");
355
}
356
357
@Override
358
public float getFloat(String parameterName) throws SQLException {
359
throw new UnsupportedOperationException("Not supported yet.");
360
}
361
362
@Override
363
public double getDouble(String parameterName) throws SQLException {
364
throw new UnsupportedOperationException("Not supported yet.");
365
}
366
367
@Override
368
public byte[] getBytes(String parameterName) throws SQLException {
369
throw new UnsupportedOperationException("Not supported yet.");
370
}
371
372
@Override
373
public Date getDate(String parameterName) throws SQLException {
374
throw new UnsupportedOperationException("Not supported yet.");
375
}
376
377
@Override
378
public Time getTime(String parameterName) throws SQLException {
379
throw new UnsupportedOperationException("Not supported yet.");
380
}
381
382
@Override
383
public Timestamp getTimestamp(String parameterName) throws SQLException {
384
throw new UnsupportedOperationException("Not supported yet.");
385
}
386
387
@Override
388
public Object getObject(String parameterName) throws SQLException {
389
throw new UnsupportedOperationException("Not supported yet.");
390
}
391
392
@Override
393
public BigDecimal getBigDecimal(String parameterName) throws SQLException {
394
throw new UnsupportedOperationException("Not supported yet.");
395
}
396
397
@Override
398
public Object getObject(String parameterName, Map<String, Class<?>> map) throws SQLException {
399
throw new UnsupportedOperationException("Not supported yet.");
400
}
401
402
@Override
403
public Ref getRef(String parameterName) throws SQLException {
404
throw new UnsupportedOperationException("Not supported yet.");
405
}
406
407
@Override
408
public Blob getBlob(String parameterName) throws SQLException {
409
throw new UnsupportedOperationException("Not supported yet.");
410
}
411
412
@Override
413
public Clob getClob(String parameterName) throws SQLException {
414
throw new UnsupportedOperationException("Not supported yet.");
415
}
416
417
@Override
418
public Array getArray(String parameterName) throws SQLException {
419
throw new UnsupportedOperationException("Not supported yet.");
420
}
421
422
@Override
423
public Date getDate(String parameterName, Calendar cal) throws SQLException {
424
throw new UnsupportedOperationException("Not supported yet.");
425
}
426
427
@Override
428
public Time getTime(String parameterName, Calendar cal) throws SQLException {
429
throw new UnsupportedOperationException("Not supported yet.");
430
}
431
432
@Override
433
public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException {
434
throw new UnsupportedOperationException("Not supported yet.");
435
}
436
437
@Override
438
public URL getURL(String parameterName) throws SQLException {
439
throw new UnsupportedOperationException("Not supported yet.");
440
}
441
442
@Override
443
public RowId getRowId(int parameterIndex) throws SQLException {
444
throw new UnsupportedOperationException("Not supported yet.");
445
}
446
447
@Override
448
public RowId getRowId(String parameterName) throws SQLException {
449
throw new UnsupportedOperationException("Not supported yet.");
450
}
451
452
@Override
453
public void setRowId(String parameterName, RowId x) throws SQLException {
454
throw new UnsupportedOperationException("Not supported yet.");
455
}
456
457
@Override
458
public void setNString(String parameterName, String value) throws SQLException {
459
throw new UnsupportedOperationException("Not supported yet.");
460
}
461
462
@Override
463
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {
464
throw new UnsupportedOperationException("Not supported yet.");
465
}
466
467
@Override
468
public void setNClob(String parameterName, NClob value) throws SQLException {
469
throw new UnsupportedOperationException("Not supported yet.");
470
}
471
472
@Override
473
public void setClob(String parameterName, Reader reader, long length) throws SQLException {
474
throw new UnsupportedOperationException("Not supported yet.");
475
}
476
477
@Override
478
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException {
479
throw new UnsupportedOperationException("Not supported yet.");
480
}
481
482
@Override
483
public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
484
throw new UnsupportedOperationException("Not supported yet.");
485
}
486
487
@Override
488
public NClob getNClob(int parameterIndex) throws SQLException {
489
throw new UnsupportedOperationException("Not supported yet.");
490
}
491
492
@Override
493
public NClob getNClob(String parameterName) throws SQLException {
494
throw new UnsupportedOperationException("Not supported yet.");
495
}
496
497
@Override
498
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
499
throw new UnsupportedOperationException("Not supported yet.");
500
}
501
502
@Override
503
public SQLXML getSQLXML(int parameterIndex) throws SQLException {
504
throw new UnsupportedOperationException("Not supported yet.");
505
}
506
507
@Override
508
public SQLXML getSQLXML(String parameterName) throws SQLException {
509
throw new UnsupportedOperationException("Not supported yet.");
510
}
511
512
@Override
513
public String getNString(int parameterIndex) throws SQLException {
514
throw new UnsupportedOperationException("Not supported yet.");
515
}
516
517
@Override
518
public String getNString(String parameterName) throws SQLException {
519
throw new UnsupportedOperationException("Not supported yet.");
520
}
521
522
@Override
523
public Reader getNCharacterStream(int parameterIndex) throws SQLException {
524
throw new UnsupportedOperationException("Not supported yet.");
525
}
526
527
@Override
528
public Reader getNCharacterStream(String parameterName) throws SQLException {
529
throw new UnsupportedOperationException("Not supported yet.");
530
}
531
532
@Override
533
public Reader getCharacterStream(int parameterIndex) throws SQLException {
534
throw new UnsupportedOperationException("Not supported yet.");
535
}
536
537
@Override
538
public Reader getCharacterStream(String parameterName) throws SQLException {
539
throw new UnsupportedOperationException("Not supported yet.");
540
}
541
542
@Override
543
public void setBlob(String parameterName, Blob x) throws SQLException {
544
throw new UnsupportedOperationException("Not supported yet.");
545
}
546
547
@Override
548
public void setClob(String parameterName, Clob x) throws SQLException {
549
throw new UnsupportedOperationException("Not supported yet.");
550
}
551
552
@Override
553
public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException {
554
throw new UnsupportedOperationException("Not supported yet.");
555
}
556
557
@Override
558
public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException {
559
throw new UnsupportedOperationException("Not supported yet.");
560
}
561
562
@Override
563
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException {
564
throw new UnsupportedOperationException("Not supported yet.");
565
}
566
567
@Override
568
public void setAsciiStream(String parameterName, InputStream x) throws SQLException {
569
throw new UnsupportedOperationException("Not supported yet.");
570
}
571
572
@Override
573
public void setBinaryStream(String parameterName, InputStream x) throws SQLException {
574
throw new UnsupportedOperationException("Not supported yet.");
575
}
576
577
@Override
578
public void setCharacterStream(String parameterName, Reader reader) throws SQLException {
579
throw new UnsupportedOperationException("Not supported yet.");
580
}
581
582
@Override
583
public void setNCharacterStream(String parameterName, Reader value) throws SQLException {
584
throw new UnsupportedOperationException("Not supported yet.");
585
}
586
587
@Override
588
public void setClob(String parameterName, Reader reader) throws SQLException {
589
throw new UnsupportedOperationException("Not supported yet.");
590
}
591
592
@Override
593
public void setBlob(String parameterName, InputStream inputStream) throws SQLException {
594
throw new UnsupportedOperationException("Not supported yet.");
595
}
596
597
@Override
598
public void setNClob(String parameterName, Reader reader) throws SQLException {
599
throw new UnsupportedOperationException("Not supported yet.");
600
}
601
602
@Override
603
public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException {
604
throw new UnsupportedOperationException("Not supported yet.");
605
}
606
607
@Override
608
public <T> T getObject(String parameterName, Class<T> type) throws SQLException {
609
throw new UnsupportedOperationException("Not supported yet.");
610
}
611
612
}
613
614