java.lang.Object
org.firebirdsql.jdbc.DbMetadataMediator
Provides access to the database connection for executing database metadata queries.
This class is internal API of Jaybird. Future versions may radically change, move, or make inaccessible this type.
- Since:
- 4.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHolder class for query text and parameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<String>abstract FirebirdSupportInfoProvides theFirebirdSupportInfofor the connection of the associated database metadata.abstract GDSTypeabstract FBDatabaseMetaDataAFBDatabaseMetaDatainstance of the connection that created this mediator.abstract OdsVersionabstract booleanstatic RowDescriptorBuildernewRowDescriptorBuilder(int size) 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
-
newRowDescriptorBuilder
-
getFirebirdSupportInfo
Provides theFirebirdSupportInfofor the connection of the associated database metadata.- Returns:
- Firebird support info object.
-
performMetaDataQuery
public 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
-
getMetaData
AFBDatabaseMetaDatainstance of the connection that created this mediator.- Returns:
- metadata instance
-
getGDSType
- Returns:
- GDSType of the current connection
-
isUseCatalogAsPackage
public abstract boolean isUseCatalogAsPackage()- Returns:
- value of the
useCatalogAsPackageconnection property if packages are supported, otherwisefalse - Since:
- 6
-
getClientInfoPropertyNames
- Returns:
- the client info properties to report for
FBDatabaseMetaData.getClientInfoProperties(). - Since:
- 6
-
getOdsVersion
- Returns:
- the ODS version of the database
- Since:
- 6
-