java.lang.Object
org.itsallcode.jdbc.dialect.AbstractDbDialect
- All Implemented Interfaces:
DbDialect
- Direct Known Subclasses:
ExasolDialect
,H2Dialect
Base class for implementing a
DbDialect
.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractDbDialect
(String jdbcUrlPrefix) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
supportsUrl
(String jdbcUrl) Check if this dialect supports the database type with the given JDBC URL.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.itsallcode.jdbc.dialect.DbDialect
createExtractor, createSetter
-
Constructor Details
-
AbstractDbDialect
Create a new instance.- Parameters:
jdbcUrlPrefix
- the JDBC URL prefix supported by this dialect
-
-
Method Details
-
supportsUrl
Description copied from interface:DbDialect
Check if this dialect supports the database type with the given JDBC URL.- Specified by:
supportsUrl
in interfaceDbDialect
- Parameters:
jdbcUrl
- JDBC URL- Returns:
true
if this dialect supports the database
-