Package org.firebirdsql.jdbc.metadata
Class DbMetadataMediator
java.lang.Object
org.firebirdsql.jdbc.metadata.DbMetadataMediator
Provides access to the database connection for executing database metadata queries.
- Since:
- 4.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHolder class for query text and parameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FirebirdSupportInfoProvides theFirebirdSupportInfofor the connection of the associated database metadata.protected abstract ResultSetperformMetaDataQuery(DbMetadataMediator.MetadataQuery metadataQuery) Executes the provided metadata query on the connection of the associated database metadata.
-
Constructor Details
-
DbMetadataMediator
public DbMetadataMediator()
-
-
Method Details
-
getFirebirdSupportInfo
Provides theFirebirdSupportInfofor the connection of the associated database metadata.- Returns:
- Firebird support info object.
-
performMetaDataQuery
protected abstract ResultSet performMetaDataQuery(DbMetadataMediator.MetadataQuery metadataQuery) throws SQLException Executes the provided metadata query on the connection of the associated database metadata.- Parameters:
metadataQuery- Result set producing query to execute- Returns:
- Result set of the query
- Throws:
SQLException- For failures to execute the query
-