org.postgresql.jdbc2
Class AbstractJdbc2DatabaseMetaData
java.lang.Object
org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData
- Direct Known Subclasses:
- AbstractJdbc3DatabaseMetaData
public abstract class AbstractJdbc2DatabaseMetaData
- extends Object
|
Method Summary |
boolean |
allProceduresAreCallable()
|
boolean |
allTablesAreSelectable()
|
protected Statement |
createMetaDataStatement()
|
boolean |
dataDefinitionCausesTransactionCommit()
|
boolean |
dataDefinitionIgnoredInTransactions()
|
boolean |
deletesAreDetected(int i)
|
boolean |
doesMaxRowSizeIncludeBlobs()
|
protected String |
escapeQuotes(String s)
Turn the provided value into a valid string literal for
direct inclusion into a query. |
ResultSet |
getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
|
ResultSet |
getCatalogs()
|
String |
getCatalogSeparator()
|
String |
getCatalogTerm()
|
ResultSet |
getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
|
protected ResultSet |
getColumns(int jdbcVersion,
String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
|
ResultSet |
getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
|
Connection |
getConnection()
|
ResultSet |
getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
|
String |
getDatabaseProductName()
|
String |
getDatabaseProductVersion()
|
int |
getDefaultTransactionIsolation()
|
int |
getDriverMajorVersion()
|
int |
getDriverMinorVersion()
|
String |
getDriverName()
|
String |
getDriverVersion()
|
ResultSet |
getExportedKeys(String catalog,
String schema,
String table)
|
String |
getExtraNameCharacters()
|
String |
getIdentifierQuoteString()
|
protected ResultSet |
getImportedExportedKeys(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
|
ResultSet |
getImportedKeys(String catalog,
String schema,
String table)
|
ResultSet |
getIndexInfo(String catalog,
String schema,
String tableName,
boolean unique,
boolean approximate)
|
int |
getMaxBinaryLiteralLength()
|
int |
getMaxCatalogNameLength()
|
int |
getMaxCharLiteralLength()
|
int |
getMaxColumnNameLength()
|
int |
getMaxColumnsInGroupBy()
|
int |
getMaxColumnsInIndex()
|
int |
getMaxColumnsInOrderBy()
|
int |
getMaxColumnsInSelect()
|
int |
getMaxColumnsInTable()
|
int |
getMaxConnections()
|
int |
getMaxCursorNameLength()
|
protected int |
getMaxIndexKeys()
|
int |
getMaxIndexLength()
|
protected int |
getMaxNameLength()
|
int |
getMaxProcedureNameLength()
|
int |
getMaxRowSize()
|
int |
getMaxSchemaNameLength()
|
int |
getMaxStatementLength()
|
int |
getMaxStatements()
|
int |
getMaxTableNameLength()
|
int |
getMaxTablesInSelect()
|
int |
getMaxUserNameLength()
|
String |
getNumericFunctions()
get supported escaped numeric functions |
ResultSet |
getPrimaryKeys(String catalog,
String schema,
String table)
|
protected ResultSet |
getProcedureColumns(int jdbcVersion,
String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
|
ResultSet |
getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
|
protected ResultSet |
getProcedures(int jdbcVersion,
String catalog,
String schemaPattern,
String procedureNamePattern)
|
ResultSet |
getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
|
String |
getProcedureTerm()
|
ResultSet |
getSchemas()
|
protected ResultSet |
getSchemas(int jdbcVersion,
String catalog,
String schemaPattern)
|
String |
getSchemaTerm()
|
String |
getSearchStringEscape()
|
String |
getSQLKeywords()
|
String |
getStringFunctions()
|
String |
getSystemFunctions()
|
ResultSet |
getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
|
ResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
|
ResultSet |
getTableTypes()
|
String |
getTimeDateFunctions()
|
ResultSet |
getTypeInfo()
|
ResultSet |
getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
|
String |
getURL()
|
String |
getUserName()
|
ResultSet |
getVersionColumns(String catalog,
String schema,
String table)
|
boolean |
insertsAreDetected(int type)
|
boolean |
isCatalogAtStart()
|
boolean |
isReadOnly()
|
boolean |
nullPlusNonNullIsNull()
|
boolean |
nullsAreSortedAtEnd()
|
boolean |
nullsAreSortedAtStart()
|
boolean |
nullsAreSortedHigh()
|
boolean |
nullsAreSortedLow()
|
boolean |
othersDeletesAreVisible(int i)
|
boolean |
othersInsertsAreVisible(int type)
|
boolean |
othersUpdatesAreVisible(int type)
|
boolean |
ownDeletesAreVisible(int type)
|
boolean |
ownInsertsAreVisible(int type)
|
boolean |
ownUpdatesAreVisible(int type)
|
protected Hashtable |
parseACL(String aclArray,
String owner)
Take the a String representing an array of ACLs and return
a Hashtable mapping the SQL permission name to a Vector of
usernames who have that permission. |
boolean |
rowChangesAreDetected(int type)
|
boolean |
rowChangesAreVisible(int type)
|
boolean |
storesLowerCaseIdentifiers()
|
boolean |
storesLowerCaseQuotedIdentifiers()
|
boolean |
storesMixedCaseIdentifiers()
|
boolean |
storesMixedCaseQuotedIdentifiers()
|
boolean |
storesUpperCaseIdentifiers()
|
boolean |
storesUpperCaseQuotedIdentifiers()
|
boolean |
supportsAlterTableWithAddColumn()
|
boolean |
supportsAlterTableWithDropColumn()
|
boolean |
supportsANSI92EntryLevelSQL()
|
boolean |
supportsANSI92FullSQL()
|
boolean |
supportsANSI92IntermediateSQL()
|
boolean |
supportsBatchUpdates()
|
boolean |
supportsCatalogsInDataManipulation()
|
boolean |
supportsCatalogsInIndexDefinitions()
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
|
boolean |
supportsCatalogsInProcedureCalls()
|
boolean |
supportsCatalogsInTableDefinitions()
|
boolean |
supportsColumnAliasing()
|
boolean |
supportsConvert()
|
boolean |
supportsConvert(int fromType,
int toType)
|
boolean |
supportsCoreSQLGrammar()
|
boolean |
supportsCorrelatedSubqueries()
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
|
boolean |
supportsDataManipulationTransactionsOnly()
|
boolean |
supportsDifferentTableCorrelationNames()
|
boolean |
supportsExpressionsInOrderBy()
|
boolean |
supportsExtendedSQLGrammar()
|
boolean |
supportsFullOuterJoins()
|
boolean |
supportsGroupBy()
|
boolean |
supportsGroupByBeyondSelect()
|
boolean |
supportsGroupByUnrelated()
|
boolean |
supportsIntegrityEnhancementFacility()
|
boolean |
supportsLikeEscapeClause()
|
boolean |
supportsLimitedOuterJoins()
|
boolean |
supportsMinimumSQLGrammar()
|
boolean |
supportsMixedCaseIdentifiers()
|
boolean |
supportsMixedCaseQuotedIdentifiers()
|
boolean |
supportsMultipleResultSets()
|
boolean |
supportsMultipleTransactions()
|
boolean |
supportsNonNullableColumns()
|
boolean |
supportsOpenCursorsAcrossCommit()
|
boolean |
supportsOpenCursorsAcrossRollback()
|
boolean |
supportsOpenStatementsAcrossCommit()
|
boolean |
supportsOpenStatementsAcrossRollback()
|
boolean |
supportsOrderByUnrelated()
|
boolean |
supportsOuterJoins()
|
boolean |
supportsPositionedDelete()
|
boolean |
supportsPositionedUpdate()
|
boolean |
supportsResultSetConcurrency(int type,
int concurrency)
|
boolean |
supportsResultSetType(int type)
|
boolean |
supportsSchemasInDataManipulation()
|
boolean |
supportsSchemasInIndexDefinitions()
|
boolean |
supportsSchemasInPrivilegeDefinitions()
|
boolean |
supportsSchemasInProcedureCalls()
|
boolean |
supportsSchemasInTableDefinitions()
|
boolean |
supportsSelectForUpdate()
|
boolean |
supportsStoredProcedures()
|
boolean |
supportsSubqueriesInComparisons()
|
boolean |
supportsSubqueriesInExists()
|
boolean |
supportsSubqueriesInIns()
|
boolean |
supportsSubqueriesInQuantifieds()
|
boolean |
supportsTableCorrelationNames()
|
boolean |
supportsTransactionIsolationLevel(int level)
|
boolean |
supportsTransactions()
|
boolean |
supportsUnion()
|
boolean |
supportsUnionAll()
|
boolean |
updatesAreDetected(int type)
|
boolean |
usesLocalFilePerTable()
|
boolean |
usesLocalFiles()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected final AbstractJdbc2Connection connection
AbstractJdbc2DatabaseMetaData
public AbstractJdbc2DatabaseMetaData(AbstractJdbc2Connection conn)
getMaxIndexKeys
protected int getMaxIndexKeys()
throws SQLException
- Throws:
SQLException
getMaxNameLength
protected int getMaxNameLength()
throws SQLException
- Throws:
SQLException
allProceduresAreCallable
public boolean allProceduresAreCallable()
throws SQLException
- Throws:
SQLException
allTablesAreSelectable
public boolean allTablesAreSelectable()
throws SQLException
- Throws:
SQLException
getURL
public String getURL()
throws SQLException
- Throws:
SQLException
getUserName
public String getUserName()
throws SQLException
- Throws:
SQLException
isReadOnly
public boolean isReadOnly()
throws SQLException
- Throws:
SQLException
nullsAreSortedHigh
public boolean nullsAreSortedHigh()
throws SQLException
- Throws:
SQLException
nullsAreSortedLow
public boolean nullsAreSortedLow()
throws SQLException
- Throws:
SQLException
nullsAreSortedAtStart
public boolean nullsAreSortedAtStart()
throws SQLException
- Throws:
SQLException
nullsAreSortedAtEnd
public boolean nullsAreSortedAtEnd()
throws SQLException
- Throws:
SQLException
getDatabaseProductName
public String getDatabaseProductName()
throws SQLException
- Throws:
SQLException
getDatabaseProductVersion
public String getDatabaseProductVersion()
throws SQLException
- Throws:
SQLException
getDriverName
public String getDriverName()
throws SQLException
- Throws:
SQLException
getDriverVersion
public String getDriverVersion()
throws SQLException
- Throws:
SQLException
getDriverMajorVersion
public int getDriverMajorVersion()
getDriverMinorVersion
public int getDriverMinorVersion()
usesLocalFiles
public boolean usesLocalFiles()
throws SQLException
- Throws:
SQLException
usesLocalFilePerTable
public boolean usesLocalFilePerTable()
throws SQLException
- Throws:
SQLException
supportsMixedCaseIdentifiers
public boolean supportsMixedCaseIdentifiers()
throws SQLException
- Throws:
SQLException
storesUpperCaseIdentifiers
public boolean storesUpperCaseIdentifiers()
throws SQLException
- Throws:
SQLException
storesLowerCaseIdentifiers
public boolean storesLowerCaseIdentifiers()
throws SQLException
- Throws:
SQLException
storesMixedCaseIdentifiers
public boolean storesMixedCaseIdentifiers()
throws SQLException
- Throws:
SQLException
supportsMixedCaseQuotedIdentifiers
public boolean supportsMixedCaseQuotedIdentifiers()
throws SQLException
- Throws:
SQLException
storesUpperCaseQuotedIdentifiers
public boolean storesUpperCaseQuotedIdentifiers()
throws SQLException
- Throws:
SQLException
storesLowerCaseQuotedIdentifiers
public boolean storesLowerCaseQuotedIdentifiers()
throws SQLException
- Throws:
SQLException
storesMixedCaseQuotedIdentifiers
public boolean storesMixedCaseQuotedIdentifiers()
throws SQLException
- Throws:
SQLException
getIdentifierQuoteString
public String getIdentifierQuoteString()
throws SQLException
- Throws:
SQLException
getSQLKeywords
public String getSQLKeywords()
throws SQLException
- Throws:
SQLException
getNumericFunctions
public String getNumericFunctions()
throws SQLException
- get supported escaped numeric functions
- Returns:
- a comma separated list of function names
- Throws:
SQLException
getStringFunctions
public String getStringFunctions()
throws SQLException
- Throws:
SQLException
getSystemFunctions
public String getSystemFunctions()
throws SQLException
- Throws:
SQLException
getTimeDateFunctions
public String getTimeDateFunctions()
throws SQLException
- Throws:
SQLException
getSearchStringEscape
public String getSearchStringEscape()
throws SQLException
- Throws:
SQLException
getExtraNameCharacters
public String getExtraNameCharacters()
throws SQLException
- Throws:
SQLException
supportsAlterTableWithAddColumn
public boolean supportsAlterTableWithAddColumn()
throws SQLException
- Throws:
SQLException
supportsAlterTableWithDropColumn
public boolean supportsAlterTableWithDropColumn()
throws SQLException
- Throws:
SQLException
supportsColumnAliasing
public boolean supportsColumnAliasing()
throws SQLException
- Throws:
SQLException
nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull()
throws SQLException
- Throws:
SQLException
supportsConvert
public boolean supportsConvert()
throws SQLException
- Throws:
SQLException
supportsConvert
public boolean supportsConvert(int fromType,
int toType)
throws SQLException
- Throws:
SQLException
supportsTableCorrelationNames
public boolean supportsTableCorrelationNames()
throws SQLException
- Throws:
SQLException
supportsDifferentTableCorrelationNames
public boolean supportsDifferentTableCorrelationNames()
throws SQLException
- Throws:
SQLException
supportsExpressionsInOrderBy
public boolean supportsExpressionsInOrderBy()
throws SQLException
- Throws:
SQLException
supportsOrderByUnrelated
public boolean supportsOrderByUnrelated()
throws SQLException
- Throws:
SQLException
supportsGroupBy
public boolean supportsGroupBy()
throws SQLException
- Throws:
SQLException
supportsGroupByUnrelated
public boolean supportsGroupByUnrelated()
throws SQLException
- Throws:
SQLException
supportsGroupByBeyondSelect
public boolean supportsGroupByBeyondSelect()
throws SQLException
- Throws:
SQLException
supportsLikeEscapeClause
public boolean supportsLikeEscapeClause()
throws SQLException
- Throws:
SQLException
supportsMultipleResultSets
public boolean supportsMultipleResultSets()
throws SQLException
- Throws:
SQLException
supportsMultipleTransactions
public boolean supportsMultipleTransactions()
throws SQLException
- Throws:
SQLException
supportsNonNullableColumns
public boolean supportsNonNullableColumns()
throws SQLException
- Throws:
SQLException
supportsMinimumSQLGrammar
public boolean supportsMinimumSQLGrammar()
throws SQLException
- Throws:
SQLException
supportsCoreSQLGrammar
public boolean supportsCoreSQLGrammar()
throws SQLException
- Throws:
SQLException
supportsExtendedSQLGrammar
public boolean supportsExtendedSQLGrammar()
throws SQLException
- Throws:
SQLException
supportsANSI92EntryLevelSQL
public boolean supportsANSI92EntryLevelSQL()
throws SQLException
- Throws:
SQLException
supportsANSI92IntermediateSQL
public boolean supportsANSI92IntermediateSQL()
throws SQLException
- Throws:
SQLException
supportsANSI92FullSQL
public boolean supportsANSI92FullSQL()
throws SQLException
- Throws:
SQLException
supportsIntegrityEnhancementFacility
public boolean supportsIntegrityEnhancementFacility()
throws SQLException
- Throws:
SQLException
supportsOuterJoins
public boolean supportsOuterJoins()
throws SQLException
- Throws:
SQLException
supportsFullOuterJoins
public boolean supportsFullOuterJoins()
throws SQLException
- Throws:
SQLException
supportsLimitedOuterJoins
public boolean supportsLimitedOuterJoins()
throws SQLException
- Throws:
SQLException
getSchemaTerm
public String getSchemaTerm()
throws SQLException
- Throws:
SQLException
getProcedureTerm
public String getProcedureTerm()
throws SQLException
- Throws:
SQLException
getCatalogTerm
public String getCatalogTerm()
throws SQLException
- Throws:
SQLException
isCatalogAtStart
public boolean isCatalogAtStart()
throws SQLException
- Throws:
SQLException
getCatalogSeparator
public String getCatalogSeparator()
throws SQLException
- Throws:
SQLException
supportsSchemasInDataManipulation
public boolean supportsSchemasInDataManipulation()
throws SQLException
- Throws:
SQLException
supportsSchemasInProcedureCalls
public boolean supportsSchemasInProcedureCalls()
throws SQLException
- Throws:
SQLException
supportsSchemasInTableDefinitions
public boolean supportsSchemasInTableDefinitions()
throws SQLException
- Throws:
SQLException
supportsSchemasInIndexDefinitions
public boolean supportsSchemasInIndexDefinitions()
throws SQLException
- Throws:
SQLException
supportsSchemasInPrivilegeDefinitions
public boolean supportsSchemasInPrivilegeDefinitions()
throws SQLException
- Throws:
SQLException
supportsCatalogsInDataManipulation
public boolean supportsCatalogsInDataManipulation()
throws SQLException
- Throws:
SQLException
supportsCatalogsInProcedureCalls
public boolean supportsCatalogsInProcedureCalls()
throws SQLException
- Throws:
SQLException
supportsCatalogsInTableDefinitions
public boolean supportsCatalogsInTableDefinitions()
throws SQLException
- Throws:
SQLException
supportsCatalogsInIndexDefinitions
public boolean supportsCatalogsInIndexDefinitions()
throws SQLException
- Throws:
SQLException
supportsCatalogsInPrivilegeDefinitions
public boolean supportsCatalogsInPrivilegeDefinitions()
throws SQLException
- Throws:
SQLException
supportsPositionedDelete
public boolean supportsPositionedDelete()
throws SQLException
- Throws:
SQLException
supportsPositionedUpdate
public boolean supportsPositionedUpdate()
throws SQLException
- Throws:
SQLException
supportsSelectForUpdate
public boolean supportsSelectForUpdate()
throws SQLException
- Throws:
SQLException
supportsStoredProcedures
public boolean supportsStoredProcedures()
throws SQLException
- Throws:
SQLException
supportsSubqueriesInComparisons
public boolean supportsSubqueriesInComparisons()
throws SQLException
- Throws:
SQLException
supportsSubqueriesInExists
public boolean supportsSubqueriesInExists()
throws SQLException
- Throws:
SQLException
supportsSubqueriesInIns
public boolean supportsSubqueriesInIns()
throws SQLException
- Throws:
SQLException
supportsSubqueriesInQuantifieds
public boolean supportsSubqueriesInQuantifieds()
throws SQLException
- Throws:
SQLException
supportsCorrelatedSubqueries
public boolean supportsCorrelatedSubqueries()
throws SQLException
- Throws:
SQLException
supportsUnion
public boolean supportsUnion()
throws SQLException
- Throws:
SQLException
supportsUnionAll
public boolean supportsUnionAll()
throws SQLException
- Throws:
SQLException
supportsOpenCursorsAcrossCommit
public boolean supportsOpenCursorsAcrossCommit()
throws SQLException
- Throws:
SQLException
supportsOpenCursorsAcrossRollback
public boolean supportsOpenCursorsAcrossRollback()
throws SQLException
- Throws:
SQLException
supportsOpenStatementsAcrossCommit
public boolean supportsOpenStatementsAcrossCommit()
throws SQLException
- Throws:
SQLException
supportsOpenStatementsAcrossRollback
public boolean supportsOpenStatementsAcrossRollback()
throws SQLException
- Throws:
SQLException
getMaxBinaryLiteralLength
public int getMaxBinaryLiteralLength()
throws SQLException
- Throws:
SQLException
getMaxCharLiteralLength
public int getMaxCharLiteralLength()
throws SQLException
- Throws:
SQLException
getMaxColumnNameLength
public int getMaxColumnNameLength()
throws SQLException
- Throws:
SQLException
getMaxColumnsInGroupBy
public int getMaxColumnsInGroupBy()
throws SQLException
- Throws:
SQLException
getMaxColumnsInIndex
public int getMaxColumnsInIndex()
throws SQLException
- Throws:
SQLException
getMaxColumnsInOrderBy
public int getMaxColumnsInOrderBy()
throws SQLException
- Throws:
SQLException
getMaxColumnsInSelect
public int getMaxColumnsInSelect()
throws SQLException
- Throws:
SQLException
getMaxColumnsInTable
public int getMaxColumnsInTable()
throws SQLException
- Throws:
SQLException
getMaxConnections
public int getMaxConnections()
throws SQLException
- Throws:
SQLException
getMaxCursorNameLength
public int getMaxCursorNameLength()
throws SQLException
- Throws:
SQLException
getMaxIndexLength
public int getMaxIndexLength()
throws SQLException
- Throws:
SQLException
getMaxSchemaNameLength
public int getMaxSchemaNameLength()
throws SQLException
- Throws:
SQLException
getMaxProcedureNameLength
public int getMaxProcedureNameLength()
throws SQLException
- Throws:
SQLException
getMaxCatalogNameLength
public int getMaxCatalogNameLength()
throws SQLException
- Throws:
SQLException
getMaxRowSize
public int getMaxRowSize()
throws SQLException
- Throws:
SQLException
doesMaxRowSizeIncludeBlobs
public boolean doesMaxRowSizeIncludeBlobs()
throws SQLException
- Throws:
SQLException
getMaxStatementLength
public int getMaxStatementLength()
throws SQLException
- Throws:
SQLException
getMaxStatements
public int getMaxStatements()
throws SQLException
- Throws:
SQLException
getMaxTableNameLength
public int getMaxTableNameLength()
throws SQLException
- Throws:
SQLException
getMaxTablesInSelect
public int getMaxTablesInSelect()
throws SQLException
- Throws:
SQLException
getMaxUserNameLength
public int getMaxUserNameLength()
throws SQLException
- Throws:
SQLException
getDefaultTransactionIsolation
public int getDefaultTransactionIsolation()
throws SQLException
- Throws:
SQLException
supportsTransactions
public boolean supportsTransactions()
throws SQLException
- Throws:
SQLException
supportsTransactionIsolationLevel
public boolean supportsTransactionIsolationLevel(int level)
throws SQLException
- Throws:
SQLException
supportsDataDefinitionAndDataManipulationTransactions
public boolean supportsDataDefinitionAndDataManipulationTransactions()
throws SQLException
- Throws:
SQLException
supportsDataManipulationTransactionsOnly
public boolean supportsDataManipulationTransactionsOnly()
throws SQLException
- Throws:
SQLException
dataDefinitionCausesTransactionCommit
public boolean dataDefinitionCausesTransactionCommit()
throws SQLException
- Throws:
SQLException
dataDefinitionIgnoredInTransactions
public boolean dataDefinitionIgnoredInTransactions()
throws SQLException
- Throws:
SQLException
escapeQuotes
protected String escapeQuotes(String s)
throws SQLException
- Turn the provided value into a valid string literal for
direct inclusion into a query. This includes the single quotes
needed around it.
- Throws:
SQLException
getProcedures
public ResultSet getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
throws SQLException
- Throws:
SQLException
getProcedures
protected ResultSet getProcedures(int jdbcVersion,
String catalog,
String schemaPattern,
String procedureNamePattern)
throws SQLException
- Throws:
SQLException
getProcedureColumns
public ResultSet getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
throws SQLException
- Throws:
SQLException
getProcedureColumns
protected ResultSet getProcedureColumns(int jdbcVersion,
String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
throws SQLException
- Throws:
SQLException
getTables
public ResultSet getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
throws SQLException
- Throws:
SQLException
getSchemas
public ResultSet getSchemas()
throws SQLException
- Throws:
SQLException
getSchemas
protected ResultSet getSchemas(int jdbcVersion,
String catalog,
String schemaPattern)
throws SQLException
- Throws:
SQLException
getCatalogs
public ResultSet getCatalogs()
throws SQLException
- Throws:
SQLException
getTableTypes
public ResultSet getTableTypes()
throws SQLException
- Throws:
SQLException
getColumns
protected ResultSet getColumns(int jdbcVersion,
String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
throws SQLException
- Throws:
SQLException
getColumns
public ResultSet getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
throws SQLException
- Throws:
SQLException
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
throws SQLException
- Throws:
SQLException
getTablePrivileges
public ResultSet getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
throws SQLException
- Throws:
SQLException
parseACL
protected Hashtable parseACL(String aclArray,
String owner)
- Take the a String representing an array of ACLs and return
a Hashtable mapping the SQL permission name to a Vector of
usernames who have that permission.
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
throws SQLException
- Throws:
SQLException
getVersionColumns
public ResultSet getVersionColumns(String catalog,
String schema,
String table)
throws SQLException
- Throws:
SQLException
getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog,
String schema,
String table)
throws SQLException
- Throws:
SQLException
getImportedExportedKeys
protected ResultSet getImportedExportedKeys(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
throws SQLException
- Parameters:
primaryCatalog - primarySchema - primaryTable - if provided will get the keys exported by this tableforeignTable - if provided will get the keys imported by this table
- Returns:
- ResultSet
- Throws:
SQLException
getImportedKeys
public ResultSet getImportedKeys(String catalog,
String schema,
String table)
throws SQLException
- Throws:
SQLException
getExportedKeys
public ResultSet getExportedKeys(String catalog,
String schema,
String table)
throws SQLException
- Throws:
SQLException
getCrossReference
public ResultSet getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
throws SQLException
- Throws:
SQLException
getTypeInfo
public ResultSet getTypeInfo()
throws SQLException
- Throws:
SQLException
getIndexInfo
public ResultSet getIndexInfo(String catalog,
String schema,
String tableName,
boolean unique,
boolean approximate)
throws SQLException
- Throws:
SQLException
supportsResultSetType
public boolean supportsResultSetType(int type)
throws SQLException
- Throws:
SQLException
supportsResultSetConcurrency
public boolean supportsResultSetConcurrency(int type,
int concurrency)
throws SQLException
- Throws:
SQLException
ownUpdatesAreVisible
public boolean ownUpdatesAreVisible(int type)
throws SQLException
- Throws:
SQLException
ownDeletesAreVisible
public boolean ownDeletesAreVisible(int type)
throws SQLException
- Throws:
SQLException
ownInsertsAreVisible
public boolean ownInsertsAreVisible(int type)
throws SQLException
- Throws:
SQLException
othersUpdatesAreVisible
public boolean othersUpdatesAreVisible(int type)
throws SQLException
- Throws:
SQLException
othersDeletesAreVisible
public boolean othersDeletesAreVisible(int i)
throws SQLException
- Throws:
SQLException
othersInsertsAreVisible
public boolean othersInsertsAreVisible(int type)
throws SQLException
- Throws:
SQLException
updatesAreDetected
public boolean updatesAreDetected(int type)
throws SQLException
- Throws:
SQLException
deletesAreDetected
public boolean deletesAreDetected(int i)
throws SQLException
- Throws:
SQLException
insertsAreDetected
public boolean insertsAreDetected(int type)
throws SQLException
- Throws:
SQLException
supportsBatchUpdates
public boolean supportsBatchUpdates()
throws SQLException
- Throws:
SQLException
getUDTs
public ResultSet getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
throws SQLException
- Parameters:
catalog - StringschemaPattern - StringtypeNamePattern - Stringtypes - int[]
- Returns:
- ResultSet
- Throws:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- Throws:
SQLException
rowChangesAreDetected
public boolean rowChangesAreDetected(int type)
throws SQLException
- Throws:
SQLException
rowChangesAreVisible
public boolean rowChangesAreVisible(int type)
throws SQLException
- Throws:
SQLException
createMetaDataStatement
protected Statement createMetaDataStatement()
throws SQLException
- Throws:
SQLException
Copyright © 2013. All Rights Reserved.