Package com.zaxxer.hikari.pool
Class ProxyDatabaseMetaData
- java.lang.Object
-
- com.zaxxer.hikari.pool.ProxyDatabaseMetaData
-
- All Implemented Interfaces:
DatabaseMetaData,Wrapper
public abstract class ProxyDatabaseMetaData extends Object implements DatabaseMetaData
This is the proxy class forDatabaseMetaData.- Author:
- Brett Wooldridge, Yanming Zhou
-
-
Field Summary
-
Fields inherited from interface java.sql.DatabaseMetaData
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetgetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)ResultSetgetBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)ResultSetgetCatalogs()ResultSetgetClientInfoProperties()ResultSetgetColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)ResultSetgetColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)ConnectiongetConnection()ResultSetgetCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)ResultSetgetExportedKeys(String catalog, String schema, String table)ResultSetgetFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)ResultSetgetFunctions(String catalog, String schemaPattern, String functionNamePattern)ResultSetgetImportedKeys(String catalog, String schema, String table)ResultSetgetIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)ResultSetgetPrimaryKeys(String catalog, String schema, String table)ResultSetgetProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)ResultSetgetProcedures(String catalog, String schemaPattern, String procedureNamePattern)ResultSetgetPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)ResultSetgetSchemas()ResultSetgetSchemas(String catalog, String schemaPattern)ResultSetgetSuperTables(String catalog, String schemaPattern, String tableNamePattern)ResultSetgetSuperTypes(String catalog, String schemaPattern, String typeNamePattern)ResultSetgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)ResultSetgetTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)ResultSetgetTableTypes()ResultSetgetTypeInfo()ResultSetgetUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)ResultSetgetVersionColumns(String catalog, String schema, String table)booleanisWrapperFor(Class<?> iface)StringtoString()<T> Tunwrap(Class<T> iface)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.sql.DatabaseMetaData
allProceduresAreCallable, allTablesAreSelectable, autoCommitFailureClosesAllResultSets, dataDefinitionCausesTransactionCommit, dataDefinitionIgnoredInTransactions, deletesAreDetected, doesMaxRowSizeIncludeBlobs, generatedKeyAlwaysReturned, getCatalogSeparator, getCatalogTerm, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDefaultTransactionIsolation, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getExtraNameCharacters, getIdentifierQuoteString, getJDBCMajorVersion, getJDBCMinorVersion, getMaxBinaryLiteralLength, getMaxCatalogNameLength, getMaxCharLiteralLength, getMaxColumnNameLength, getMaxColumnsInGroupBy, getMaxColumnsInIndex, getMaxColumnsInOrderBy, getMaxColumnsInSelect, getMaxColumnsInTable, getMaxConnections, getMaxCursorNameLength, getMaxIndexLength, getMaxLogicalLobSize, getMaxProcedureNameLength, getMaxRowSize, getMaxSchemaNameLength, getMaxStatementLength, getMaxStatements, getMaxTableNameLength, getMaxTablesInSelect, getMaxUserNameLength, getNumericFunctions, getProcedureTerm, getResultSetHoldability, getRowIdLifetime, getSchemaTerm, getSearchStringEscape, getSQLKeywords, getSQLStateType, getStringFunctions, getSystemFunctions, getTimeDateFunctions, getURL, getUserName, insertsAreDetected, isCatalogAtStart, isReadOnly, locatorsUpdateCopy, nullPlusNonNullIsNull, nullsAreSortedAtEnd, nullsAreSortedAtStart, nullsAreSortedHigh, nullsAreSortedLow, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, storesLowerCaseIdentifiers, storesLowerCaseQuotedIdentifiers, storesMixedCaseIdentifiers, storesMixedCaseQuotedIdentifiers, storesUpperCaseIdentifiers, storesUpperCaseQuotedIdentifiers, supportsAlterTableWithAddColumn, supportsAlterTableWithDropColumn, supportsANSI92EntryLevelSQL, supportsANSI92FullSQL, supportsANSI92IntermediateSQL, supportsBatchUpdates, supportsCatalogsInDataManipulation, supportsCatalogsInIndexDefinitions, supportsCatalogsInPrivilegeDefinitions, supportsCatalogsInProcedureCalls, supportsCatalogsInTableDefinitions, supportsColumnAliasing, supportsConvert, supportsConvert, supportsCoreSQLGrammar, supportsCorrelatedSubqueries, supportsDataDefinitionAndDataManipulationTransactions, supportsDataManipulationTransactionsOnly, supportsDifferentTableCorrelationNames, supportsExpressionsInOrderBy, supportsExtendedSQLGrammar, supportsFullOuterJoins, supportsGetGeneratedKeys, supportsGroupBy, supportsGroupByBeyondSelect, supportsGroupByUnrelated, supportsIntegrityEnhancementFacility, supportsLikeEscapeClause, supportsLimitedOuterJoins, supportsMinimumSQLGrammar, supportsMixedCaseIdentifiers, supportsMixedCaseQuotedIdentifiers, supportsMultipleOpenResults, supportsMultipleResultSets, supportsMultipleTransactions, supportsNamedParameters, supportsNonNullableColumns, supportsOpenCursorsAcrossCommit, supportsOpenCursorsAcrossRollback, supportsOpenStatementsAcrossCommit, supportsOpenStatementsAcrossRollback, supportsOrderByUnrelated, supportsOuterJoins, supportsPositionedDelete, supportsPositionedUpdate, supportsRefCursors, supportsResultSetConcurrency, supportsResultSetHoldability, supportsResultSetType, supportsSavepoints, supportsSchemasInDataManipulation, supportsSchemasInIndexDefinitions, supportsSchemasInPrivilegeDefinitions, supportsSchemasInProcedureCalls, supportsSchemasInTableDefinitions, supportsSelectForUpdate, supportsSharding, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsStoredProcedures, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, supportsTransactions, supportsUnion, supportsUnionAll, updatesAreDetected, usesLocalFilePerTable, usesLocalFiles
-
-
-
-
Method Detail
-
getConnection
public final Connection getConnection()
- Specified by:
getConnectionin interfaceDatabaseMetaData
-
getProcedures
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
- Specified by:
getProceduresin interfaceDatabaseMetaData- Throws:
SQLException
-
getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getProcedureColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getTables
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
- Specified by:
getTablesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemas
public ResultSet getSchemas() throws SQLException
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLException
-
getCatalogs
public ResultSet getCatalogs() throws SQLException
- Specified by:
getCatalogsin interfaceDatabaseMetaData- Throws:
SQLException
-
getTableTypes
public ResultSet getTableTypes() throws SQLException
- Specified by:
getTableTypesin interfaceDatabaseMetaData- Throws:
SQLException
-
getColumns
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException
- Specified by:
getColumnPrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
- Specified by:
getTablePrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
- Specified by:
getBestRowIdentifierin interfaceDatabaseMetaData- Throws:
SQLException
-
getVersionColumns
public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
- Specified by:
getVersionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getPrimaryKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getImportedKeys
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getImportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getExportedKeys
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getExportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getCrossReference
public ResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
- Specified by:
getCrossReferencein interfaceDatabaseMetaData- Throws:
SQLException
-
getTypeInfo
public ResultSet getTypeInfo() throws SQLException
- Specified by:
getTypeInfoin interfaceDatabaseMetaData- Throws:
SQLException
-
getIndexInfo
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
- Specified by:
getIndexInfoin interfaceDatabaseMetaData- Throws:
SQLException
-
getUDTs
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
- Specified by:
getUDTsin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException
- Specified by:
getSuperTypesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
- Specified by:
getSuperTablesin interfaceDatabaseMetaData- Throws:
SQLException
-
getAttributes
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException
- Specified by:
getAttributesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemas
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLException
-
getClientInfoProperties
public ResultSet getClientInfoProperties() throws SQLException
- Specified by:
getClientInfoPropertiesin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctions
public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException
- Specified by:
getFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getFunctionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getPseudoColumns
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getPseudoColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
isWrapperFor
public final boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
public final <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
-