-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResultSetMetaData.swift
More file actions
611 lines (452 loc) · 29.1 KB
/
ResultSetMetaData.swift
File metadata and controls
611 lines (452 loc) · 29.1 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
import java_swift
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.sql.ResultSetMetaData ///
public protocol ResultSetMetaData: Wrapper {
/// public static final int java.sql.ResultSetMetaData.columnNoNulls
// Skipping field: false false false false false true
/// public static final int java.sql.ResultSetMetaData.columnNullable
// Skipping field: false false false false false true
/// public static final int java.sql.ResultSetMetaData.columnNullableUnknown
// Skipping field: false false false false false true
/// public abstract java.lang.String java.sql.ResultSetMetaData.getCatalogName(int) throws java.sql.SQLException
func getCatalogName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnClassName(int) throws java.sql.SQLException
func getColumnClassName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract int java.sql.ResultSetMetaData.getColumnCount() throws java.sql.SQLException
func getColumnCount() throws /* java.sql.SQLException */ -> Int
/// public abstract int java.sql.ResultSetMetaData.getColumnDisplaySize(int) throws java.sql.SQLException
func getColumnDisplaySize( column: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnLabel(int) throws java.sql.SQLException
func getColumnLabel( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnName(int) throws java.sql.SQLException
func getColumnName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract int java.sql.ResultSetMetaData.getColumnType(int) throws java.sql.SQLException
func getColumnType( column: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnTypeName(int) throws java.sql.SQLException
func getColumnTypeName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract int java.sql.ResultSetMetaData.getPrecision(int) throws java.sql.SQLException
func getPrecision( column: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract int java.sql.ResultSetMetaData.getScale(int) throws java.sql.SQLException
func getScale( column: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getSchemaName(int) throws java.sql.SQLException
func getSchemaName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getTableName(int) throws java.sql.SQLException
func getTableName( column: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract boolean java.sql.ResultSetMetaData.isAutoIncrement(int) throws java.sql.SQLException
func isAutoIncrement( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isCaseSensitive(int) throws java.sql.SQLException
func isCaseSensitive( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isCurrency(int) throws java.sql.SQLException
func isCurrency( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isDefinitelyWritable(int) throws java.sql.SQLException
func isDefinitelyWritable( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract int java.sql.ResultSetMetaData.isNullable(int) throws java.sql.SQLException
func isNullable( column: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract boolean java.sql.ResultSetMetaData.isReadOnly(int) throws java.sql.SQLException
func isReadOnly( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isSearchable(int) throws java.sql.SQLException
func isSearchable( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isSigned(int) throws java.sql.SQLException
func isSigned( column: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isWritable(int) throws java.sql.SQLException
func isWritable( column: Int ) throws /* java.sql.SQLException */ -> Bool
}
open class ResultSetMetaDataForward: WrapperForward, ResultSetMetaData {
private static var ResultSetMetaDataJNIClass: jclass?
/// public static final int java.sql.ResultSetMetaData.columnNoNulls
private static var columnNoNulls_FieldID: jfieldID?
public static var columnNoNulls: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNoNulls", fieldType: "I", fieldCache: &columnNoNulls_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return Int(__value)
}
}
/// public static final int java.sql.ResultSetMetaData.columnNullable
private static var columnNullable_FieldID: jfieldID?
public static var columnNullable: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNullable", fieldType: "I", fieldCache: &columnNullable_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return Int(__value)
}
}
/// public static final int java.sql.ResultSetMetaData.columnNullableUnknown
private static var columnNullableUnknown_FieldID: jfieldID?
public static var columnNullableUnknown: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNullableUnknown", fieldType: "I", fieldCache: &columnNullableUnknown_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return Int(__value)
}
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getCatalogName(int) throws java.sql.SQLException
private static var getCatalogName_MethodID_22: jmethodID?
open func getCatalogName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getCatalogName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getCatalogName_MethodID_22, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getCatalogName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getCatalogName( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnClassName(int) throws java.sql.SQLException
private static var getColumnClassName_MethodID_23: jmethodID?
open func getColumnClassName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnClassName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnClassName_MethodID_23, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getColumnClassName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnClassName( column: _column )
}
/// public abstract int java.sql.ResultSetMetaData.getColumnCount() throws java.sql.SQLException
private static var getColumnCount_MethodID_24: jmethodID?
open func getColumnCount() throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnCount", methodSig: "()I", methodCache: &ResultSetMetaDataForward.getColumnCount_MethodID_24, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
/// public abstract int java.sql.ResultSetMetaData.getColumnDisplaySize(int) throws java.sql.SQLException
private static var getColumnDisplaySize_MethodID_25: jmethodID?
open func getColumnDisplaySize( column: Int ) throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnDisplaySize", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getColumnDisplaySize_MethodID_25, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
open func getColumnDisplaySize( _ _column: Int ) throws /* java.sql.SQLException */ -> Int {
return try getColumnDisplaySize( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnLabel(int) throws java.sql.SQLException
private static var getColumnLabel_MethodID_26: jmethodID?
open func getColumnLabel( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnLabel", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnLabel_MethodID_26, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getColumnLabel( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnLabel( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnName(int) throws java.sql.SQLException
private static var getColumnName_MethodID_27: jmethodID?
open func getColumnName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnName_MethodID_27, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getColumnName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnName( column: _column )
}
/// public abstract int java.sql.ResultSetMetaData.getColumnType(int) throws java.sql.SQLException
private static var getColumnType_MethodID_28: jmethodID?
open func getColumnType( column: Int ) throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnType", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getColumnType_MethodID_28, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
open func getColumnType( _ _column: Int ) throws /* java.sql.SQLException */ -> Int {
return try getColumnType( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnTypeName(int) throws java.sql.SQLException
private static var getColumnTypeName_MethodID_29: jmethodID?
open func getColumnTypeName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnTypeName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnTypeName_MethodID_29, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getColumnTypeName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnTypeName( column: _column )
}
/// public abstract int java.sql.ResultSetMetaData.getPrecision(int) throws java.sql.SQLException
private static var getPrecision_MethodID_30: jmethodID?
open func getPrecision( column: Int ) throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getPrecision", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getPrecision_MethodID_30, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
open func getPrecision( _ _column: Int ) throws /* java.sql.SQLException */ -> Int {
return try getPrecision( column: _column )
}
/// public abstract int java.sql.ResultSetMetaData.getScale(int) throws java.sql.SQLException
private static var getScale_MethodID_31: jmethodID?
open func getScale( column: Int ) throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getScale", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getScale_MethodID_31, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
open func getScale( _ _column: Int ) throws /* java.sql.SQLException */ -> Int {
return try getScale( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getSchemaName(int) throws java.sql.SQLException
private static var getSchemaName_MethodID_32: jmethodID?
open func getSchemaName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getSchemaName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getSchemaName_MethodID_32, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getSchemaName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getSchemaName( column: _column )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getTableName(int) throws java.sql.SQLException
private static var getTableName_MethodID_33: jmethodID?
open func getTableName( column: Int ) throws /* java.sql.SQLException */ -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getTableName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getTableName_MethodID_33, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? String( javaObject: __return ) : nil
}
open func getTableName( _ _column: Int ) throws /* java.sql.SQLException */ -> String! {
return try getTableName( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isAutoIncrement(int) throws java.sql.SQLException
private static var isAutoIncrement_MethodID_34: jmethodID?
open func isAutoIncrement( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isAutoIncrement", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isAutoIncrement_MethodID_34, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isAutoIncrement( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isAutoIncrement( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isCaseSensitive(int) throws java.sql.SQLException
private static var isCaseSensitive_MethodID_35: jmethodID?
open func isCaseSensitive( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isCaseSensitive", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isCaseSensitive_MethodID_35, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isCaseSensitive( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isCaseSensitive( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isCurrency(int) throws java.sql.SQLException
private static var isCurrency_MethodID_36: jmethodID?
open func isCurrency( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isCurrency", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isCurrency_MethodID_36, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isCurrency( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isCurrency( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isDefinitelyWritable(int) throws java.sql.SQLException
private static var isDefinitelyWritable_MethodID_37: jmethodID?
open func isDefinitelyWritable( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isDefinitelyWritable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isDefinitelyWritable_MethodID_37, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isDefinitelyWritable( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isDefinitelyWritable( column: _column )
}
/// public abstract int java.sql.ResultSetMetaData.isNullable(int) throws java.sql.SQLException
private static var isNullable_MethodID_38: jmethodID?
open func isNullable( column: Int ) throws /* java.sql.SQLException */ -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "isNullable", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.isNullable_MethodID_38, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return Int(__return)
}
open func isNullable( _ _column: Int ) throws /* java.sql.SQLException */ -> Int {
return try isNullable( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isReadOnly(int) throws java.sql.SQLException
private static var isReadOnly_MethodID_39: jmethodID?
open func isReadOnly( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isReadOnly", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isReadOnly_MethodID_39, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isReadOnly( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isReadOnly( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isSearchable(int) throws java.sql.SQLException
private static var isSearchable_MethodID_40: jmethodID?
open func isSearchable( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isSearchable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isSearchable_MethodID_40, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isSearchable( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isSearchable( column: _column )
}
/// public abstract boolean java.sql.ResultSetMetaData.isSigned(int) throws java.sql.SQLException
private static var isSigned_MethodID_41: jmethodID?
open func isSigned( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isSigned", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isSigned_MethodID_41, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isSigned( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isSigned( column: _column )
}
/// public abstract boolean java.sql.Wrapper.isWrapperFor(java.lang.Class) throws java.sql.SQLException
private static var isWrapperFor_MethodID_42: jmethodID?
override open func isWrapperFor( iface: java_swift.JavaClass? ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: iface, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isWrapperFor", methodSig: "(Ljava/lang/Class;)Z", methodCache: &ResultSetMetaDataForward.isWrapperFor_MethodID_42, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
override open func isWrapperFor( _ _iface: java_swift.JavaClass? ) throws /* java.sql.SQLException */ -> Bool {
return try isWrapperFor( iface: _iface )
}
/// public abstract boolean java.sql.ResultSetMetaData.isWritable(int) throws java.sql.SQLException
private static var isWritable_MethodID_43: jmethodID?
open func isWritable( column: Int ) throws /* java.sql.SQLException */ -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(column) )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isWritable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isWritable_MethodID_43, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != jboolean(JNI_FALSE)
}
open func isWritable( _ _column: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isWritable( column: _column )
}
/// public abstract java.lang.Object java.sql.Wrapper.unwrap(java.lang.Class) throws java.sql.SQLException
private static var unwrap_MethodID_44: jmethodID?
override open func unwrap( iface: java_swift.JavaClass? ) throws /* java.sql.SQLException */ -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: iface, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "unwrap", methodSig: "(Ljava/lang/Class;)Ljava/lang/Object;", methodCache: &ResultSetMetaDataForward.unwrap_MethodID_44, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw SQLException( javaObject: throwable )
}
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func unwrap( _ _iface: java_swift.JavaClass? ) throws /* java.sql.SQLException */ -> java_swift.JavaObject! {
return try unwrap( iface: _iface )
}
}