1 22 23 24 package com.mchange.v2.sql.filter; 25 26 import java.lang.String ; 27 import java.sql.Connection ; 28 import java.sql.DatabaseMetaData ; 29 import java.sql.ResultSet ; 30 import java.sql.SQLException ; 31 32 public abstract class FilterDatabaseMetaData implements DatabaseMetaData 33 { 34 protected DatabaseMetaData inner; 35 36 public FilterDatabaseMetaData(DatabaseMetaData inner) 37 { this.inner = inner; } 38 39 public FilterDatabaseMetaData() 40 {} 41 42 public void setInner( DatabaseMetaData inner ) 43 { this.inner = inner; } 44 45 public DatabaseMetaData getInner() 46 { return inner; } 47 48 public boolean allProceduresAreCallable() throws SQLException 49 { return inner.allProceduresAreCallable(); } 50 51 public boolean allTablesAreSelectable() throws SQLException 52 { return inner.allTablesAreSelectable(); } 53 54 public boolean nullsAreSortedHigh() throws SQLException 55 { return inner.nullsAreSortedHigh(); } 56 57 public boolean nullsAreSortedLow() throws SQLException 58 { return inner.nullsAreSortedLow(); } 59 60 public boolean nullsAreSortedAtStart() throws SQLException 61 { return inner.nullsAreSortedAtStart(); } 62 63 public boolean nullsAreSortedAtEnd() throws SQLException 64 { return inner.nullsAreSortedAtEnd(); } 65 66 public String getDatabaseProductName() throws SQLException 67 { return inner.getDatabaseProductName(); } 68 69 public String getDatabaseProductVersion() throws SQLException 70 { return inner.getDatabaseProductVersion(); } 71 72 public String getDriverName() throws SQLException 73 { return inner.getDriverName(); } 74 75 public String getDriverVersion() throws SQLException 76 { return inner.getDriverVersion(); } 77 78 public int getDriverMajorVersion() 79 { return inner.getDriverMajorVersion(); } 80 81 public int getDriverMinorVersion() 82 { return inner.getDriverMinorVersion(); } 83 84 public boolean usesLocalFiles() throws SQLException 85 { return inner.usesLocalFiles(); } 86 87 public boolean usesLocalFilePerTable() throws SQLException 88 { return inner.usesLocalFilePerTable(); } 89 90 public boolean supportsMixedCaseIdentifiers() throws SQLException 91 { return inner.supportsMixedCaseIdentifiers(); } 92 93 public boolean storesUpperCaseIdentifiers() throws SQLException 94 { return inner.storesUpperCaseIdentifiers(); } 95 96 public boolean storesLowerCaseIdentifiers() throws SQLException 97 { return inner.storesLowerCaseIdentifiers(); } 98 99 public boolean storesMixedCaseIdentifiers() throws SQLException 100 { return inner.storesMixedCaseIdentifiers(); } 101 102 public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException 103 { return inner.supportsMixedCaseQuotedIdentifiers(); } 104 105 public boolean storesUpperCaseQuotedIdentifiers() throws SQLException 106 { return inner.storesUpperCaseQuotedIdentifiers(); } 107 108 public boolean storesLowerCaseQuotedIdentifiers() throws SQLException 109 { return inner.storesLowerCaseQuotedIdentifiers(); } 110 111 public boolean storesMixedCaseQuotedIdentifiers() throws SQLException 112 { return inner.storesMixedCaseQuotedIdentifiers(); } 113 114 public String getIdentifierQuoteString() throws SQLException 115 { return inner.getIdentifierQuoteString(); } 116 117 public String getSQLKeywords() throws SQLException 118 { return inner.getSQLKeywords(); } 119 120 public String getNumericFunctions() throws SQLException 121 { return inner.getNumericFunctions(); } 122 123 public String getStringFunctions() throws SQLException 124 { return inner.getStringFunctions(); } 125 126 public String getSystemFunctions() throws SQLException 127 { return inner.getSystemFunctions(); } 128 129 public String getTimeDateFunctions() throws SQLException 130 { return inner.getTimeDateFunctions(); } 131 132 public String getSearchStringEscape() throws SQLException 133 { return inner.getSearchStringEscape(); } 134 135 public String getExtraNameCharacters() throws SQLException 136 { return inner.getExtraNameCharacters(); } 137 138 public boolean supportsAlterTableWithAddColumn() throws SQLException 139 { return inner.supportsAlterTableWithAddColumn(); } 140 141 public boolean supportsAlterTableWithDropColumn() throws SQLException 142 { return inner.supportsAlterTableWithDropColumn(); } 143 144 public boolean supportsColumnAliasing() throws SQLException 145 { return inner.supportsColumnAliasing(); } 146 147 public boolean nullPlusNonNullIsNull() throws SQLException 148 { return inner.nullPlusNonNullIsNull(); } 149 150 public boolean supportsConvert() throws SQLException 151 { return inner.supportsConvert(); } 152 153 public boolean supportsConvert(int a, int b) throws SQLException 154 { return inner.supportsConvert(a, b); } 155 156 public boolean supportsTableCorrelationNames() throws SQLException 157 { return inner.supportsTableCorrelationNames(); } 158 159 public boolean supportsDifferentTableCorrelationNames() throws SQLException 160 { return inner.supportsDifferentTableCorrelationNames(); } 161 162 public boolean supportsExpressionsInOrderBy() throws SQLException 163 { return inner.supportsExpressionsInOrderBy(); } 164 165 public boolean supportsOrderByUnrelated() throws SQLException 166 { return inner.supportsOrderByUnrelated(); } 167 168 public boolean supportsGroupBy() throws SQLException 169 { return inner.supportsGroupBy(); } 170 171 public boolean supportsGroupByUnrelated() throws SQLException 172 { return inner.supportsGroupByUnrelated(); } 173 174 public boolean supportsGroupByBeyondSelect() throws SQLException 175 { return inner.supportsGroupByBeyondSelect(); } 176 177 public boolean supportsLikeEscapeClause() throws SQLException 178 { return inner.supportsLikeEscapeClause(); } 179 180 public boolean supportsMultipleResultSets() throws SQLException 181 { return inner.supportsMultipleResultSets(); } 182 183 public boolean supportsMultipleTransactions() throws SQLException 184 { return inner.supportsMultipleTransactions(); } 185 186 public boolean supportsNonNullableColumns() throws SQLException 187 { return inner.supportsNonNullableColumns(); } 188 189 public boolean supportsMinimumSQLGrammar() throws SQLException 190 { return inner.supportsMinimumSQLGrammar(); } 191 192 public boolean supportsCoreSQLGrammar() throws SQLException 193 { return inner.supportsCoreSQLGrammar(); } 194 195 public boolean supportsExtendedSQLGrammar() throws SQLException 196 { return inner.supportsExtendedSQLGrammar(); } 197 198 public boolean supportsANSI92EntryLevelSQL() throws SQLException 199 { return inner.supportsANSI92EntryLevelSQL(); } 200 201 public boolean supportsANSI92IntermediateSQL() throws SQLException 202 { return inner.supportsANSI92IntermediateSQL(); } 203 204 public boolean supportsANSI92FullSQL() throws SQLException 205 { return inner.supportsANSI92FullSQL(); } 206 207 public boolean supportsIntegrityEnhancementFacility() throws SQLException 208 { return inner.supportsIntegrityEnhancementFacility(); } 209 210 public boolean supportsOuterJoins() throws SQLException 211 { return inner.supportsOuterJoins(); } 212 213 public boolean supportsFullOuterJoins() throws SQLException 214 { return inner.supportsFullOuterJoins(); } 215 216 public boolean supportsLimitedOuterJoins() throws SQLException 217 { return inner.supportsLimitedOuterJoins(); } 218 219 public String getSchemaTerm() throws SQLException 220 { return inner.getSchemaTerm(); } 221 222 public String getProcedureTerm() throws SQLException 223 { return inner.getProcedureTerm(); } 224 225 public String getCatalogTerm() throws SQLException 226 { return inner.getCatalogTerm(); } 227 228 public boolean isCatalogAtStart() throws SQLException 229 { return inner.isCatalogAtStart(); } 230 231 public String getCatalogSeparator() throws SQLException 232 { return inner.getCatalogSeparator(); } 233 234 public boolean supportsSchemasInDataManipulation() throws SQLException 235 { return inner.supportsSchemasInDataManipulation(); } 236 237 public boolean supportsSchemasInProcedureCalls() throws SQLException 238 { return inner.supportsSchemasInProcedureCalls(); } 239 240 public boolean supportsSchemasInTableDefinitions() throws SQLException 241 { return inner.supportsSchemasInTableDefinitions(); } 242 243 public boolean supportsSchemasInIndexDefinitions() throws SQLException 244 { return inner.supportsSchemasInIndexDefinitions(); } 245 246 public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException 247 { return inner.supportsSchemasInPrivilegeDefinitions(); } 248 249 public boolean supportsCatalogsInDataManipulation() throws SQLException 250 { return inner.supportsCatalogsInDataManipulation(); } 251 252 public boolean supportsCatalogsInProcedureCalls() throws SQLException 253 { return inner.supportsCatalogsInProcedureCalls(); } 254 255 public boolean supportsCatalogsInTableDefinitions() throws SQLException 256 { return inner.supportsCatalogsInTableDefinitions(); } 257 258 public boolean supportsCatalogsInIndexDefinitions() throws SQLException 259 { return inner.supportsCatalogsInIndexDefinitions(); } 260 261 public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException 262 { return inner.supportsCatalogsInPrivilegeDefinitions(); } 263 264 public boolean supportsPositionedDelete() throws SQLException 265 { return inner.supportsPositionedDelete(); } 266 267 public boolean supportsPositionedUpdate() throws SQLException 268 { return inner.supportsPositionedUpdate(); } 269 270 public boolean supportsSelectForUpdate() throws SQLException 271 { return inner.supportsSelectForUpdate(); } 272 273 public boolean supportsStoredProcedures() throws SQLException 274 { return inner.supportsStoredProcedures(); } 275 276 public boolean supportsSubqueriesInComparisons() throws SQLException 277 { return inner.supportsSubqueriesInComparisons(); } 278 279 public boolean supportsSubqueriesInExists() throws SQLException 280 { return inner.supportsSubqueriesInExists(); } 281 282 public boolean supportsSubqueriesInIns() throws SQLException 283 { return inner.supportsSubqueriesInIns(); } 284 285 public boolean supportsSubqueriesInQuantifieds() throws SQLException 286 { return inner.supportsSubqueriesInQuantifieds(); } 287 288 public boolean supportsCorrelatedSubqueries() throws SQLException 289 { return inner.supportsCorrelatedSubqueries(); } 290 291 public boolean supportsUnion() throws SQLException 292 { return inner.supportsUnion(); } 293 294 public boolean supportsUnionAll() throws SQLException 295 { return inner.supportsUnionAll(); } 296 297 public boolean supportsOpenCursorsAcrossCommit() throws SQLException 298 { return inner.supportsOpenCursorsAcrossCommit(); } 299 300 public boolean supportsOpenCursorsAcrossRollback() throws SQLException 301 { return inner.supportsOpenCursorsAcrossRollback(); } 302 303 public boolean supportsOpenStatementsAcrossCommit() throws SQLException 304 { return inner.supportsOpenStatementsAcrossCommit(); } 305 306 public boolean supportsOpenStatementsAcrossRollback() throws SQLException 307 { return inner.supportsOpenStatementsAcrossRollback(); } 308 309 public int getMaxBinaryLiteralLength() throws SQLException 310 { return inner.getMaxBinaryLiteralLength(); } 311 312 public int getMaxCharLiteralLength() throws SQLException 313 { return inner.getMaxCharLiteralLength(); } 314 315 public int getMaxColumnNameLength() throws SQLException 316 { return inner.getMaxColumnNameLength(); } 317 318 public int getMaxColumnsInGroupBy() throws SQLException 319 { return inner.getMaxColumnsInGroupBy(); } 320 321 public int getMaxColumnsInIndex() throws SQLException 322 { return inner.getMaxColumnsInIndex(); } 323 324 public int getMaxColumnsInOrderBy() throws SQLException 325 { return inner.getMaxColumnsInOrderBy(); } 326 327 public int getMaxColumnsInSelect() throws SQLException 328 { return inner.getMaxColumnsInSelect(); } 329 330 public int getMaxColumnsInTable() throws SQLException 331 { return inner.getMaxColumnsInTable(); } 332 333 public int getMaxConnections() throws SQLException 334 { return inner.getMaxConnections(); } 335 336 public int getMaxCursorNameLength() throws SQLException 337 { return inner.getMaxCursorNameLength(); } 338 339 public int getMaxIndexLength() throws SQLException 340 { return inner.getMaxIndexLength(); } 341 342 public int getMaxSchemaNameLength() throws SQLException 343 { return inner.getMaxSchemaNameLength(); } 344 345 public int getMaxProcedureNameLength() throws SQLException 346 { return inner.getMaxProcedureNameLength(); } 347 348 public int getMaxCatalogNameLength() throws SQLException 349 { return inner.getMaxCatalogNameLength(); } 350 351 public int getMaxRowSize() throws SQLException 352 { return inner.getMaxRowSize(); } 353 354 public boolean doesMaxRowSizeIncludeBlobs() throws SQLException 355 { return inner.doesMaxRowSizeIncludeBlobs(); } 356 357 public int getMaxStatementLength() throws SQLException 358 { return inner.getMaxStatementLength(); } 359 360 public int getMaxStatements() throws SQLException 361 { return inner.getMaxStatements(); } 362 363 public int getMaxTableNameLength() throws SQLException 364 { return inner.getMaxTableNameLength(); } 365 366 public int getMaxTablesInSelect() throws SQLException 367 { return inner.getMaxTablesInSelect(); } 368 369 public int getMaxUserNameLength() throws SQLException 370 { return inner.getMaxUserNameLength(); } 371 372 public int getDefaultTransactionIsolation() throws SQLException 373 { return inner.getDefaultTransactionIsolation(); } 374 375 public boolean supportsTransactions() throws SQLException 376 { return inner.supportsTransactions(); } 377 378 public boolean supportsTransactionIsolationLevel(int a) throws SQLException 379 { return inner.supportsTransactionIsolationLevel(a); } 380 381 public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException 382 { return inner.supportsDataDefinitionAndDataManipulationTransactions(); } 383 384 public boolean supportsDataManipulationTransactionsOnly() throws SQLException 385 { return inner.supportsDataManipulationTransactionsOnly(); } 386 387 public boolean dataDefinitionCausesTransactionCommit() throws SQLException 388 { return inner.dataDefinitionCausesTransactionCommit(); } 389 390 public boolean dataDefinitionIgnoredInTransactions() throws SQLException 391 { return inner.dataDefinitionIgnoredInTransactions(); } 392 393 public ResultSet getProcedures(String a, String b, String c) throws SQLException 394 { return inner.getProcedures(a, b, c); } 395 396 public ResultSet getProcedureColumns(String a, String b, String c, String d) throws SQLException 397 { return inner.getProcedureColumns(a, b, c, d); } 398 399 public ResultSet getTables(String a, String b, String c, String [] d) throws SQLException 400 { return inner.getTables(a, b, c, d); } 401 402 public ResultSet getSchemas() throws SQLException 403 { return inner.getSchemas(); } 404 405 public ResultSet getCatalogs() throws SQLException 406 { return inner.getCatalogs(); } 407 408 public ResultSet getTableTypes() throws SQLException 409 { return inner.getTableTypes(); } 410 411 public ResultSet getColumnPrivileges(String a, String b, String c, String d) throws SQLException 412 { return inner.getColumnPrivileges(a, b, c, d); } 413 414 public ResultSet getTablePrivileges(String a, String b, String c) throws SQLException 415 { return inner.getTablePrivileges(a, b, c); } 416 417 public ResultSet getBestRowIdentifier(String a, String b, String c, int d, boolean e) throws SQLException 418 { return inner.getBestRowIdentifier(a, b, c, d, e); } 419 420 public ResultSet getVersionColumns(String a, String b, String c) throws SQLException 421 { return inner.getVersionColumns(a, b, c); } 422 423 public ResultSet getPrimaryKeys(String a, String b, String c) throws SQLException 424 { return inner.getPrimaryKeys(a, b, c); } 425 426 public ResultSet getImportedKeys(String a, String b, String c) throws SQLException 427 { return inner.getImportedKeys(a, b, c); } 428 429 public ResultSet getExportedKeys(String a, String b, String c) throws SQLException 430 { return inner.getExportedKeys(a, b, c); } 431 432 public ResultSet getCrossReference(String a, String b, String c, String d, String e, String f) throws SQLException 433 { return inner.getCrossReference(a, b, c, d, e, f); } 434 435 public ResultSet getTypeInfo() throws SQLException 436 { return inner.getTypeInfo(); } 437 438 public ResultSet getIndexInfo(String a, String b, String c, boolean d, boolean e) throws SQLException 439 { return inner.getIndexInfo(a, b, c, d, e); } 440 441 public boolean supportsResultSetType(int a) throws SQLException 442 { return inner.supportsResultSetType(a); } 443 444 public boolean supportsResultSetConcurrency(int a, int b) throws SQLException 445 { return inner.supportsResultSetConcurrency(a, b); } 446 447 public boolean ownUpdatesAreVisible(int a) throws SQLException 448 { return inner.ownUpdatesAreVisible(a); } 449 450 public boolean ownDeletesAreVisible(int a) throws SQLException 451 { return inner.ownDeletesAreVisible(a); } 452 453 public boolean ownInsertsAreVisible(int a) throws SQLException 454 { return inner.ownInsertsAreVisible(a); } 455 456 public boolean othersUpdatesAreVisible(int a) throws SQLException 457 { return inner.othersUpdatesAreVisible(a); } 458 459 public boolean othersDeletesAreVisible(int a) throws SQLException 460 { return inner.othersDeletesAreVisible(a); } 461 462 public boolean othersInsertsAreVisible(int a) throws SQLException 463 { return inner.othersInsertsAreVisible(a); } 464 465 public boolean updatesAreDetected(int a) throws SQLException 466 { return inner.updatesAreDetected(a); } 467 468 public boolean deletesAreDetected(int a) throws SQLException 469 { return inner.deletesAreDetected(a); } 470 471 public boolean insertsAreDetected(int a) throws SQLException 472 { return inner.insertsAreDetected(a); } 473 474 public boolean supportsBatchUpdates() throws SQLException 475 { return inner.supportsBatchUpdates(); } 476 477 public ResultSet getUDTs(String a, String b, String c, int[] d) throws SQLException 478 { return inner.getUDTs(a, b, c, d); } 479 480 public boolean supportsSavepoints() throws SQLException 481 { return inner.supportsSavepoints(); } 482 483 public boolean supportsNamedParameters() throws SQLException 484 { return inner.supportsNamedParameters(); } 485 486 public boolean supportsMultipleOpenResults() throws SQLException 487 { return inner.supportsMultipleOpenResults(); } 488 489 public boolean supportsGetGeneratedKeys() throws SQLException 490 { return inner.supportsGetGeneratedKeys(); } 491 492 public ResultSet getSuperTypes(String a, String b, String c) throws SQLException 493 { return inner.getSuperTypes(a, b, c); } 494 495 public ResultSet getSuperTables(String a, String b, String c) throws SQLException 496 { return inner.getSuperTables(a, b, c); } 497 498 public boolean supportsResultSetHoldability(int a) throws SQLException 499 { return inner.supportsResultSetHoldability(a); } 500 501 public int getResultSetHoldability() throws SQLException 502 { return inner.getResultSetHoldability(); } 503 504 public int getDatabaseMajorVersion() throws SQLException 505 { return inner.getDatabaseMajorVersion(); } 506 507 public int getDatabaseMinorVersion() throws SQLException 508 { return inner.getDatabaseMinorVersion(); } 509 510 public int getJDBCMajorVersion() throws SQLException 511 { return inner.getJDBCMajorVersion(); } 512 513 public int getJDBCMinorVersion() throws SQLException 514 { return inner.getJDBCMinorVersion(); } 515 516 public int getSQLStateType() throws SQLException 517 { return inner.getSQLStateType(); } 518 519 public boolean locatorsUpdateCopy() throws SQLException 520 { return inner.locatorsUpdateCopy(); } 521 522 public boolean supportsStatementPooling() throws SQLException 523 { return inner.supportsStatementPooling(); } 524 525 public String getURL() throws SQLException 526 { return inner.getURL(); } 527 528 public boolean isReadOnly() throws SQLException 529 { return inner.isReadOnly(); } 530 531 public ResultSet getAttributes(String a, String b, String c, String d) throws SQLException 532 { return inner.getAttributes(a, b, c, d); } 533 534 public Connection getConnection() throws SQLException 535 { return inner.getConnection(); } 536 537 public ResultSet getColumns(String a, String b, String c, String d) throws SQLException 538 { return inner.getColumns(a, b, c, d); } 539 540 public String getUserName() throws SQLException 541 { return inner.getUserName(); } 542 } 543 | Popular Tags |