Class PostgresDatabaseDialect.PostgresDatabaseDialectProvider
java.lang.Object
io.debezium.connector.jdbc.dialect.postgres.PostgresDatabaseDialect.PostgresDatabaseDialectProvider
- All Implemented Interfaces:
DatabaseDialectProvider
- Enclosing class:
- PostgresDatabaseDialect
public static class PostgresDatabaseDialect.PostgresDatabaseDialectProvider
extends Object
implements DatabaseDialectProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninstantiate(JdbcSinkConnectorConfig config, org.hibernate.SessionFactory sessionFactory) Instantiates the underlying database dialect implementation.Class<?>name()Returns the class that will be instantiated.booleansupports(org.hibernate.dialect.Dialect dialect) Returns whether this provider supports the provided Hibernate dialect.
-
Constructor Details
-
PostgresDatabaseDialectProvider
public PostgresDatabaseDialectProvider()
-
-
Method Details
-
supports
public boolean supports(org.hibernate.dialect.Dialect dialect) Description copied from interface:DatabaseDialectProviderReturns whether this provider supports the provided Hibernate dialect.- Specified by:
supportsin interfaceDatabaseDialectProvider- Parameters:
dialect- hibernate dialect, should not benull- Returns:
- true if the provider supports the dialect, otherwise false
-
name
Description copied from interface:DatabaseDialectProviderReturns the class that will be instantiated.- Specified by:
namein interfaceDatabaseDialectProvider
-
instantiate
public DatabaseDialect instantiate(JdbcSinkConnectorConfig config, org.hibernate.SessionFactory sessionFactory) Description copied from interface:DatabaseDialectProviderInstantiates the underlying database dialect implementation.- Specified by:
instantiatein interfaceDatabaseDialectProvider- Parameters:
config- the sink connector configuration, should not benulsessionFactory- hibernate session factory, should not benull- Returns:
- the created database dialect instance, never
null
-