-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDatabaseMetaData.java
More file actions
2270 lines (2050 loc) · 82.1 KB
/
Copy pathDatabaseMetaData.java
File metadata and controls
2270 lines (2050 loc) · 82.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
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
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* DatabaseMetaData.java -- Information about the database itself.
Copyright (C) 1999, 2000, 2001, 2002, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package java.sql;
public interface DatabaseMetaData
{
/**
* It is unknown whether or not the procedure returns a result.
*/
int procedureResultUnknown = 0;
/**
* The procedure does not return a result.
*/
int procedureNoResult = 1;
/**
* The procedure returns a result.
*/
int procedureReturnsResult = 2;
/**
* The column type is unknown.
*/
int procedureColumnUnknown = 0;
/**
* The column type is input.
*/
int procedureColumnIn = 1;
/**
* The column type is input/output.
*/
int procedureColumnInOut = 2;
/**
* The column type is output
*/
int procedureColumnOut = 4;
/**
* The column is used for return values.
*/
int procedureColumnReturn = 5;
/**
* The column is used for storing results
*/
int procedureColumnResult = 3;
/**
* NULL values are not allowed.
*/
int procedureNoNulls = 0;
/**
* NULL values are allowed.
*/
int procedureNullable = 1;
/**
* It is unknown whether or not NULL values are allowed.
*/
int procedureNullableUnknown = 2;
/**
* The column does not allow NULL
*/
int columnNoNulls = 0;
/**
* The column does allow NULL
*/
int columnNullable = 1;
/**
* It is unknown whether or not the column allows NULL
*/
int columnNullableUnknown = 2;
/**
* The best row's scope is only guaranteed to be valid so long as the
* row is actually being used.
*/
int bestRowTemporary = 0;
/**
* The best row identifier is valid to the end of the transaction.
*/
int bestRowTransaction = 1;
/**
* The best row identifier is valid to the end of the session.
*/
int bestRowSession = 2;
/**
* The best row may or may not be a pseudo-column.
*/
int bestRowUnknown = 0;
/**
* The best row identifier is not a pseudo-column.
*/
int bestRowNotPseudo = 1;
/**
* The best row identifier is a pseudo-column.
*/
int bestRowPseudo = 2;
/**
* It is unknown whether or not the version column is a pseudo-column.
*/
int versionColumnUnknown = 0;
/**
* The version column is not a pseudo-column
*/
int versionColumnNotPseudo = 1;
/**
* The version column is a pseudo-column
*/
int versionColumnPseudo = 2;
/**
* Foreign key changes are cascaded in updates or deletes.
*/
int importedKeyCascade = 0;
/**
* Column may not be updated or deleted in use as a foreign key.
*/
int importedKeyRestrict = 1;
/**
* When primary key is updated or deleted, the foreign key is set to NULL.
*/
int importedKeySetNull = 2;
/**
* If the primary key is a foreign key, it cannot be udpated or deleted.
*/
int importedKeyNoAction = 3;
/**
* If the primary key is updated or deleted, the foreign key is set to
* a default value.
*/
int importedKeySetDefault = 4;
/**
* Wish I knew what this meant.
*/
int importedKeyInitiallyDeferred = 5;
/**
* Wish I knew what this meant.
*/
int importedKeyInitiallyImmediate = 6;
/**
* Wish I knew what this meant.
*/
int importedKeyNotDeferrable = 7;
/**
* A NULL value is not allowed for this data type.
*/
int typeNoNulls = 0;
/**
* A NULL value is allowed for this data type.
*/
int typeNullable = 1;
/**
* It is unknown whether or not NULL values are allowed for this data type.
*/
int typeNullableUnknown = 2;
/**
* Where clauses are not supported for this type.
*/
int typePredNone = 0;
/**
* Only "WHERE..LIKE" style WHERE clauses are allowed on this data type.
*/
int typePredChar = 1;
/**
* All WHERE clauses except "WHERE..LIKE" style are allowed on this data type.
*/
int typePredBasic = 2;
/**
* Any type of WHERE clause is allowed for this data type.
*/
int typeSearchable = 3;
/**
* This column contains table statistics.
*/
short tableIndexStatistic = 0;
/**
* This table index is clustered.
*/
short tableIndexClustered = 1;
/**
* This table index is hashed.
*/
short tableIndexHashed = 2;
/**
* This table index is of another type.
*/
short tableIndexOther = 3;
/**
* A NULL value is not allowed for this attribute.
*/
short attributeNoNulls = 0;
/**
* A NULL value is allowed for this attribute.
*/
short attributeNullable = 1;
/**
* It is unknown whether or not NULL values are allowed for this attribute.
*/
short attributeNullableUnknown = 2;
int sqlStateXOpen = 1;
int sqlStateSQL99 = 2;
/**
* This method tests whether or not all the procedures returned by
* the <code>getProcedures</code> method can be called by this user.
*
* @return <code>true</code> if all the procedures can be called,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean allProceduresAreCallable() throws SQLException;
/**
* This method tests whether or not all the table returned by the
* <code>getTables</code> method can be selected by this user.
*
* @return <code>true</code> if all the procedures can be called,
* <code>false</code> otherwise.
*
* @exception SQLException If an error occurs.
*/
boolean allTablesAreSelectable() throws SQLException;
/**
* This method returns the URL for this database.
*
* @return The URL string for this database, or <code>null</code> if it
* is not known.
* @exception SQLException If an error occurs.
*/
String getURL() throws SQLException;
/**
* This method returns the database username for this connection.
*
* @return The database username.
* @exception SQLException If an error occurs.
*/
String getUserName() throws SQLException;
/**
* This method tests whether or not the database is in read only mode.
*
* @return <code>true</code> if the database is in read only mode,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean isReadOnly() throws SQLException;
/**
* This method tests whether or not NULL's sort as high values.
*
* @return <code>true</code> if NULL's sort as high values, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean nullsAreSortedHigh() throws SQLException;
/**
* This method tests whether or not NULL's sort as low values.
*
* @return <code>true</code> if NULL's sort as low values, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean nullsAreSortedLow() throws SQLException;
/**
* This method tests whether or not NULL's sort as high values.
*
* @return <code>true</code> if NULL's sort as high values, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean nullsAreSortedAtStart() throws SQLException;
/**
* This method test whether or not NULL's are sorted to the end
* of the list regardless of ascending or descending sort order.
*
* @return <code>true</code> if NULL's always sort to the end,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean nullsAreSortedAtEnd() throws SQLException;
/**
* This method returns the name of the database product.
*
* @return The database product.
* @exception SQLException If an error occurs.
*/
String getDatabaseProductName() throws SQLException;
/**
* This method returns the version of the database product.
*
* @return The version of the database product.
* @exception SQLException If an error occurs.
*/
String getDatabaseProductVersion() throws SQLException;
/**
* This method returns the name of the JDBC driver.
*
* @return The name of the JDBC driver.
* @exception SQLException If an error occurs.
*/
String getDriverName() throws SQLException;
/**
* This method returns the version of the JDBC driver.
*
* @return The version of the JDBC driver.
* @exception SQLException If an error occurs.
*/
String getDriverVersion() throws SQLException;
/**
* This method returns the major version number of the JDBC driver.
*
* @return The major version number of the JDBC driver.
*/
int getDriverMajorVersion();
/**
* This method returns the minor version number of the JDBC driver.
*
* @return The minor version number of the JDBC driver.
*/
int getDriverMinorVersion();
/**
* This method tests whether or not the database uses local files to
* store tables.
*
* @return <code>true</code> if the database uses local files,
* <code>false</code> otherwise.
*
* @exception SQLException If an error occurs.
*/
boolean usesLocalFiles() throws SQLException;
/**
* This method tests whether or not the database uses a separate file for
* each table.
*
* @return <code>true</code> if the database uses a separate file for each
* table <code>false</code> otherwise.
*
* @exception SQLException If an error occurs.
*/
boolean usesLocalFilePerTable() throws SQLException;
/**
* This method tests whether or not the database supports identifiers
* with mixed case.
*
* @return <code>true</code> if the database supports mixed case identifiers,
* <code>false</code> otherwise.
*
* @exception SQLException If an error occurs.
*/
boolean supportsMixedCaseIdentifiers() throws SQLException;
/**
* This method tests whether or not the database treats mixed case
* identifiers as all upper case.
*
* @return <code>true</code> if the database treats all identifiers as
* upper case, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesUpperCaseIdentifiers() throws SQLException;
/**
* This method tests whether or not the database treats mixed case
* identifiers as all lower case.
*
* @return <code>true</code> if the database treats all identifiers as
* lower case, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesLowerCaseIdentifiers() throws SQLException;
/**
* This method tests whether or not the database stores mixed case
* identifers even if it treats them as case insensitive.
*
* @return <code>true</code> if the database stores mixed case identifiers,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesMixedCaseIdentifiers() throws SQLException;
/**
* This method tests whether or not the database supports quoted identifiers
* with mixed case.
*
* @return <code>true</code> if the database supports mixed case quoted
* identifiers, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsMixedCaseQuotedIdentifiers() throws SQLException;
/**
* This method tests whether or not the database treats mixed case
* quoted identifiers as all upper case.
*
* @return <code>true</code> if the database treats all quoted identifiers
* as upper case, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesUpperCaseQuotedIdentifiers() throws SQLException;
/**
* This method tests whether or not the database treats mixed case
* quoted identifiers as all lower case.
*
* @return <code>true</code> if the database treats all quoted identifiers
* as lower case, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesLowerCaseQuotedIdentifiers() throws SQLException;
/**
* This method tests whether or not the database stores mixed case
* quoted identifers even if it treats them as case insensitive.
*
* @return <code>true</code> if the database stores mixed case quoted
* identifiers, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesMixedCaseQuotedIdentifiers() throws SQLException;
/**
* This metohd returns the quote string for SQL identifiers.
*
* @return The quote string for SQL identifers, or a space if quoting
* is not supported.
* @exception SQLException If an error occurs.
*/
String getIdentifierQuoteString() throws SQLException;
/**
* This method returns a comma separated list of all the SQL keywords in
* the database that are not in SQL92.
*
* @return The list of SQL keywords not in SQL92.
* @exception SQLException If an error occurs.
*/
String getSQLKeywords() throws SQLException;
/**
* This method returns a comma separated list of math functions.
*
* @return The list of math functions.
* @exception SQLException If an error occurs.
*/
String getNumericFunctions() throws SQLException;
/**
* This method returns a comma separated list of string functions.
*
* @return The list of string functions.
* @exception SQLException If an error occurs.
*/
String getStringFunctions() throws SQLException;
/**
* This method returns a comma separated list of of system functions.
*
* @return A comma separated list of system functions.
* @exception SQLException If an error occurs.
*/
String getSystemFunctions() throws SQLException;
/**
* This method returns comma separated list of time/date functions.
*
* @return The list of time/date functions.
* @exception SQLException If an error occurs.
*/
String getTimeDateFunctions() throws SQLException;
/**
* This method returns the string used to escape wildcards in search strings.
*
* @return The string used to escape wildcards in search strings.
* @exception SQLException If an error occurs.
*/
String getSearchStringEscape() throws SQLException;
/**
* This methods returns non-standard characters that can appear in
* unquoted identifiers.
*
* @return Non-standard characters that can appear in unquoted identifiers.
* @exception SQLException If an error occurs.
*/
String getExtraNameCharacters() throws SQLException;
/**
* This method tests whether or not the database supports
* "ALTER TABLE ADD COLUMN"
*
* @return <code>true</code> if column add supported, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsAlterTableWithAddColumn() throws SQLException;
/**
* This method tests whether or not the database supports
* "ALTER TABLE DROP COLUMN"
*
* @return <code>true</code> if column drop supported, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsAlterTableWithDropColumn() throws SQLException;
/**
* This method tests whether or not column aliasing is supported.
*
* @return <code>true</code> if column aliasing is supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsColumnAliasing() throws SQLException;
/**
* This method tests whether the concatenation of a NULL and non-NULL
* value results in a NULL. This will always be true in fully JDBC compliant
* drivers.
*
* @return <code>true</code> if concatenating NULL and a non-NULL value
* returns a NULL, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean nullPlusNonNullIsNull() throws SQLException;
/**
* Tests whether or not CONVERT is supported.
*
* @return <code>true</code> if CONVERT is supported, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsConvert() throws SQLException;
/**
* This method tests whether or not CONVERT can be performed between the
* specified types. The types are contants from <code>Types</code>.
*
* @param fromType The SQL type to convert from.
* @param toType The SQL type to convert to.
* @return <code>true</code> if the conversion can be performed,
* <code>false</code> otherwise.
* @see Types
*/
boolean supportsConvert(int fromType, int toType) throws
SQLException;
/**
* This method tests whether or not table correlation names are
* supported. This will be always be <code>true</code> in a fully JDBC
* compliant driver.
*
* @return <code>true</code> if table correlation names are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsTableCorrelationNames() throws SQLException;
/**
* This method tests whether correlation names must be different from the
* name of the table.
*
* @return <code>true</code> if the correlation name must be different from
* the table name, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsDifferentTableCorrelationNames() throws SQLException;
/**
* This method tests whether or not expressions are allowed in an
* ORDER BY lists.
*
* @return <code>true</code> if expressions are allowed in ORDER BY
* lists, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsExpressionsInOrderBy() throws SQLException;
/**
* This method tests whether or ORDER BY on a non-selected column is
* allowed.
*
* @return <code>true</code> if a non-selected column can be used in an
* ORDER BY, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsOrderByUnrelated() throws SQLException;
/**
* This method tests whether or not GROUP BY is supported.
*
* @return <code>true</code> if GROUP BY is supported, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsGroupBy() throws SQLException;
/**
* This method tests whether GROUP BY on a non-selected column is
* allowed.
*
* @return <code>true</code> if a non-selected column can be used in a
* GROUP BY, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsGroupByUnrelated() throws SQLException;
/**
* This method tests whether or not a GROUP BY can add columns not in the
* select if it includes all the columns in the select.
*
* @return <code>true</code> if GROUP BY an add columns provided it includes
* all columns in the select, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsGroupByBeyondSelect() throws SQLException;
/**
* This method tests whether or not the escape character is supported in
* LIKE expressions. A fully JDBC compliant driver will always return
* <code>true</code>.
*
* @return <code>true</code> if escapes are supported in LIKE expressions,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsLikeEscapeClause() throws SQLException;
/**
* This method tests whether multiple result sets for a single statement are
* supported.
*
* @return <code>true</code> if multiple result sets are supported for a
* single statement, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsMultipleResultSets() throws SQLException;
/**
* This method test whether or not multiple transactions may be open
* at once, as long as they are on different connections.
*
* @return <code>true</code> if multiple transactions on different
* connections are supported, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsMultipleTransactions() throws SQLException;
/**
* This method tests whether or not columns can be defined as NOT NULL. A
* fully JDBC compliant driver always returns <code>true</code>.
*
* @return <code>true</code> if NOT NULL columns are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsNonNullableColumns() throws SQLException;
/**
* This method tests whether or not the minimum grammer for ODBC is supported.
* A fully JDBC compliant driver will always return <code>true</code>.
*
* @return <code>true</code> if the ODBC minimum grammar is supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsMinimumSQLGrammar() throws SQLException;
/**
* This method tests whether or not the core grammer for ODBC is supported.
*
* @return <code>true</code> if the ODBC core grammar is supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCoreSQLGrammar() throws SQLException;
/**
* This method tests whether or not the extended grammer for ODBC is supported.
*
* @return <code>true</code> if the ODBC extended grammar is supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsExtendedSQLGrammar() throws SQLException;
/**
* This method tests whether or not the ANSI92 entry level SQL
* grammar is supported. A fully JDBC compliant drivers must return
* <code>true</code>.
*
* @return <code>true</code> if the ANSI92 entry level SQL grammar is
* supported, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsANSI92EntryLevelSQL() throws SQLException;
/**
* This method tests whether or not the ANSI92 intermediate SQL
* grammar is supported.
*
* @return <code>true</code> if the ANSI92 intermediate SQL grammar is
* supported, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsANSI92IntermediateSQL() throws SQLException;
/**
* This method tests whether or not the ANSI92 full SQL
* grammar is supported.
*
* @return <code>true</code> if the ANSI92 full SQL grammar is
* supported, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsANSI92FullSQL() throws SQLException;
/**
* This method tests whether or not the SQL integrity enhancement
* facility is supported.
*
* @return <code>true</code> if the integrity enhancement facility is
* supported, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsIntegrityEnhancementFacility() throws SQLException;
/**
* This method tests whether or not the database supports outer joins.
*
* @return <code>true</code> if outer joins are supported, <code>false</code>
* otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsOuterJoins() throws SQLException;
/**
* This method tests whether or not the database supports full outer joins.
*
* @return <code>true</code> if full outer joins are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsFullOuterJoins() throws SQLException;
/**
* This method tests whether or not the database supports limited outer joins.
*
* @return <code>true</code> if limited outer joins are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsLimitedOuterJoins() throws SQLException;
/**
* This method returns the vendor's term for "schema".
*
* @return The vendor's term for schema.
* @exception SQLException if an error occurs.
*/
String getSchemaTerm() throws SQLException;
/**
* This method returns the vendor's term for "procedure".
*
* @return The vendor's term for procedure.
* @exception SQLException if an error occurs.
*/
String getProcedureTerm() throws SQLException;
/**
* This method returns the vendor's term for "catalog".
*
* @return The vendor's term for catalog.
* @exception SQLException if an error occurs.
*/
String getCatalogTerm() throws SQLException;
/**
* This method tests whether a catalog name appears at the beginning of
* a fully qualified table name.
*
* @return <code>true</code> if the catalog name appears at the beginning,
* <code>false</code> if it appears at the end.
* @exception SQLException If an error occurs.
*/
boolean isCatalogAtStart() throws SQLException;
/**
* This method returns the separator between the catalog name and the
* table name.
*
* @return The separator between the catalog name and the table name.
* @exception SQLException If an error occurs.
*/
String getCatalogSeparator() throws SQLException;
/**
* This method tests whether a catalog name can appear in a data
* manipulation statement.
*
* @return <code>true</code> if a catalog name can appear in a data
* manipulation statement, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsSchemasInDataManipulation() throws SQLException;
/**
* This method tests whether a catalog name can appear in a procedure
* call
*
* @return <code>true</code> if a catalog name can appear in a procedure
* call, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsSchemasInProcedureCalls() throws SQLException;
/**
* This method tests whether a catalog name can appear in a table definition.
*
* @return <code>true</code> if a catalog name can appear in a table
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsSchemasInTableDefinitions() throws SQLException;
/**
* This method tests whether a catalog name can appear in an index definition.
*
* @return <code>true</code> if a catalog name can appear in an index
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsSchemasInIndexDefinitions() throws SQLException;
/**
* This method tests whether a catalog name can appear in privilege definitions.
*
* @return <code>true</code> if a catalog name can appear in privilege
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsSchemasInPrivilegeDefinitions() throws SQLException;
/**
* This method tests whether a catalog name can appear in a data
* manipulation statement.
*
* @return <code>true</code> if a catalog name can appear in a data
* manipulation statement, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCatalogsInDataManipulation() throws SQLException;
/**
* This method tests whether a catalog name can appear in a procedure
* call
*
* @return <code>true</code> if a catalog name can appear in a procedure
* call, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCatalogsInProcedureCalls() throws SQLException;
/**
* This method tests whether a catalog name can appear in a table definition.
*
* @return <code>true</code> if a catalog name can appear in a table
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCatalogsInTableDefinitions() throws SQLException;
/**
* This method tests whether a catalog name can appear in an index definition.
*
* @return <code>true</code> if a catalog name can appear in an index
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCatalogsInIndexDefinitions() throws SQLException;
/**
* This method tests whether a catalog name can appear in privilege definitions.
*
* @return <code>true</code> if a catalog name can appear in privilege
* definition, <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException;
/**
* This method tests whether or not that database supports positioned
* deletes.
*
* @return <code>true</code> if positioned deletes are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
boolean supportsPositionedDelete() throws SQLException;
/**
* This method tests whether or not that database supports positioned
* updates.
*
* @return <code>true</code> if positioned updates are supported,
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.