public final class CachedDatabaseMetaData extends AdaptedDatabaseMetaData
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| Constructor and Description |
|---|
CachedDatabaseMetaData(DatabaseMetaData databaseMetaData,
Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.core.rule.ShardingRule shardingRule) |
deletesAreDetected, insertsAreDetected, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, supportsResultSetConcurrency, supportsResultSetHoldability, supportsResultSetType, supportsTransactionIsolationLevel, updatesAreDetectedgetAttributes, getBestRowIdentifier, getCatalogs, getClientInfoProperties, getColumnPrivileges, getColumns, getConnection, getCrossReference, getExportedKeys, getFunctionColumns, getFunctions, getImportedKeys, getIndexInfo, getPrimaryKeys, getProcedureColumns, getProcedures, getPseudoColumns, getSchemas, getSchemas, getSuperTables, getSuperTypes, getTablePrivileges, getTables, getTableTypes, getTypeInfo, getUDTs, getVersionColumnsisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxLogicalLobSize, supportsRefCursorsisWrapperFor, unwrappublic CachedDatabaseMetaData(DatabaseMetaData databaseMetaData, Map<String,DataSource> dataSourceMap, org.apache.shardingsphere.core.rule.ShardingRule shardingRule) throws SQLException
SQLExceptionpublic String getURL()
public String getUserName()
public String getDatabaseProductName()
public String getDatabaseProductVersion()
public String getDriverName()
public String getDriverVersion()
public int getDriverMajorVersion()
public int getDriverMinorVersion()
public int getDatabaseMajorVersion()
public int getDatabaseMinorVersion()
public int getJDBCMajorVersion()
public int getJDBCMinorVersion()
public boolean isReadOnly()
public boolean allProceduresAreCallable()
public boolean allTablesAreSelectable()
public boolean nullsAreSortedHigh()
public boolean nullsAreSortedLow()
public boolean nullsAreSortedAtStart()
public boolean nullsAreSortedAtEnd()
public boolean usesLocalFiles()
public boolean usesLocalFilePerTable()
public boolean supportsMixedCaseIdentifiers()
public boolean storesUpperCaseIdentifiers()
public boolean storesLowerCaseIdentifiers()
public boolean storesMixedCaseIdentifiers()
public boolean supportsMixedCaseQuotedIdentifiers()
public boolean storesUpperCaseQuotedIdentifiers()
public boolean storesLowerCaseQuotedIdentifiers()
public boolean storesMixedCaseQuotedIdentifiers()
public String getIdentifierQuoteString()
public String getSQLKeywords()
public String getNumericFunctions()
public String getStringFunctions()
public String getSystemFunctions()
public String getTimeDateFunctions()
public String getSearchStringEscape()
public String getExtraNameCharacters()
public boolean supportsAlterTableWithAddColumn()
public boolean supportsAlterTableWithDropColumn()
public boolean supportsColumnAliasing()
public boolean nullPlusNonNullIsNull()
public boolean supportsConvert()
public boolean supportsConvert(int fromType,
int toType)
public boolean supportsTableCorrelationNames()
public boolean supportsDifferentTableCorrelationNames()
public boolean supportsExpressionsInOrderBy()
public boolean supportsOrderByUnrelated()
public boolean supportsGroupBy()
public boolean supportsGroupByUnrelated()
public boolean supportsGroupByBeyondSelect()
public boolean supportsLikeEscapeClause()
public boolean supportsMultipleResultSets()
public boolean supportsMultipleTransactions()
public boolean supportsNonNullableColumns()
public boolean supportsMinimumSQLGrammar()
public boolean supportsCoreSQLGrammar()
public boolean supportsExtendedSQLGrammar()
public boolean supportsANSI92EntryLevelSQL()
public boolean supportsANSI92IntermediateSQL()
public boolean supportsANSI92FullSQL()
public boolean supportsIntegrityEnhancementFacility()
public boolean supportsOuterJoins()
public boolean supportsFullOuterJoins()
public boolean supportsLimitedOuterJoins()
public String getSchemaTerm()
public String getProcedureTerm()
public String getCatalogTerm()
public boolean isCatalogAtStart()
public String getCatalogSeparator()
public boolean supportsSchemasInDataManipulation()
public boolean supportsSchemasInProcedureCalls()
public boolean supportsSchemasInTableDefinitions()
public boolean supportsSchemasInIndexDefinitions()
public boolean supportsSchemasInPrivilegeDefinitions()
public boolean supportsCatalogsInDataManipulation()
public boolean supportsCatalogsInProcedureCalls()
public boolean supportsCatalogsInTableDefinitions()
public boolean supportsCatalogsInIndexDefinitions()
public boolean supportsCatalogsInPrivilegeDefinitions()
public boolean supportsPositionedDelete()
public boolean supportsPositionedUpdate()
public boolean supportsSelectForUpdate()
public boolean supportsStoredProcedures()
public boolean supportsSubqueriesInComparisons()
public boolean supportsSubqueriesInExists()
public boolean supportsSubqueriesInIns()
public boolean supportsSubqueriesInQuantifieds()
public boolean supportsCorrelatedSubqueries()
public boolean supportsUnion()
public boolean supportsUnionAll()
public boolean supportsOpenCursorsAcrossCommit()
public boolean supportsOpenCursorsAcrossRollback()
public boolean supportsOpenStatementsAcrossCommit()
public boolean supportsOpenStatementsAcrossRollback()
public int getMaxBinaryLiteralLength()
public int getMaxCharLiteralLength()
public int getMaxColumnNameLength()
public int getMaxColumnsInGroupBy()
public int getMaxColumnsInIndex()
public int getMaxColumnsInOrderBy()
public int getMaxColumnsInSelect()
public int getMaxColumnsInTable()
public int getMaxConnections()
public int getMaxCursorNameLength()
public int getMaxIndexLength()
public int getMaxSchemaNameLength()
public int getMaxProcedureNameLength()
public int getMaxCatalogNameLength()
public int getMaxRowSize()
public boolean doesMaxRowSizeIncludeBlobs()
public int getMaxStatementLength()
public int getMaxStatements()
public int getMaxTableNameLength()
public int getMaxTablesInSelect()
public int getMaxUserNameLength()
public int getDefaultTransactionIsolation()
public boolean supportsTransactions()
public boolean supportsDataDefinitionAndDataManipulationTransactions()
public boolean supportsDataManipulationTransactionsOnly()
public boolean dataDefinitionCausesTransactionCommit()
public boolean dataDefinitionIgnoredInTransactions()
public boolean supportsBatchUpdates()
public boolean supportsSavepoints()
public boolean supportsNamedParameters()
public boolean supportsMultipleOpenResults()
public boolean supportsGetGeneratedKeys()
public int getResultSetHoldability()
public int getSQLStateType()
public boolean locatorsUpdateCopy()
public boolean supportsStatementPooling()
public boolean supportsStoredFunctionsUsingCallSyntax()
public boolean autoCommitFailureClosesAllResultSets()
public RowIdLifetime getRowIdLifetime()
public boolean generatedKeyAlwaysReturned()
Copyright © 2020 The Apache Software Foundation. All rights reserved.