-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResultSetMetaData.swift
More file actions
605 lines (445 loc) · 29.8 KB
/
ResultSetMetaData.swift
File metadata and controls
605 lines (445 loc) · 29.8 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
import java_swift
import java_lang
/// 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.ResultSetMetaData ///
public protocol ResultSetMetaData: Wrapper {
/// public static final int java.sql.ResultSetMetaData.columnNoNulls
static var columnNoNulls: Int { get }
/// public static final int java.sql.ResultSetMetaData.columnNullable
static var columnNullable: Int { get }
/// public static final int java.sql.ResultSetMetaData.columnNullableUnknown
static var columnNullableUnknown: Int { get }
/// public abstract boolean java.sql.ResultSetMetaData.isReadOnly(int) throws java.sql.SQLException
func isReadOnly( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isReadOnly( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract int java.sql.ResultSetMetaData.getColumnCount() throws java.sql.SQLException
func getColumnCount() throws /* java.sql.SQLException */ -> Int
/// public abstract boolean java.sql.ResultSetMetaData.isAutoIncrement(int) throws java.sql.SQLException
func isAutoIncrement( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isAutoIncrement( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isCaseSensitive(int) throws java.sql.SQLException
func isCaseSensitive( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isCaseSensitive( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isSearchable(int) throws java.sql.SQLException
func isSearchable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isSearchable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isCurrency(int) throws java.sql.SQLException
func isCurrency( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isCurrency( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract int java.sql.ResultSetMetaData.isNullable(int) throws java.sql.SQLException
func isNullable( arg0: Int ) throws /* java.sql.SQLException */ -> Int
func isNullable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract boolean java.sql.ResultSetMetaData.isSigned(int) throws java.sql.SQLException
func isSigned( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isSigned( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract int java.sql.ResultSetMetaData.getColumnDisplaySize(int) throws java.sql.SQLException
func getColumnDisplaySize( arg0: Int ) throws /* java.sql.SQLException */ -> Int
func getColumnDisplaySize( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnLabel(int) throws java.sql.SQLException
func getColumnLabel( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getColumnLabel( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnName(int) throws java.sql.SQLException
func getColumnName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getColumnName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getSchemaName(int) throws java.sql.SQLException
func getSchemaName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getSchemaName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract int java.sql.ResultSetMetaData.getPrecision(int) throws java.sql.SQLException
func getPrecision( arg0: Int ) throws /* java.sql.SQLException */ -> Int
func getPrecision( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract int java.sql.ResultSetMetaData.getScale(int) throws java.sql.SQLException
func getScale( arg0: Int ) throws /* java.sql.SQLException */ -> Int
func getScale( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getTableName(int) throws java.sql.SQLException
func getTableName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getTableName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract java.lang.String java.sql.ResultSetMetaData.getCatalogName(int) throws java.sql.SQLException
func getCatalogName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getCatalogName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract int java.sql.ResultSetMetaData.getColumnType(int) throws java.sql.SQLException
func getColumnType( arg0: Int ) throws /* java.sql.SQLException */ -> Int
func getColumnType( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnTypeName(int) throws java.sql.SQLException
func getColumnTypeName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getColumnTypeName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
/// public abstract boolean java.sql.ResultSetMetaData.isWritable(int) throws java.sql.SQLException
func isWritable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isWritable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract boolean java.sql.ResultSetMetaData.isDefinitelyWritable(int) throws java.sql.SQLException
func isDefinitelyWritable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool
func isDefinitelyWritable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnClassName(int) throws java.sql.SQLException
func getColumnClassName( arg0: Int ) throws /* java.sql.SQLException */ -> String!
func getColumnClassName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String!
}
open class ResultSetMetaDataForward: WrapperForward, ResultSetMetaData {
private static var ResultSetMetaDataJNIClass: jclass?
/// public static final int java.sql.ResultSetMetaData.columnNoNulls
private static var columnNoNulls_FieldID: jfieldID?
open static var columnNoNulls: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNoNulls", fieldType: "I", fieldCache: &columnNoNulls_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return JNIType.decode( type: Int(), from: __value )
}
}
/// public static final int java.sql.ResultSetMetaData.columnNullable
private static var columnNullable_FieldID: jfieldID?
open static var columnNullable: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNullable", fieldType: "I", fieldCache: &columnNullable_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return JNIType.decode( type: Int(), from: __value )
}
}
/// public static final int java.sql.ResultSetMetaData.columnNullableUnknown
private static var columnNullableUnknown_FieldID: jfieldID?
open static var columnNullableUnknown: Int {
get {
let __value = JNIField.GetStaticIntField( fieldName: "columnNullableUnknown", fieldType: "I", fieldCache: &columnNullableUnknown_FieldID, className: "java/sql/ResultSetMetaData", classCache: &ResultSetMetaDataJNIClass )
return JNIType.decode( type: Int(), from: __value )
}
}
/// public abstract boolean java.sql.ResultSetMetaData.isReadOnly(int) throws java.sql.SQLException
private static var isReadOnly_MethodID_22: jmethodID?
open func isReadOnly( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isReadOnly", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isReadOnly_MethodID_22, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isReadOnly( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isReadOnly( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.getColumnCount() throws java.sql.SQLException
private static var getColumnCount_MethodID_23: jmethodID?
open func getColumnCount() throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnCount", methodSig: "()I", methodCache: &ResultSetMetaDataForward.getColumnCount_MethodID_23, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
/// public abstract boolean java.sql.ResultSetMetaData.isAutoIncrement(int) throws java.sql.SQLException
private static var isAutoIncrement_MethodID_24: jmethodID?
open func isAutoIncrement( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isAutoIncrement", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isAutoIncrement_MethodID_24, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isAutoIncrement( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isAutoIncrement( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isCaseSensitive(int) throws java.sql.SQLException
private static var isCaseSensitive_MethodID_25: jmethodID?
open func isCaseSensitive( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isCaseSensitive", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isCaseSensitive_MethodID_25, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isCaseSensitive( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isCaseSensitive( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isSearchable(int) throws java.sql.SQLException
private static var isSearchable_MethodID_26: jmethodID?
open func isSearchable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isSearchable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isSearchable_MethodID_26, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isSearchable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isSearchable( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isCurrency(int) throws java.sql.SQLException
private static var isCurrency_MethodID_27: jmethodID?
open func isCurrency( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isCurrency", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isCurrency_MethodID_27, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isCurrency( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isCurrency( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.isNullable(int) throws java.sql.SQLException
private static var isNullable_MethodID_28: jmethodID?
open func isNullable( arg0: Int ) throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "isNullable", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.isNullable_MethodID_28, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
open func isNullable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int {
return try isNullable( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isSigned(int) throws java.sql.SQLException
private static var isSigned_MethodID_29: jmethodID?
open func isSigned( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isSigned", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isSigned_MethodID_29, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isSigned( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isSigned( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.getColumnDisplaySize(int) throws java.sql.SQLException
private static var getColumnDisplaySize_MethodID_30: jmethodID?
open func getColumnDisplaySize( arg0: Int ) throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnDisplaySize", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getColumnDisplaySize_MethodID_30, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
open func getColumnDisplaySize( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int {
return try getColumnDisplaySize( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnLabel(int) throws java.sql.SQLException
private static var getColumnLabel_MethodID_31: jmethodID?
open func getColumnLabel( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnLabel", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnLabel_MethodID_31, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getColumnLabel( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnLabel( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnName(int) throws java.sql.SQLException
private static var getColumnName_MethodID_32: jmethodID?
open func getColumnName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnName_MethodID_32, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getColumnName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnName( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getSchemaName(int) throws java.sql.SQLException
private static var getSchemaName_MethodID_33: jmethodID?
open func getSchemaName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getSchemaName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getSchemaName_MethodID_33, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getSchemaName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getSchemaName( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.getPrecision(int) throws java.sql.SQLException
private static var getPrecision_MethodID_34: jmethodID?
open func getPrecision( arg0: Int ) throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getPrecision", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getPrecision_MethodID_34, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
open func getPrecision( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int {
return try getPrecision( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.getScale(int) throws java.sql.SQLException
private static var getScale_MethodID_35: jmethodID?
open func getScale( arg0: Int ) throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getScale", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getScale_MethodID_35, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
open func getScale( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int {
return try getScale( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getTableName(int) throws java.sql.SQLException
private static var getTableName_MethodID_36: jmethodID?
open func getTableName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getTableName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getTableName_MethodID_36, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getTableName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getTableName( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getCatalogName(int) throws java.sql.SQLException
private static var getCatalogName_MethodID_37: jmethodID?
open func getCatalogName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getCatalogName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getCatalogName_MethodID_37, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getCatalogName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getCatalogName( arg0: _arg0 )
}
/// public abstract int java.sql.ResultSetMetaData.getColumnType(int) throws java.sql.SQLException
private static var getColumnType_MethodID_38: jmethodID?
open func getColumnType( arg0: Int ) throws /* java.sql.SQLException */ -> Int {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "getColumnType", methodSig: "(I)I", methodCache: &ResultSetMetaDataForward.getColumnType_MethodID_38, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Int(), from: __return )
}
open func getColumnType( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Int {
return try getColumnType( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnTypeName(int) throws java.sql.SQLException
private static var getColumnTypeName_MethodID_39: jmethodID?
open func getColumnTypeName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnTypeName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnTypeName_MethodID_39, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getColumnTypeName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnTypeName( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isWritable(int) throws java.sql.SQLException
private static var isWritable_MethodID_40: jmethodID?
open func isWritable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isWritable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isWritable_MethodID_40, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isWritable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isWritable( arg0: _arg0 )
}
/// public abstract boolean java.sql.ResultSetMetaData.isDefinitelyWritable(int) throws java.sql.SQLException
private static var isDefinitelyWritable_MethodID_41: jmethodID?
open func isDefinitelyWritable( arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isDefinitelyWritable", methodSig: "(I)Z", methodCache: &ResultSetMetaDataForward.isDefinitelyWritable_MethodID_41, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
open func isDefinitelyWritable( _ _arg0: Int ) throws /* java.sql.SQLException */ -> Bool {
return try isDefinitelyWritable( arg0: _arg0 )
}
/// public abstract java.lang.String java.sql.ResultSetMetaData.getColumnClassName(int) throws java.sql.SQLException
private static var getColumnClassName_MethodID_42: jmethodID?
open func getColumnClassName( arg0: Int ) throws /* java.sql.SQLException */ -> String! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColumnClassName", methodSig: "(I)Ljava/lang/String;", methodCache: &ResultSetMetaDataForward.getColumnClassName_MethodID_42, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: String(), from: __return )
}
open func getColumnClassName( _ _arg0: Int ) throws /* java.sql.SQLException */ -> String! {
return try getColumnClassName( arg0: _arg0 )
}
/// public abstract java.lang.Object java.sql.Wrapper.unwrap(java.lang.Class) throws java.sql.SQLException
private static var unwrap_MethodID_43: jmethodID?
override open func unwrap( arg0: java_lang.Class? ) throws /* java.sql.SQLException */ -> java_lang.JavaObject! {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "unwrap", methodSig: "(Ljava/lang/Class;)Ljava/lang/Object;", methodCache: &ResultSetMetaDataForward.unwrap_MethodID_43, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return __return != nil ? java_lang.JavaObject( javaObject: __return ) : nil
}
override open func unwrap( _ _arg0: java_lang.Class? ) throws /* java.sql.SQLException */ -> java_lang.JavaObject! {
return try unwrap( arg0: _arg0 )
}
/// public abstract boolean java.sql.Wrapper.isWrapperFor(java.lang.Class) throws java.sql.SQLException
private static var isWrapperFor_MethodID_44: jmethodID?
override open func isWrapperFor( arg0: java_lang.Class? ) throws /* java.sql.SQLException */ -> Bool {
var __args = [jvalue]( repeating: jvalue(), count: 1 )
var __locals = [jobject]()
__args[0] = JNIType.encode( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isWrapperFor", methodSig: "(Ljava/lang/Class;)Z", methodCache: &ResultSetMetaDataForward.isWrapperFor_MethodID_44, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
throw SQLException( javaObject: throwable )
}
return JNIType.decode( type: Bool(), from: __return )
}
override open func isWrapperFor( _ _arg0: java_lang.Class? ) throws /* java.sql.SQLException */ -> Bool {
return try isWrapperFor( arg0: _arg0 )
}
}