@PublicEvolving public interface JdbcDialectFactory
JdbcDialect
. This factory is used with Java's Service
Provider Interfaces (SPI) for discovering.
Classes that implement this interface can be added to the "META_INF/services/org.apache.flink.connector.jdbc.dialect.JdbcDialectFactory" file of a JAR file in the current classpath to be found.
JdbcDialect
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String url)
Retrieves whether the dialect thinks that it can open a connection to the given URL.
|
JdbcDialect |
create() |
boolean acceptsURL(String url)
true
if they understand the sub-protocol
specified in the URL and false
if they do not.url
- the URL of the databasetrue
if this dialect understands the given URL; false
otherwise.JdbcDialect create()
JdbcDialect
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.