1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 import java.rmi.RemoteException ; 14 15 35 interface RJDatabaseMetaDataInterface extends java.rmi.Remote { 36 37 40 46 boolean allProceduresAreCallable() throws RemoteException , SQLException; 47 48 54 boolean allTablesAreSelectable() throws RemoteException , SQLException; 55 56 61 String getURL() throws RemoteException , SQLException; 62 63 68 String getUserName() throws RemoteException , SQLException; 69 70 75 boolean isReadOnly() throws RemoteException , SQLException; 76 77 82 boolean nullsAreSortedHigh() throws RemoteException , SQLException; 83 84 89 boolean nullsAreSortedLow() throws RemoteException , SQLException; 90 91 96 boolean nullsAreSortedAtStart() throws RemoteException , SQLException; 97 98 103 boolean nullsAreSortedAtEnd() throws RemoteException , SQLException; 104 105 110 String getDatabaseProductName() throws RemoteException , SQLException; 111 112 117 String getDatabaseProductVersion() throws RemoteException , SQLException; 118 119 124 String getDriverName() throws RemoteException , SQLException; 125 126 131 String getDriverVersion() throws RemoteException , SQLException; 132 133 138 int getDriverMajorVersion() throws RemoteException , SQLException; 139 140 145 int getDriverMinorVersion() throws RemoteException , SQLException; 146 147 152 boolean usesLocalFiles() throws RemoteException , SQLException; 153 154 159 boolean usesLocalFilePerTable() throws RemoteException , SQLException; 160 161 169 boolean supportsMixedCaseIdentifiers() throws RemoteException , SQLException; 170 171 177 boolean storesUpperCaseIdentifiers() throws RemoteException , SQLException; 178 179 185 boolean storesLowerCaseIdentifiers() throws RemoteException , SQLException; 186 187 193 boolean storesMixedCaseIdentifiers() throws RemoteException , SQLException; 194 195 203 boolean supportsMixedCaseQuotedIdentifiers() 204 throws RemoteException , SQLException; 205 206 212 boolean storesUpperCaseQuotedIdentifiers() 213 throws RemoteException , SQLException; 214 215 221 boolean storesLowerCaseQuotedIdentifiers() 222 throws RemoteException , SQLException; 223 224 230 boolean storesMixedCaseQuotedIdentifiers() 231 throws RemoteException , SQLException; 232 233 241 String getIdentifierQuoteString() throws RemoteException , SQLException; 242 243 249 String getSQLKeywords() throws RemoteException , SQLException; 250 251 256 String getNumericFunctions() throws RemoteException , SQLException; 257 258 263 String getStringFunctions() throws RemoteException , SQLException; 264 265 270 String getSystemFunctions() throws RemoteException , SQLException; 271 272 277 String getTimeDateFunctions() throws RemoteException , SQLException; 278 279 288 String getSearchStringEscape() throws RemoteException , SQLException; 289 290 296 String getExtraNameCharacters() throws RemoteException , SQLException; 297 298 301 306 boolean supportsAlterTableWithAddColumn() 307 throws RemoteException , SQLException; 308 309 314 boolean supportsAlterTableWithDropColumn() 315 throws RemoteException , SQLException; 316 317 328 boolean supportsColumnAliasing() throws RemoteException , SQLException; 329 330 337 boolean nullPlusNonNullIsNull() throws RemoteException , SQLException; 338 339 344 boolean supportsConvert() throws RemoteException , SQLException; 345 346 354 boolean supportsConvert(int fromType, int toType) 355 throws RemoteException , SQLException; 356 357 364 boolean supportsTableCorrelationNames() throws RemoteException , SQLException; 365 366 372 boolean supportsDifferentTableCorrelationNames() 373 throws RemoteException , SQLException; 374 375 380 boolean supportsExpressionsInOrderBy() throws RemoteException , SQLException; 381 382 387 boolean supportsOrderByUnrelated() throws RemoteException , SQLException; 388 389 394 boolean supportsGroupBy() throws RemoteException , SQLException; 395 396 401 boolean supportsGroupByUnrelated() throws RemoteException , SQLException; 402 403 409 boolean supportsGroupByBeyondSelect() throws RemoteException , SQLException; 410 411 418 boolean supportsLikeEscapeClause() throws RemoteException , SQLException; 419 420 425 boolean supportsMultipleResultSets() throws RemoteException , SQLException; 426 427 433 boolean supportsMultipleTransactions() throws RemoteException , SQLException; 434 435 442 boolean supportsNonNullableColumns() throws RemoteException , SQLException; 443 444 451 boolean supportsMinimumSQLGrammar() throws RemoteException , SQLException; 452 453 458 boolean supportsCoreSQLGrammar() throws RemoteException , SQLException; 459 460 465 boolean supportsExtendedSQLGrammar() throws RemoteException , SQLException; 466 467 474 boolean supportsANSI92EntryLevelSQL() throws RemoteException , SQLException; 475 476 481 boolean supportsANSI92IntermediateSQL() throws RemoteException , SQLException; 482 483 488 boolean supportsANSI92FullSQL() throws RemoteException , SQLException; 489 490 495 boolean supportsIntegrityEnhancementFacility() 496 throws RemoteException , SQLException; 497 498 503 boolean supportsOuterJoins() throws RemoteException , SQLException; 504 505 510 boolean supportsFullOuterJoins() throws RemoteException , SQLException; 511 512 518 boolean supportsLimitedOuterJoins() throws RemoteException , SQLException; 519 520 525 String getSchemaTerm() throws RemoteException , SQLException; 526 527 532 String getProcedureTerm() throws RemoteException , SQLException; 533 534 539 String getCatalogTerm() throws RemoteException , SQLException; 540 541 547 boolean isCatalogAtStart() throws RemoteException , SQLException; 548 549 554 String getCatalogSeparator() throws RemoteException , SQLException; 555 556 561 boolean supportsSchemasInDataManipulation() 562 throws RemoteException , SQLException; 563 564 569 boolean supportsSchemasInProcedureCalls() 570 throws RemoteException , SQLException; 571 572 577 boolean supportsSchemasInTableDefinitions() 578 throws RemoteException , SQLException; 579 580 585 boolean supportsSchemasInIndexDefinitions() 586 throws RemoteException , SQLException; 587 588 593 boolean supportsSchemasInPrivilegeDefinitions() 594 throws RemoteException , SQLException; 595 596 601 boolean supportsCatalogsInDataManipulation() 602 throws RemoteException , SQLException; 603 604 609 boolean supportsCatalogsInProcedureCalls() 610 throws RemoteException , SQLException; 611 612 617 boolean supportsCatalogsInTableDefinitions() 618 throws RemoteException , SQLException; 619 620 625 boolean supportsCatalogsInIndexDefinitions() 626 throws RemoteException , SQLException; 627 628 633 boolean supportsCatalogsInPrivilegeDefinitions() 634 throws RemoteException , SQLException; 635 636 637 642 boolean supportsPositionedDelete() throws RemoteException , SQLException; 643 644 649 boolean supportsPositionedUpdate() throws RemoteException , SQLException; 650 651 656 boolean supportsSelectForUpdate() throws RemoteException , SQLException; 657 658 664 boolean supportsStoredProcedures() throws RemoteException , SQLException; 665 666 673 boolean supportsSubqueriesInComparisons() 674 throws RemoteException , SQLException; 675 676 683 boolean supportsSubqueriesInExists() throws RemoteException , SQLException; 684 685 692 boolean supportsSubqueriesInIns() throws RemoteException , SQLException; 693 694 701 boolean supportsSubqueriesInQuantifieds() 702 throws RemoteException , SQLException; 703 704 711 boolean supportsCorrelatedSubqueries() throws RemoteException , SQLException; 712 713 718 boolean supportsUnion() throws RemoteException , SQLException; 719 720 725 boolean supportsUnionAll() throws RemoteException , SQLException; 726 727 732 boolean supportsOpenCursorsAcrossCommit() 733 throws RemoteException , SQLException; 734 735 740 boolean supportsOpenCursorsAcrossRollback() 741 throws RemoteException , SQLException; 742 743 748 boolean supportsOpenStatementsAcrossCommit() 749 throws RemoteException , SQLException; 750 751 756 boolean supportsOpenStatementsAcrossRollback() 757 throws RemoteException , SQLException; 758 759 760 761 767 772 int getMaxBinaryLiteralLength() throws RemoteException , SQLException; 773 774 779 int getMaxCharLiteralLength() throws RemoteException , SQLException; 780 781 786 int getMaxColumnNameLength() throws RemoteException , SQLException; 787 788 793 int getMaxColumnsInGroupBy() throws RemoteException , SQLException; 794 795 800 int getMaxColumnsInIndex() throws RemoteException , SQLException; 801 802 807 int getMaxColumnsInOrderBy() throws RemoteException , SQLException; 808 809 814 int getMaxColumnsInSelect() throws RemoteException , SQLException; 815 816 821 int getMaxColumnsInTable() throws RemoteException , SQLException; 822 823 828 int getMaxConnections() throws RemoteException , SQLException; 829 830 835 int getMaxCursorNameLength() throws RemoteException , SQLException; 836 837 842 int getMaxIndexLength() throws RemoteException , SQLException; 843 844 849 int getMaxSchemaNameLength() throws RemoteException , SQLException; 850 851 856 int getMaxProcedureNameLength() throws RemoteException , SQLException; 857 858 863 int getMaxCatalogNameLength() throws RemoteException , SQLException; 864 865 870 int getMaxRowSize() throws RemoteException , SQLException; 871 872 878 boolean doesMaxRowSizeIncludeBlobs() throws RemoteException , SQLException; 879 880 885 int getMaxStatementLength() throws RemoteException , SQLException; 886 887 893 int getMaxStatements() throws RemoteException , SQLException; 894 895 900 int getMaxTableNameLength() throws RemoteException , SQLException; 901 902 907 int getMaxTablesInSelect() throws RemoteException , SQLException; 908 909 914 int getMaxUserNameLength() throws RemoteException , SQLException; 915 916 918 925 int getDefaultTransactionIsolation() throws RemoteException , SQLException; 926 927 933 boolean supportsTransactions() throws RemoteException , SQLException; 934 935 942 boolean supportsTransactionIsolationLevel(int level) 943 throws RemoteException , SQLException; 944 945 951 boolean supportsDataDefinitionAndDataManipulationTransactions() 952 throws RemoteException , SQLException; 953 954 960 boolean supportsDataManipulationTransactionsOnly() 961 throws RemoteException , SQLException; 962 963 969 boolean dataDefinitionCausesTransactionCommit() 970 throws RemoteException , SQLException; 971 972 977 boolean dataDefinitionIgnoredInTransactions() 978 throws RemoteException , SQLException; 979 980 981 1014 RJResultSetInterface getProcedures(String catalog, String schemaPattern, 1015 String procedureNamePattern) throws RemoteException , SQLException; 1016 1017 1072 RJResultSetInterface getProcedureColumns(String catalog, 1073 String schemaPattern, 1074 String procedureNamePattern, 1075 String columnNamePattern) throws RemoteException , SQLException; 1076 1077 1107 RJResultSetInterface getTables(String catalog, String schemaPattern, 1108 String tableNamePattern, String types[]) 1109 throws RemoteException , SQLException; 1110 1111 1123 RJResultSetInterface getSchemas() throws RemoteException , SQLException; 1124 1125 1137 RJResultSetInterface getCatalogs() throws RemoteException , SQLException; 1138 1139 1153 RJResultSetInterface getTableTypes() throws RemoteException , SQLException; 1154 1155 1204 RJResultSetInterface getColumns(String catalog, String schemaPattern, 1205 String tableNamePattern, String columnNamePattern) throws RemoteException , SQLException; 1206 1207 1235 RJResultSetInterface getColumnPrivileges(String catalog, String schema, 1236 String table, String columnNamePattern) throws RemoteException , SQLException; 1237 1238 1270 RJResultSetInterface getTablePrivileges(String catalog, String schemaPattern, 1271 String tableNamePattern) throws RemoteException , SQLException; 1272 1273 1308 RJResultSetInterface getBestRowIdentifier(String catalog, String schema, 1309 String table, int scope, boolean nullable) throws RemoteException , SQLException; 1310 1311 1340 RJResultSetInterface getVersionColumns(String catalog, String schema, 1341 String table) throws RemoteException , SQLException; 1342 1343 1364 RJResultSetInterface getPrimaryKeys(String catalog, String schema, 1365 String table) throws RemoteException , SQLException; 1366 1367 1434 RJResultSetInterface getImportedKeys(String catalog, String schema, 1435 String table) throws RemoteException , SQLException; 1436 1437 1504 RJResultSetInterface getExportedKeys(String catalog, String schema, 1505 String table) throws RemoteException , SQLException; 1506 1507 1582 RJResultSetInterface getCrossReference( 1583 String primaryCatalog, String primarySchema, String primaryTable, 1584 String foreignCatalog, String foreignSchema, String foreignTable) 1585 throws RemoteException , SQLException; 1586 1587 1632 RJResultSetInterface getTypeInfo() throws RemoteException , SQLException; 1633 1634 1685 RJResultSetInterface getIndexInfo(String catalog, String schema, String table, 1686 boolean unique, boolean approximate) throws RemoteException , SQLException; 1687 1688 1690 1700 boolean supportsResultSetType(int type) throws RemoteException , SQLException; 1701 1702 1714 boolean supportsResultSetConcurrency(int type, int concurrency) 1715 throws RemoteException , SQLException; 1716 1717 1727 boolean ownUpdatesAreVisible(int type) throws RemoteException , SQLException; 1728 1729 1739 boolean ownDeletesAreVisible(int type) throws RemoteException , SQLException; 1740 1750 boolean ownInsertsAreVisible(int type) throws RemoteException , SQLException; 1751 1752 1763 boolean othersUpdatesAreVisible(int type) throws RemoteException , SQLException; 1764 1765 1776 boolean othersDeletesAreVisible(int type) throws RemoteException , SQLException; 1777 1789 boolean othersInsertsAreVisible(int type) throws RemoteException , SQLException; 1790 1791 1802 boolean updatesAreDetected(int type) throws RemoteException , SQLException; 1803 1804 1815 boolean deletesAreDetected(int type) throws RemoteException , SQLException; 1816 1817 1827 boolean insertsAreDetected(int type) throws RemoteException , SQLException; 1828 1829 1835 boolean supportsBatchUpdates() throws RemoteException , SQLException; 1836 1837 1875 RJResultSetInterface getUDTs(String catalog, String schemaPattern, 1876 String typeNamePattern, int[] types) 1877 throws RemoteException , SQLException; 1878 1879 1885 Connection getConnection() throws RemoteException , SQLException; 1886 1887 1888 1890 1898 boolean supportsSavepoints() throws RemoteException , SQLException; 1899 1900 1909 boolean supportsNamedParameters() throws RemoteException , SQLException; 1910 1911 1922 boolean supportsMultipleOpenResults() throws RemoteException , SQLException; 1923 1924 1933 boolean supportsGetGeneratedKeys() throws RemoteException , SQLException; 1934 1935 1975 RJResultSetInterface getSuperTypes(String catalog, String schemaPattern, 1976 String typeNamePattern) throws RemoteException , SQLException; 1977 1978 2011 RJResultSetInterface getSuperTables(String catalog, String schemaPattern, 2012 String tableNamePattern) throws RemoteException , SQLException; 2013 2014 2021 short attributeNoNulls = 0; 2022 2023 2030 short attributeNullable = 1; 2031 2032 2040 short attributeNullableUnknown = 2; 2041 2042 2112 RJResultSetInterface getAttributes(String catalog, String schemaPattern, 2113 String typeNamePattern, String attributeNamePattern) 2114 throws RemoteException , SQLException; 2115 2116 2127 boolean supportsResultSetHoldability(int holdability) throws RemoteException , SQLException; 2128 2129 2139 int getResultSetHoldability() throws RemoteException , SQLException; 2140 2141 2148 int getDatabaseMajorVersion() throws RemoteException , SQLException; 2149 2150 2157 int getDatabaseMinorVersion() throws RemoteException , SQLException; 2158 2159 2167 int getJDBCMajorVersion() throws RemoteException , SQLException; 2168 2169 2177 int getJDBCMinorVersion() throws RemoteException , SQLException; 2178 2179 2187 int sqlStateXOpen = 1; 2188 2189 2196 int sqlStateSQL99 = 2; 2197 2198 2207 int getSQLStateType() throws RemoteException , SQLException; 2208 2209 2217 boolean locatorsUpdateCopy() throws RemoteException , SQLException; 2218 2219 2227 boolean supportsStatementPooling() throws RemoteException , SQLException; 2228 2229}; 2230 2231 | Popular Tags |