Package org.apache.ignite.internal.jdbc2
Class JdbcDatabaseMetadata
- java.lang.Object
-
- org.apache.ignite.internal.jdbc2.JdbcDatabaseMetadata
-
- All Implemented Interfaces:
DatabaseMetaData,Wrapper
public class JdbcDatabaseMetadata extends Object implements DatabaseMetaData
JDBC database metadata implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDRIVER_NAMEDriver name.-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.DatabaseMetaData
getMaxLogicalLobSize, supportsRefCursors, supportsSharding
-
-
-
-
Field Detail
-
DRIVER_NAME
public static final String DRIVER_NAME
Driver name.- See Also:
- Constant Field Values
-
-
Method Detail
-
allProceduresAreCallable
public boolean allProceduresAreCallable()
- Specified by:
allProceduresAreCallablein interfaceDatabaseMetaData
-
allTablesAreSelectable
public boolean allTablesAreSelectable()
- Specified by:
allTablesAreSelectablein interfaceDatabaseMetaData
-
getURL
public String getURL()
- Specified by:
getURLin interfaceDatabaseMetaData
-
getUserName
public String getUserName()
- Specified by:
getUserNamein interfaceDatabaseMetaData
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceDatabaseMetaData
-
nullsAreSortedHigh
public boolean nullsAreSortedHigh()
- Specified by:
nullsAreSortedHighin interfaceDatabaseMetaData
-
nullsAreSortedLow
public boolean nullsAreSortedLow()
- Specified by:
nullsAreSortedLowin interfaceDatabaseMetaData
-
nullsAreSortedAtStart
public boolean nullsAreSortedAtStart()
- Specified by:
nullsAreSortedAtStartin interfaceDatabaseMetaData
-
nullsAreSortedAtEnd
public boolean nullsAreSortedAtEnd()
- Specified by:
nullsAreSortedAtEndin interfaceDatabaseMetaData
-
getDatabaseProductName
public String getDatabaseProductName()
- Specified by:
getDatabaseProductNamein interfaceDatabaseMetaData
-
getDatabaseProductVersion
public String getDatabaseProductVersion()
- Specified by:
getDatabaseProductVersionin interfaceDatabaseMetaData
-
getDatabaseMajorVersion
public int getDatabaseMajorVersion()
- Specified by:
getDatabaseMajorVersionin interfaceDatabaseMetaData
-
getDatabaseMinorVersion
public int getDatabaseMinorVersion()
- Specified by:
getDatabaseMinorVersionin interfaceDatabaseMetaData
-
getDriverName
public String getDriverName()
- Specified by:
getDriverNamein interfaceDatabaseMetaData
-
getDriverVersion
public String getDriverVersion()
- Specified by:
getDriverVersionin interfaceDatabaseMetaData
-
getDriverMajorVersion
public int getDriverMajorVersion()
- Specified by:
getDriverMajorVersionin interfaceDatabaseMetaData
-
getDriverMinorVersion
public int getDriverMinorVersion()
- Specified by:
getDriverMinorVersionin interfaceDatabaseMetaData
-
usesLocalFiles
public boolean usesLocalFiles()
- Specified by:
usesLocalFilesin interfaceDatabaseMetaData
-
usesLocalFilePerTable
public boolean usesLocalFilePerTable()
- Specified by:
usesLocalFilePerTablein interfaceDatabaseMetaData
-
supportsMixedCaseIdentifiers
public boolean supportsMixedCaseIdentifiers()
- Specified by:
supportsMixedCaseIdentifiersin interfaceDatabaseMetaData
-
storesUpperCaseIdentifiers
public boolean storesUpperCaseIdentifiers()
- Specified by:
storesUpperCaseIdentifiersin interfaceDatabaseMetaData
-
storesLowerCaseIdentifiers
public boolean storesLowerCaseIdentifiers()
- Specified by:
storesLowerCaseIdentifiersin interfaceDatabaseMetaData
-
storesMixedCaseIdentifiers
public boolean storesMixedCaseIdentifiers()
- Specified by:
storesMixedCaseIdentifiersin interfaceDatabaseMetaData
-
supportsMixedCaseQuotedIdentifiers
public boolean supportsMixedCaseQuotedIdentifiers()
- Specified by:
supportsMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData
-
storesUpperCaseQuotedIdentifiers
public boolean storesUpperCaseQuotedIdentifiers()
- Specified by:
storesUpperCaseQuotedIdentifiersin interfaceDatabaseMetaData
-
storesLowerCaseQuotedIdentifiers
public boolean storesLowerCaseQuotedIdentifiers()
- Specified by:
storesLowerCaseQuotedIdentifiersin interfaceDatabaseMetaData
-
storesMixedCaseQuotedIdentifiers
public boolean storesMixedCaseQuotedIdentifiers()
- Specified by:
storesMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData
-
getIdentifierQuoteString
public String getIdentifierQuoteString()
- Specified by:
getIdentifierQuoteStringin interfaceDatabaseMetaData
-
getSQLKeywords
public String getSQLKeywords()
- Specified by:
getSQLKeywordsin interfaceDatabaseMetaData
-
getNumericFunctions
public String getNumericFunctions()
- Specified by:
getNumericFunctionsin interfaceDatabaseMetaData
-
getStringFunctions
public String getStringFunctions()
- Specified by:
getStringFunctionsin interfaceDatabaseMetaData
-
getSystemFunctions
public String getSystemFunctions()
- Specified by:
getSystemFunctionsin interfaceDatabaseMetaData
-
getTimeDateFunctions
public String getTimeDateFunctions()
- Specified by:
getTimeDateFunctionsin interfaceDatabaseMetaData
-
getSearchStringEscape
public String getSearchStringEscape()
- Specified by:
getSearchStringEscapein interfaceDatabaseMetaData
-
getExtraNameCharacters
public String getExtraNameCharacters()
- Specified by:
getExtraNameCharactersin interfaceDatabaseMetaData
-
supportsAlterTableWithAddColumn
public boolean supportsAlterTableWithAddColumn()
- Specified by:
supportsAlterTableWithAddColumnin interfaceDatabaseMetaData
-
supportsAlterTableWithDropColumn
public boolean supportsAlterTableWithDropColumn()
- Specified by:
supportsAlterTableWithDropColumnin interfaceDatabaseMetaData
-
supportsColumnAliasing
public boolean supportsColumnAliasing()
- Specified by:
supportsColumnAliasingin interfaceDatabaseMetaData
-
nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull()
- Specified by:
nullPlusNonNullIsNullin interfaceDatabaseMetaData
-
supportsConvert
public boolean supportsConvert()
- Specified by:
supportsConvertin interfaceDatabaseMetaData
-
supportsConvert
public boolean supportsConvert(int fromType, int toType)- Specified by:
supportsConvertin interfaceDatabaseMetaData
-
supportsTableCorrelationNames
public boolean supportsTableCorrelationNames()
- Specified by:
supportsTableCorrelationNamesin interfaceDatabaseMetaData
-
supportsDifferentTableCorrelationNames
public boolean supportsDifferentTableCorrelationNames()
- Specified by:
supportsDifferentTableCorrelationNamesin interfaceDatabaseMetaData
-
supportsExpressionsInOrderBy
public boolean supportsExpressionsInOrderBy()
- Specified by:
supportsExpressionsInOrderByin interfaceDatabaseMetaData
-
supportsOrderByUnrelated
public boolean supportsOrderByUnrelated()
- Specified by:
supportsOrderByUnrelatedin interfaceDatabaseMetaData
-
supportsGroupBy
public boolean supportsGroupBy()
- Specified by:
supportsGroupByin interfaceDatabaseMetaData
-
supportsGroupByUnrelated
public boolean supportsGroupByUnrelated()
- Specified by:
supportsGroupByUnrelatedin interfaceDatabaseMetaData
-
supportsGroupByBeyondSelect
public boolean supportsGroupByBeyondSelect()
- Specified by:
supportsGroupByBeyondSelectin interfaceDatabaseMetaData
-
supportsLikeEscapeClause
public boolean supportsLikeEscapeClause()
- Specified by:
supportsLikeEscapeClausein interfaceDatabaseMetaData
-
supportsMultipleResultSets
public boolean supportsMultipleResultSets()
- Specified by:
supportsMultipleResultSetsin interfaceDatabaseMetaData
-
supportsMultipleTransactions
public boolean supportsMultipleTransactions()
- Specified by:
supportsMultipleTransactionsin interfaceDatabaseMetaData
-
supportsNonNullableColumns
public boolean supportsNonNullableColumns()
- Specified by:
supportsNonNullableColumnsin interfaceDatabaseMetaData
-
supportsMinimumSQLGrammar
public boolean supportsMinimumSQLGrammar()
- Specified by:
supportsMinimumSQLGrammarin interfaceDatabaseMetaData
-
supportsCoreSQLGrammar
public boolean supportsCoreSQLGrammar()
- Specified by:
supportsCoreSQLGrammarin interfaceDatabaseMetaData
-
supportsExtendedSQLGrammar
public boolean supportsExtendedSQLGrammar()
- Specified by:
supportsExtendedSQLGrammarin interfaceDatabaseMetaData
-
supportsANSI92EntryLevelSQL
public boolean supportsANSI92EntryLevelSQL()
- Specified by:
supportsANSI92EntryLevelSQLin interfaceDatabaseMetaData
-
supportsANSI92IntermediateSQL
public boolean supportsANSI92IntermediateSQL()
- Specified by:
supportsANSI92IntermediateSQLin interfaceDatabaseMetaData
-
supportsANSI92FullSQL
public boolean supportsANSI92FullSQL()
- Specified by:
supportsANSI92FullSQLin interfaceDatabaseMetaData
-
supportsIntegrityEnhancementFacility
public boolean supportsIntegrityEnhancementFacility()
- Specified by:
supportsIntegrityEnhancementFacilityin interfaceDatabaseMetaData
-
supportsOuterJoins
public boolean supportsOuterJoins()
- Specified by:
supportsOuterJoinsin interfaceDatabaseMetaData
-
supportsFullOuterJoins
public boolean supportsFullOuterJoins()
- Specified by:
supportsFullOuterJoinsin interfaceDatabaseMetaData
-
supportsLimitedOuterJoins
public boolean supportsLimitedOuterJoins()
- Specified by:
supportsLimitedOuterJoinsin interfaceDatabaseMetaData
-
getSchemaTerm
public String getSchemaTerm()
- Specified by:
getSchemaTermin interfaceDatabaseMetaData
-
getProcedureTerm
public String getProcedureTerm()
- Specified by:
getProcedureTermin interfaceDatabaseMetaData
-
getCatalogTerm
public String getCatalogTerm()
- Specified by:
getCatalogTermin interfaceDatabaseMetaData
-
isCatalogAtStart
public boolean isCatalogAtStart()
- Specified by:
isCatalogAtStartin interfaceDatabaseMetaData
-
getCatalogSeparator
public String getCatalogSeparator()
- Specified by:
getCatalogSeparatorin interfaceDatabaseMetaData
-
supportsSchemasInDataManipulation
public boolean supportsSchemasInDataManipulation()
- Specified by:
supportsSchemasInDataManipulationin interfaceDatabaseMetaData
-
supportsSchemasInProcedureCalls
public boolean supportsSchemasInProcedureCalls()
- Specified by:
supportsSchemasInProcedureCallsin interfaceDatabaseMetaData
-
supportsSchemasInTableDefinitions
public boolean supportsSchemasInTableDefinitions()
- Specified by:
supportsSchemasInTableDefinitionsin interfaceDatabaseMetaData
-
supportsSchemasInIndexDefinitions
public boolean supportsSchemasInIndexDefinitions()
- Specified by:
supportsSchemasInIndexDefinitionsin interfaceDatabaseMetaData
-
supportsSchemasInPrivilegeDefinitions
public boolean supportsSchemasInPrivilegeDefinitions()
- Specified by:
supportsSchemasInPrivilegeDefinitionsin interfaceDatabaseMetaData
-
supportsCatalogsInDataManipulation
public boolean supportsCatalogsInDataManipulation()
- Specified by:
supportsCatalogsInDataManipulationin interfaceDatabaseMetaData
-
supportsCatalogsInProcedureCalls
public boolean supportsCatalogsInProcedureCalls()
- Specified by:
supportsCatalogsInProcedureCallsin interfaceDatabaseMetaData
-
supportsCatalogsInTableDefinitions
public boolean supportsCatalogsInTableDefinitions()
- Specified by:
supportsCatalogsInTableDefinitionsin interfaceDatabaseMetaData
-
supportsCatalogsInIndexDefinitions
public boolean supportsCatalogsInIndexDefinitions()
- Specified by:
supportsCatalogsInIndexDefinitionsin interfaceDatabaseMetaData
-
supportsCatalogsInPrivilegeDefinitions
public boolean supportsCatalogsInPrivilegeDefinitions()
- Specified by:
supportsCatalogsInPrivilegeDefinitionsin interfaceDatabaseMetaData
-
supportsPositionedDelete
public boolean supportsPositionedDelete()
- Specified by:
supportsPositionedDeletein interfaceDatabaseMetaData
-
supportsPositionedUpdate
public boolean supportsPositionedUpdate()
- Specified by:
supportsPositionedUpdatein interfaceDatabaseMetaData
-
supportsSelectForUpdate
public boolean supportsSelectForUpdate()
- Specified by:
supportsSelectForUpdatein interfaceDatabaseMetaData
-
supportsStoredProcedures
public boolean supportsStoredProcedures()
- Specified by:
supportsStoredProceduresin interfaceDatabaseMetaData
-
supportsSubqueriesInComparisons
public boolean supportsSubqueriesInComparisons()
- Specified by:
supportsSubqueriesInComparisonsin interfaceDatabaseMetaData
-
supportsSubqueriesInExists
public boolean supportsSubqueriesInExists()
- Specified by:
supportsSubqueriesInExistsin interfaceDatabaseMetaData
-
supportsSubqueriesInIns
public boolean supportsSubqueriesInIns()
- Specified by:
supportsSubqueriesInInsin interfaceDatabaseMetaData
-
supportsSubqueriesInQuantifieds
public boolean supportsSubqueriesInQuantifieds()
- Specified by:
supportsSubqueriesInQuantifiedsin interfaceDatabaseMetaData
-
supportsCorrelatedSubqueries
public boolean supportsCorrelatedSubqueries()
- Specified by:
supportsCorrelatedSubqueriesin interfaceDatabaseMetaData
-
supportsUnion
public boolean supportsUnion()
- Specified by:
supportsUnionin interfaceDatabaseMetaData
-
supportsUnionAll
public boolean supportsUnionAll()
- Specified by:
supportsUnionAllin interfaceDatabaseMetaData
-
supportsOpenCursorsAcrossCommit
public boolean supportsOpenCursorsAcrossCommit()
- Specified by:
supportsOpenCursorsAcrossCommitin interfaceDatabaseMetaData
-
supportsOpenCursorsAcrossRollback
public boolean supportsOpenCursorsAcrossRollback()
- Specified by:
supportsOpenCursorsAcrossRollbackin interfaceDatabaseMetaData
-
supportsOpenStatementsAcrossCommit
public boolean supportsOpenStatementsAcrossCommit()
- Specified by:
supportsOpenStatementsAcrossCommitin interfaceDatabaseMetaData
-
supportsOpenStatementsAcrossRollback
public boolean supportsOpenStatementsAcrossRollback()
- Specified by:
supportsOpenStatementsAcrossRollbackin interfaceDatabaseMetaData
-
getMaxBinaryLiteralLength
public int getMaxBinaryLiteralLength()
- Specified by:
getMaxBinaryLiteralLengthin interfaceDatabaseMetaData
-
getMaxCharLiteralLength
public int getMaxCharLiteralLength()
- Specified by:
getMaxCharLiteralLengthin interfaceDatabaseMetaData
-
getMaxColumnNameLength
public int getMaxColumnNameLength()
- Specified by:
getMaxColumnNameLengthin interfaceDatabaseMetaData
-
getMaxColumnsInGroupBy
public int getMaxColumnsInGroupBy()
- Specified by:
getMaxColumnsInGroupByin interfaceDatabaseMetaData
-
getMaxColumnsInIndex
public int getMaxColumnsInIndex()
- Specified by:
getMaxColumnsInIndexin interfaceDatabaseMetaData
-
getMaxColumnsInOrderBy
public int getMaxColumnsInOrderBy()
- Specified by:
getMaxColumnsInOrderByin interfaceDatabaseMetaData
-
getMaxColumnsInSelect
public int getMaxColumnsInSelect()
- Specified by:
getMaxColumnsInSelectin interfaceDatabaseMetaData
-
getMaxColumnsInTable
public int getMaxColumnsInTable()
- Specified by:
getMaxColumnsInTablein interfaceDatabaseMetaData
-
getMaxConnections
public int getMaxConnections()
- Specified by:
getMaxConnectionsin interfaceDatabaseMetaData
-
getMaxCursorNameLength
public int getMaxCursorNameLength()
- Specified by:
getMaxCursorNameLengthin interfaceDatabaseMetaData
-
getMaxIndexLength
public int getMaxIndexLength()
- Specified by:
getMaxIndexLengthin interfaceDatabaseMetaData
-
getMaxSchemaNameLength
public int getMaxSchemaNameLength()
- Specified by:
getMaxSchemaNameLengthin interfaceDatabaseMetaData
-
getMaxProcedureNameLength
public int getMaxProcedureNameLength()
- Specified by:
getMaxProcedureNameLengthin interfaceDatabaseMetaData
-
getMaxCatalogNameLength
public int getMaxCatalogNameLength()
- Specified by:
getMaxCatalogNameLengthin interfaceDatabaseMetaData
-
getMaxRowSize
public int getMaxRowSize()
- Specified by:
getMaxRowSizein interfaceDatabaseMetaData
-
doesMaxRowSizeIncludeBlobs
public boolean doesMaxRowSizeIncludeBlobs()
- Specified by:
doesMaxRowSizeIncludeBlobsin interfaceDatabaseMetaData
-
getMaxStatementLength
public int getMaxStatementLength()
- Specified by:
getMaxStatementLengthin interfaceDatabaseMetaData
-
getMaxStatements
public int getMaxStatements()
- Specified by:
getMaxStatementsin interfaceDatabaseMetaData
-
getMaxTableNameLength
public int getMaxTableNameLength()
- Specified by:
getMaxTableNameLengthin interfaceDatabaseMetaData
-
getMaxTablesInSelect
public int getMaxTablesInSelect()
- Specified by:
getMaxTablesInSelectin interfaceDatabaseMetaData
-
getMaxUserNameLength
public int getMaxUserNameLength()
- Specified by:
getMaxUserNameLengthin interfaceDatabaseMetaData
-
getDefaultTransactionIsolation
public int getDefaultTransactionIsolation()
- Specified by:
getDefaultTransactionIsolationin interfaceDatabaseMetaData
-
supportsTransactions
public boolean supportsTransactions()
- Specified by:
supportsTransactionsin interfaceDatabaseMetaData
-
supportsTransactionIsolationLevel
public boolean supportsTransactionIsolationLevel(int level)
- Specified by:
supportsTransactionIsolationLevelin interfaceDatabaseMetaData
-
supportsDataDefinitionAndDataManipulationTransactions
public boolean supportsDataDefinitionAndDataManipulationTransactions()
- Specified by:
supportsDataDefinitionAndDataManipulationTransactionsin interfaceDatabaseMetaData
-
supportsDataManipulationTransactionsOnly
public boolean supportsDataManipulationTransactionsOnly()
- Specified by:
supportsDataManipulationTransactionsOnlyin interfaceDatabaseMetaData
-
dataDefinitionCausesTransactionCommit
public boolean dataDefinitionCausesTransactionCommit()
- Specified by:
dataDefinitionCausesTransactionCommitin interfaceDatabaseMetaData
-
dataDefinitionIgnoredInTransactions
public boolean dataDefinitionIgnoredInTransactions()
- Specified by:
dataDefinitionIgnoredInTransactionsin interfaceDatabaseMetaData
-
getProcedures
public ResultSet getProcedures(String catalog, String schemaPtrn, String procedureNamePtrn) throws SQLException
- Specified by:
getProceduresin interfaceDatabaseMetaData- Throws:
SQLException
-
getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schemaPtrn, String procedureNamePtrn, String colNamePtrn) throws SQLException
- Specified by:
getProcedureColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getTables
public ResultSet getTables(String catalog, String schemaPtrn, String tblNamePtrn, String[] tblTypes) 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 schemaPtrn, String tblNamePtrn, String colNamePtrn) throws SQLException
- Specified by:
getColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String tbl, String colNamePtrn) throws SQLException
- Specified by:
getColumnPrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schemaPtrn, String tblNamePtrn) throws SQLException
- Specified by:
getTablePrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String tbl, int scope, boolean nullable) throws SQLException
- Specified by:
getBestRowIdentifierin interfaceDatabaseMetaData- Throws:
SQLException
-
getVersionColumns
public ResultSet getVersionColumns(String catalog, String schema, String tbl) throws SQLException
- Specified by:
getVersionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog, String schemaPtrn, String tblNamePtrn) throws SQLException
- Specified by:
getPrimaryKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getImportedKeys
public ResultSet getImportedKeys(String catalog, String schema, String tbl) throws SQLException
- Specified by:
getImportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getExportedKeys
public ResultSet getExportedKeys(String catalog, String schema, String tbl) throws SQLException
- Specified by:
getExportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getCrossReference
public ResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTbl, String foreignCatalog, String foreignSchema, String foreignTbl) 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 tbl, boolean unique, boolean approximate) throws SQLException
See super method for details. There are some tips:Extra sorting by TABLE_NAME column is performed for the cases when information about multiple tables is requested. Thus, explicit sorting order is: TABLE_NAME -> NON_UNIQUE -> INDEX_NAME.
Ignite has only one possible CATALOG_NAME, it is handled on the client (driver) side.
Sorting by TYPE is not necessary, because all indexes have the only type:
DatabaseMetaData.tableIndexOther.Sorting by ORDINAL_POSITION is guaranteed by order of
IndexDescriptor.keyDefinitions().Ignite has the only unique indexes - primary key indexes.
- Specified by:
getIndexInfoin interfaceDatabaseMetaData- Parameters:
catalog- a catalog name.schema- a schema name.tbl- a table name.unique- this parameter is ignored.approximate- this parameter is ignored.- Returns:
ResultSet- each row is an index column description.- Throws:
SQLException
-
supportsResultSetType
public boolean supportsResultSetType(int type)
- Specified by:
supportsResultSetTypein interfaceDatabaseMetaData
-
supportsResultSetConcurrency
public boolean supportsResultSetConcurrency(int type, int concurrency)- Specified by:
supportsResultSetConcurrencyin interfaceDatabaseMetaData
-
ownUpdatesAreVisible
public boolean ownUpdatesAreVisible(int type)
- Specified by:
ownUpdatesAreVisiblein interfaceDatabaseMetaData
-
ownDeletesAreVisible
public boolean ownDeletesAreVisible(int type)
- Specified by:
ownDeletesAreVisiblein interfaceDatabaseMetaData
-
ownInsertsAreVisible
public boolean ownInsertsAreVisible(int type)
- Specified by:
ownInsertsAreVisiblein interfaceDatabaseMetaData
-
othersUpdatesAreVisible
public boolean othersUpdatesAreVisible(int type)
- Specified by:
othersUpdatesAreVisiblein interfaceDatabaseMetaData
-
othersDeletesAreVisible
public boolean othersDeletesAreVisible(int type)
- Specified by:
othersDeletesAreVisiblein interfaceDatabaseMetaData
-
othersInsertsAreVisible
public boolean othersInsertsAreVisible(int type)
- Specified by:
othersInsertsAreVisiblein interfaceDatabaseMetaData
-
updatesAreDetected
public boolean updatesAreDetected(int type)
- Specified by:
updatesAreDetectedin interfaceDatabaseMetaData
-
deletesAreDetected
public boolean deletesAreDetected(int type)
- Specified by:
deletesAreDetectedin interfaceDatabaseMetaData
-
insertsAreDetected
public boolean insertsAreDetected(int type)
- Specified by:
insertsAreDetectedin interfaceDatabaseMetaData
-
supportsBatchUpdates
public boolean supportsBatchUpdates()
- Specified by:
supportsBatchUpdatesin interfaceDatabaseMetaData
-
getUDTs
public ResultSet getUDTs(String catalog, String schemaPtrn, String typeNamePtrn, int[] types) throws SQLException
- Specified by:
getUDTsin interfaceDatabaseMetaData- Throws:
SQLException
-
getConnection
public Connection getConnection()
- Specified by:
getConnectionin interfaceDatabaseMetaData
-
supportsSavepoints
public boolean supportsSavepoints()
- Specified by:
supportsSavepointsin interfaceDatabaseMetaData
-
supportsNamedParameters
public boolean supportsNamedParameters()
- Specified by:
supportsNamedParametersin interfaceDatabaseMetaData
-
supportsMultipleOpenResults
public boolean supportsMultipleOpenResults()
- Specified by:
supportsMultipleOpenResultsin interfaceDatabaseMetaData
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()
- Specified by:
supportsGetGeneratedKeysin interfaceDatabaseMetaData
-
getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPtrn, String typeNamePtrn) throws SQLException
- Specified by:
getSuperTypesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPtrn, String tblNamePtrn) throws SQLException
- Specified by:
getSuperTablesin interfaceDatabaseMetaData- Throws:
SQLException
-
getAttributes
public ResultSet getAttributes(String catalog, String schemaPtrn, String typeNamePtrn, String attributeNamePtrn) throws SQLException
- Specified by:
getAttributesin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsResultSetHoldability
public boolean supportsResultSetHoldability(int holdability)
- Specified by:
supportsResultSetHoldabilityin interfaceDatabaseMetaData
-
getResultSetHoldability
public int getResultSetHoldability()
- Specified by:
getResultSetHoldabilityin interfaceDatabaseMetaData
-
getJDBCMajorVersion
public int getJDBCMajorVersion()
- Specified by:
getJDBCMajorVersionin interfaceDatabaseMetaData
-
getJDBCMinorVersion
public int getJDBCMinorVersion()
- Specified by:
getJDBCMinorVersionin interfaceDatabaseMetaData
-
getSQLStateType
public int getSQLStateType()
- Specified by:
getSQLStateTypein interfaceDatabaseMetaData
-
locatorsUpdateCopy
public boolean locatorsUpdateCopy()
- Specified by:
locatorsUpdateCopyin interfaceDatabaseMetaData
-
supportsStatementPooling
public boolean supportsStatementPooling()
- Specified by:
supportsStatementPoolingin interfaceDatabaseMetaData
-
getRowIdLifetime
public RowIdLifetime getRowIdLifetime()
- Specified by:
getRowIdLifetimein interfaceDatabaseMetaData
-
getSchemas
public ResultSet getSchemas(String catalog, String schemaPtrn) throws SQLException
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsStoredFunctionsUsingCallSyntax
public boolean supportsStoredFunctionsUsingCallSyntax()
- Specified by:
supportsStoredFunctionsUsingCallSyntaxin interfaceDatabaseMetaData
-
autoCommitFailureClosesAllResultSets
public boolean autoCommitFailureClosesAllResultSets()
- Specified by:
autoCommitFailureClosesAllResultSetsin interfaceDatabaseMetaData
-
generatedKeyAlwaysReturned
public boolean generatedKeyAlwaysReturned()
- Specified by:
generatedKeyAlwaysReturnedin interfaceDatabaseMetaData
-
getClientInfoProperties
public ResultSet getClientInfoProperties() throws SQLException
- Specified by:
getClientInfoPropertiesin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctions
public ResultSet getFunctions(String catalog, String schemaPtrn, String functionNamePtrn) throws SQLException
- Specified by:
getFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPtrn, String functionNamePtrn, String colNamePtrn) throws SQLException
- Specified by:
getFunctionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getPseudoColumns
public ResultSet getPseudoColumns(String catalog, String schemaPtrn, String tblNamePtrn, String colNamePtrn) throws SQLException
- Specified by:
getPseudoColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface)
- Specified by:
isWrapperForin interfaceWrapper
-
-