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
ConstructorsModifierConstructorDescriptionprotectedAbstractDbDialect(String jdbcUrlPrefix) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleansupportsUrl(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, waitMethods 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:DbDialectCheck if this dialect supports the database type with the given JDBC URL.- Specified by:
supportsUrlin interfaceDbDialect- Parameters:
jdbcUrl- JDBC URL- Returns:
trueif this dialect supports the database
-