| 1 7 8 9 package java.sql; 10 11 56 public interface DatabaseMetaData { 57 58 61 68 boolean allProceduresAreCallable() throws SQLException ; 69 70 78 boolean allTablesAreSelectable() throws SQLException ; 79 80 87 String getURL() throws SQLException ; 88 89 95 String getUserName() throws SQLException ; 96 97 103 boolean isReadOnly() throws SQLException ; 104 105 117 boolean nullsAreSortedHigh() throws SQLException ; 118 119 131 boolean nullsAreSortedLow() throws SQLException ; 132 133 140 boolean nullsAreSortedAtStart() throws SQLException ; 141 142 149 boolean nullsAreSortedAtEnd() throws SQLException ; 150 151 157 String getDatabaseProductName() throws SQLException ; 158 159 165 String getDatabaseProductVersion() throws SQLException ; 166 167 173 String getDriverName() throws SQLException ; 174 175 181 String getDriverVersion() throws SQLException ; 182 183 188 int getDriverMajorVersion(); 189 190 195 int getDriverMinorVersion(); 196 197 203 boolean usesLocalFiles() throws SQLException ; 204 205 212 boolean usesLocalFilePerTable() throws SQLException ; 213 214 221 boolean supportsMixedCaseIdentifiers() throws SQLException ; 222 223 230 boolean storesUpperCaseIdentifiers() throws SQLException ; 231 232 239 boolean storesLowerCaseIdentifiers() throws SQLException ; 240 241 248 boolean storesMixedCaseIdentifiers() throws SQLException ; 249 250 257 boolean supportsMixedCaseQuotedIdentifiers() throws SQLException ; 258 259 266 boolean storesUpperCaseQuotedIdentifiers() throws SQLException ; 267 268 275 boolean storesLowerCaseQuotedIdentifiers() throws SQLException ; 276 277 284 boolean storesMixedCaseQuotedIdentifiers() throws SQLException ; 285 286 293 String getIdentifierQuoteString() throws SQLException ; 294 295 303 String getSQLKeywords() throws SQLException ; 304 305 313 String getNumericFunctions() throws SQLException ; 314 315 323 String getStringFunctions() throws SQLException ; 324 325 333 String getSystemFunctions() throws SQLException ; 334 335 342 String getTimeDateFunctions() throws SQLException ; 343 344 357 String getSearchStringEscape() throws SQLException ; 358 359 366 String getExtraNameCharacters() throws SQLException ; 367 368 371 378 boolean supportsAlterTableWithAddColumn() throws SQLException ; 379 380 387 boolean supportsAlterTableWithDropColumn() throws SQLException ; 388 389 399 boolean supportsColumnAliasing() throws SQLException ; 400 401 409 boolean nullPlusNonNullIsNull() throws SQLException ; 410 411 418 boolean supportsConvert() throws SQLException ; 419 420 432 boolean supportsConvert(int fromType, int toType) throws SQLException ; 433 434 440 boolean supportsTableCorrelationNames() throws SQLException ; 441 442 449 boolean supportsDifferentTableCorrelationNames() throws SQLException ; 450 451 458 boolean supportsExpressionsInOrderBy() throws SQLException ; 459 460 468 boolean supportsOrderByUnrelated() throws SQLException ; 469 470 477 boolean supportsGroupBy() throws SQLException ; 478 479 487 boolean supportsGroupByUnrelated() throws SQLException ; 488 489 498 boolean supportsGroupByBeyondSelect() throws SQLException ; 499 500 507 boolean supportsLikeEscapeClause() throws SQLException ; 508 509 517 boolean supportsMultipleResultSets() throws SQLException ; 518 519 526 boolean supportsMultipleTransactions() throws SQLException ; 527 528 534 boolean supportsNonNullableColumns() throws SQLException ; 535 536 542 boolean supportsMinimumSQLGrammar() throws SQLException ; 543 544 550 boolean supportsCoreSQLGrammar() throws SQLException ; 551 552 558 boolean supportsExtendedSQLGrammar() throws SQLException ; 559 560 567 boolean supportsANSI92EntryLevelSQL() throws SQLException ; 568 569 575 boolean supportsANSI92IntermediateSQL() throws SQLException ; 576 577 583 boolean supportsANSI92FullSQL() throws SQLException ; 584 585 592 boolean supportsIntegrityEnhancementFacility() throws SQLException ; 593 594 600 boolean supportsOuterJoins() throws SQLException ; 601 602 608 boolean supportsFullOuterJoins() throws SQLException ; 609 610 618 boolean supportsLimitedOuterJoins() throws SQLException ; 619 620 626 String getSchemaTerm() throws SQLException ; 627 628 634 String getProcedureTerm() throws SQLException ; 635 636 642 String getCatalogTerm() throws SQLException ; 643 644 652 boolean isCatalogAtStart() throws SQLException ; 653 654 661 String getCatalogSeparator() throws SQLException ; 662 663 669 boolean supportsSchemasInDataManipulation() throws SQLException ; 670 671 677 boolean supportsSchemasInProcedureCalls() throws SQLException ; 678 679 685 boolean supportsSchemasInTableDefinitions() throws SQLException ; 686 687 693 boolean supportsSchemasInIndexDefinitions() throws SQLException ; 694 695 701 boolean supportsSchemasInPrivilegeDefinitions() throws SQLException ; 702 703 709 boolean supportsCatalogsInDataManipulation() throws SQLException ; 710 711 717 boolean supportsCatalogsInProcedureCalls() throws SQLException ; 718 719 725 boolean supportsCatalogsInTableDefinitions() throws SQLException ; 726 727 733 boolean supportsCatalogsInIndexDefinitions() throws SQLException ; 734 735 741 boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException ; 742 743 744 751 boolean supportsPositionedDelete() throws SQLException ; 752 753 760 boolean supportsPositionedUpdate() throws SQLException ; 761 762 769 boolean supportsSelectForUpdate() throws SQLException ; 770 771 778 boolean supportsStoredProcedures() throws SQLException ; 779 780 787 boolean supportsSubqueriesInComparisons() throws SQLException ; 788 789 796 boolean supportsSubqueriesInExists() throws SQLException ; 797 798 805 boolean supportsSubqueriesInIns() throws SQLException ; 806 807 814 boolean supportsSubqueriesInQuantifieds() throws SQLException ; 815 816 822 boolean supportsCorrelatedSubqueries() throws SQLException ; 823 824 830 boolean supportsUnion() throws SQLException ; 831 832 838 boolean supportsUnionAll() throws SQLException ; 839 840 848 boolean supportsOpenCursorsAcrossCommit() throws SQLException ; 849 850 858 boolean supportsOpenCursorsAcrossRollback() throws SQLException ; 859 860 868 boolean supportsOpenStatementsAcrossCommit() throws SQLException ; 869 870 878 boolean supportsOpenStatementsAcrossRollback() throws SQLException ; 879 880 881 882 888 897 int getMaxBinaryLiteralLength() throws SQLException ; 898 899 908 int getMaxCharLiteralLength() throws SQLException ; 909 910 919 int getMaxColumnNameLength() throws SQLException ; 920 921 930 int getMaxColumnsInGroupBy() throws SQLException ; 931 932 940 int getMaxColumnsInIndex() throws SQLException ; 941 942 951 int getMaxColumnsInOrderBy() throws SQLException ; 952 953 962 int getMaxColumnsInSelect() throws SQLException  |