-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQLOutput.swift
More file actions
642 lines (469 loc) · 30.5 KB
/
SQLOutput.swift
File metadata and controls
642 lines (469 loc) · 30.5 KB
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
import java_swift
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// JAVA_HOME: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home ///
/// Tue Dec 20 11:30:33 GMT 2016 ///
/// interface java.sql.SQLOutput ///
public protocol SQLOutput: JavaProtocol {
/// public abstract void java.sql.SQLOutput.writeObject(java.sql.SQLData) throws java.sql.SQLException
func writeObject( arg0: SQLData? ) throws /* java.sql.SQLException */
func writeObject( _ _arg0: SQLData? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeInt(int) throws java.sql.SQLException
func writeInt( arg0: Int ) throws /* java.sql.SQLException */
func writeInt( _ _arg0: Int ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeBytes(byte[]) throws java.sql.SQLException
func writeBytes( arg0: [Int8]? ) throws /* java.sql.SQLException */
func writeBytes( _ _arg0: [Int8]? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeLong(long) throws java.sql.SQLException
func writeLong( arg0: Int64 ) throws /* java.sql.SQLException */
func writeLong( _ _arg0: Int64 ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeByte(byte) throws java.sql.SQLException
func writeByte( arg0: Int8 ) throws /* java.sql.SQLException */
func writeByte( _ _arg0: Int8 ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeShort(short) throws java.sql.SQLException
func writeShort( arg0: Int16 ) throws /* java.sql.SQLException */
func writeShort( _ _arg0: Int16 ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeFloat(float) throws java.sql.SQLException
func writeFloat( arg0: Float ) throws /* java.sql.SQLException */
func writeFloat( _ _arg0: Float ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeString(java.lang.String) throws java.sql.SQLException
func writeString( arg0: String? ) throws /* java.sql.SQLException */
func writeString( _ _arg0: String? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeBoolean(boolean) throws java.sql.SQLException
func writeBoolean( arg0: Bool ) throws /* java.sql.SQLException */
func writeBoolean( _ _arg0: Bool ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeDouble(double) throws java.sql.SQLException
func writeDouble( arg0: Double ) throws /* java.sql.SQLException */
func writeDouble( _ _arg0: Double ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeBigDecimal(java.math.BigDecimal) throws java.sql.SQLException
func writeBigDecimal( arg0: /* java.math.BigDecimal */ UnclassedObject? ) throws /* java.sql.SQLException */
func writeBigDecimal( _ _arg0: /* java.math.BigDecimal */ UnclassedObject? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeDate(java.sql.Date) throws java.sql.SQLException
func writeDate( arg0: Date? ) throws /* java.sql.SQLException */
func writeDate( _ _arg0: Date? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeTime(java.sql.Time) throws java.sql.SQLException
func writeTime( arg0: Time? ) throws /* java.sql.SQLException */
func writeTime( _ _arg0: Time? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeTimestamp(java.sql.Timestamp) throws java.sql.SQLException
func writeTimestamp( arg0: Timestamp? ) throws /* java.sql.SQLException */
func writeTimestamp( _ _arg0: Timestamp? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeCharacterStream(java.io.Reader) throws java.sql.SQLException
func writeCharacterStream( arg0: /* java.io.Reader */ UnclassedObject? ) throws /* java.sql.SQLException */
func writeCharacterStream( _ _arg0: /* java.io.Reader */ UnclassedObject? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeAsciiStream(java.io.InputStream) throws java.sql.SQLException
func writeAsciiStream( arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */
func writeAsciiStream( _ _arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeBinaryStream(java.io.InputStream) throws java.sql.SQLException
func writeBinaryStream( arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */
func writeBinaryStream( _ _arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeRef(java.sql.Ref) throws java.sql.SQLException
func writeRef( arg0: Ref? ) throws /* java.sql.SQLException */
func writeRef( _ _arg0: Ref? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeBlob(java.sql.Blob) throws java.sql.SQLException
func writeBlob( arg0: Blob? ) throws /* java.sql.SQLException */
func writeBlob( _ _arg0: Blob? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeClob(java.sql.Clob) throws java.sql.SQLException
func writeClob( arg0: Clob? ) throws /* java.sql.SQLException */
func writeClob( _ _arg0: Clob? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeStruct(java.sql.Struct) throws java.sql.SQLException
func writeStruct( arg0: Struct? ) throws /* java.sql.SQLException */
func writeStruct( _ _arg0: Struct? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeArray(java.sql.Array) throws java.sql.SQLException
func writeArray( arg0: Array? ) throws /* java.sql.SQLException */
func writeArray( _ _arg0: Array? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeURL(java.net.URL) throws java.sql.SQLException
func writeURL( arg0: /* java.net.URL */ UnclassedObject? ) throws /* java.sql.SQLException */
func writeURL( _ _arg0: /* java.net.URL */ UnclassedObject? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeNString(java.lang.String) throws java.sql.SQLException
func writeNString( arg0: String? ) throws /* java.sql.SQLException */
func writeNString( _ _arg0: String? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeNClob(java.sql.NClob) throws java.sql.SQLException
func writeNClob( arg0: NClob? ) throws /* java.sql.SQLException */
func writeNClob( _ _arg0: NClob? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeRowId(java.sql.RowId) throws java.sql.SQLException
func writeRowId( arg0: RowId? ) throws /* java.sql.SQLException */
func writeRowId( _ _arg0: RowId? ) throws /* java.sql.SQLException */
/// public abstract void java.sql.SQLOutput.writeSQLXML(java.sql.SQLXML) throws java.sql.SQLException
func writeSQLXML( arg0: SQLXML? ) throws /* java.sql.SQLException */
func writeSQLXML( _ _arg0: SQLXML? ) throws /* java.sql.SQLException */
}
open class SQLOutputForward: JNIObjectForward, SQLOutput {
private static var SQLOutputJNIClass: jclass?
/// public abstract void java.sql.SQLOutput.writeObject(java.sql.SQLData) throws java.sql.SQLException
private static var writeObject_MethodID_28: jmethodID?
open func writeObject( arg0: SQLData? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeObject", methodSig: "(Ljava/sql/SQLData;)V", methodCache: &SQLOutputForward.writeObject_MethodID_28, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeObject( _ _arg0: SQLData? ) throws /* java.sql.SQLException */ {
try writeObject( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeInt(int) throws java.sql.SQLException
private static var writeInt_MethodID_29: jmethodID?
open func writeInt( arg0: Int ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeInt", methodSig: "(I)V", methodCache: &SQLOutputForward.writeInt_MethodID_29, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeInt( _ _arg0: Int ) throws /* java.sql.SQLException */ {
try writeInt( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeBytes(byte[]) throws java.sql.SQLException
private static var writeBytes_MethodID_30: jmethodID?
open func writeBytes( arg0: [Int8]? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeBytes", methodSig: "([B)V", methodCache: &SQLOutputForward.writeBytes_MethodID_30, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeBytes( _ _arg0: [Int8]? ) throws /* java.sql.SQLException */ {
try writeBytes( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeLong(long) throws java.sql.SQLException
private static var writeLong_MethodID_31: jmethodID?
open func writeLong( arg0: Int64 ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeLong", methodSig: "(J)V", methodCache: &SQLOutputForward.writeLong_MethodID_31, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeLong( _ _arg0: Int64 ) throws /* java.sql.SQLException */ {
try writeLong( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeByte(byte) throws java.sql.SQLException
private static var writeByte_MethodID_32: jmethodID?
open func writeByte( arg0: Int8 ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeByte", methodSig: "(B)V", methodCache: &SQLOutputForward.writeByte_MethodID_32, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeByte( _ _arg0: Int8 ) throws /* java.sql.SQLException */ {
try writeByte( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeShort(short) throws java.sql.SQLException
private static var writeShort_MethodID_33: jmethodID?
open func writeShort( arg0: Int16 ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeShort", methodSig: "(S)V", methodCache: &SQLOutputForward.writeShort_MethodID_33, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeShort( _ _arg0: Int16 ) throws /* java.sql.SQLException */ {
try writeShort( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeFloat(float) throws java.sql.SQLException
private static var writeFloat_MethodID_34: jmethodID?
open func writeFloat( arg0: Float ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeFloat", methodSig: "(F)V", methodCache: &SQLOutputForward.writeFloat_MethodID_34, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeFloat( _ _arg0: Float ) throws /* java.sql.SQLException */ {
try writeFloat( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeString(java.lang.String) throws java.sql.SQLException
private static var writeString_MethodID_35: jmethodID?
open func writeString( arg0: String? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeString", methodSig: "(Ljava/lang/String;)V", methodCache: &SQLOutputForward.writeString_MethodID_35, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeString( _ _arg0: String? ) throws /* java.sql.SQLException */ {
try writeString( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeBoolean(boolean) throws java.sql.SQLException
private static var writeBoolean_MethodID_36: jmethodID?
open func writeBoolean( arg0: Bool ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeBoolean", methodSig: "(Z)V", methodCache: &SQLOutputForward.writeBoolean_MethodID_36, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeBoolean( _ _arg0: Bool ) throws /* java.sql.SQLException */ {
try writeBoolean( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeDouble(double) throws java.sql.SQLException
private static var writeDouble_MethodID_37: jmethodID?
open func writeDouble( arg0: Double ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeDouble", methodSig: "(D)V", methodCache: &SQLOutputForward.writeDouble_MethodID_37, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeDouble( _ _arg0: Double ) throws /* java.sql.SQLException */ {
try writeDouble( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeBigDecimal(java.math.BigDecimal) throws java.sql.SQLException
private static var writeBigDecimal_MethodID_38: jmethodID?
open func writeBigDecimal( arg0: /* java.math.BigDecimal */ UnclassedObject? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeBigDecimal", methodSig: "(Ljava/math/BigDecimal;)V", methodCache: &SQLOutputForward.writeBigDecimal_MethodID_38, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeBigDecimal( _ _arg0: /* java.math.BigDecimal */ UnclassedObject? ) throws /* java.sql.SQLException */ {
try writeBigDecimal( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeDate(java.sql.Date) throws java.sql.SQLException
private static var writeDate_MethodID_39: jmethodID?
open func writeDate( arg0: Date? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeDate", methodSig: "(Ljava/sql/Date;)V", methodCache: &SQLOutputForward.writeDate_MethodID_39, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeDate( _ _arg0: Date? ) throws /* java.sql.SQLException */ {
try writeDate( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeTime(java.sql.Time) throws java.sql.SQLException
private static var writeTime_MethodID_40: jmethodID?
open func writeTime( arg0: Time? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeTime", methodSig: "(Ljava/sql/Time;)V", methodCache: &SQLOutputForward.writeTime_MethodID_40, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeTime( _ _arg0: Time? ) throws /* java.sql.SQLException */ {
try writeTime( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeTimestamp(java.sql.Timestamp) throws java.sql.SQLException
private static var writeTimestamp_MethodID_41: jmethodID?
open func writeTimestamp( arg0: Timestamp? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeTimestamp", methodSig: "(Ljava/sql/Timestamp;)V", methodCache: &SQLOutputForward.writeTimestamp_MethodID_41, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeTimestamp( _ _arg0: Timestamp? ) throws /* java.sql.SQLException */ {
try writeTimestamp( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeCharacterStream(java.io.Reader) throws java.sql.SQLException
private static var writeCharacterStream_MethodID_42: jmethodID?
open func writeCharacterStream( arg0: /* java.io.Reader */ UnclassedObject? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeCharacterStream", methodSig: "(Ljava/io/Reader;)V", methodCache: &SQLOutputForward.writeCharacterStream_MethodID_42, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeCharacterStream( _ _arg0: /* java.io.Reader */ UnclassedObject? ) throws /* java.sql.SQLException */ {
try writeCharacterStream( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeAsciiStream(java.io.InputStream) throws java.sql.SQLException
private static var writeAsciiStream_MethodID_43: jmethodID?
open func writeAsciiStream( arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeAsciiStream", methodSig: "(Ljava/io/InputStream;)V", methodCache: &SQLOutputForward.writeAsciiStream_MethodID_43, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeAsciiStream( _ _arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */ {
try writeAsciiStream( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeBinaryStream(java.io.InputStream) throws java.sql.SQLException
private static var writeBinaryStream_MethodID_44: jmethodID?
open func writeBinaryStream( arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeBinaryStream", methodSig: "(Ljava/io/InputStream;)V", methodCache: &SQLOutputForward.writeBinaryStream_MethodID_44, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeBinaryStream( _ _arg0: /* java.io.InputStream */ UnclassedObject? ) throws /* java.sql.SQLException */ {
try writeBinaryStream( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeRef(java.sql.Ref) throws java.sql.SQLException
private static var writeRef_MethodID_45: jmethodID?
open func writeRef( arg0: Ref? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeRef", methodSig: "(Ljava/sql/Ref;)V", methodCache: &SQLOutputForward.writeRef_MethodID_45, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeRef( _ _arg0: Ref? ) throws /* java.sql.SQLException */ {
try writeRef( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeBlob(java.sql.Blob) throws java.sql.SQLException
private static var writeBlob_MethodID_46: jmethodID?
open func writeBlob( arg0: Blob? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeBlob", methodSig: "(Ljava/sql/Blob;)V", methodCache: &SQLOutputForward.writeBlob_MethodID_46, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeBlob( _ _arg0: Blob? ) throws /* java.sql.SQLException */ {
try writeBlob( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeClob(java.sql.Clob) throws java.sql.SQLException
private static var writeClob_MethodID_47: jmethodID?
open func writeClob( arg0: Clob? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeClob", methodSig: "(Ljava/sql/Clob;)V", methodCache: &SQLOutputForward.writeClob_MethodID_47, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeClob( _ _arg0: Clob? ) throws /* java.sql.SQLException */ {
try writeClob( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeStruct(java.sql.Struct) throws java.sql.SQLException
private static var writeStruct_MethodID_48: jmethodID?
open func writeStruct( arg0: Struct? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeStruct", methodSig: "(Ljava/sql/Struct;)V", methodCache: &SQLOutputForward.writeStruct_MethodID_48, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeStruct( _ _arg0: Struct? ) throws /* java.sql.SQLException */ {
try writeStruct( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeArray(java.sql.Array) throws java.sql.SQLException
private static var writeArray_MethodID_49: jmethodID?
open func writeArray( arg0: Array? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeArray", methodSig: "(Ljava/sql/Array;)V", methodCache: &SQLOutputForward.writeArray_MethodID_49, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeArray( _ _arg0: Array? ) throws /* java.sql.SQLException */ {
try writeArray( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeURL(java.net.URL) throws java.sql.SQLException
private static var writeURL_MethodID_50: jmethodID?
open func writeURL( arg0: /* java.net.URL */ UnclassedObject? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeURL", methodSig: "(Ljava/net/URL;)V", methodCache: &SQLOutputForward.writeURL_MethodID_50, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeURL( _ _arg0: /* java.net.URL */ UnclassedObject? ) throws /* java.sql.SQLException */ {
try writeURL( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeNString(java.lang.String) throws java.sql.SQLException
private static var writeNString_MethodID_51: jmethodID?
open func writeNString( arg0: String? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeNString", methodSig: "(Ljava/lang/String;)V", methodCache: &SQLOutputForward.writeNString_MethodID_51, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeNString( _ _arg0: String? ) throws /* java.sql.SQLException */ {
try writeNString( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeNClob(java.sql.NClob) throws java.sql.SQLException
private static var writeNClob_MethodID_52: jmethodID?
open func writeNClob( arg0: NClob? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeNClob", methodSig: "(Ljava/sql/NClob;)V", methodCache: &SQLOutputForward.writeNClob_MethodID_52, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeNClob( _ _arg0: NClob? ) throws /* java.sql.SQLException */ {
try writeNClob( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeRowId(java.sql.RowId) throws java.sql.SQLException
private static var writeRowId_MethodID_53: jmethodID?
open func writeRowId( arg0: RowId? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeRowId", methodSig: "(Ljava/sql/RowId;)V", methodCache: &SQLOutputForward.writeRowId_MethodID_53, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeRowId( _ _arg0: RowId? ) throws /* java.sql.SQLException */ {
try writeRowId( arg0: _arg0 )
}
/// public abstract void java.sql.SQLOutput.writeSQLXML(java.sql.SQLXML) throws java.sql.SQLException
private static var writeSQLXML_MethodID_54: jmethodID?
open func writeSQLXML( arg0: SQLXML? ) throws /* java.sql.SQLException */ {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = jvalue( l: arg0?.localJavaObject( &__locals ) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "writeSQLXML", methodSig: "(Ljava/sql/SQLXML;)V", methodCache: &SQLOutputForward.writeSQLXML_MethodID_54, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
}
open func writeSQLXML( _ _arg0: SQLXML? ) throws /* java.sql.SQLException */ {
try writeSQLXML( arg0: _arg0 )
}
}