Class MySqlDialectFactory
- java.lang.Object
-
- org.apache.flink.connector.jdbc.databases.mysql.dialect.MySqlDialectFactory
-
- All Implemented Interfaces:
JdbcDialectFactory
@Internal public class MySqlDialectFactory extends Object implements JdbcDialectFactory
Factory forMySqlDialect.
-
-
Constructor Summary
Constructors Constructor Description MySqlDialectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(String url)Retrieves whether the dialect thinks that it can open a connection to the given URL.JdbcDialectcreate()
-
-
-
Method Detail
-
acceptsURL
public boolean acceptsURL(String url)
Description copied from interface:JdbcDialectFactoryRetrieves whether the dialect thinks that it can open a connection to the given URL. Typically, dialects will returntrueif they understand the sub-protocol specified in the URL andfalseif they do not.- Specified by:
acceptsURLin interfaceJdbcDialectFactory- Parameters:
url- the URL of the database- Returns:
trueif this dialect understands the given URL;falseotherwise.
-
create
public JdbcDialect create()
- Specified by:
createin interfaceJdbcDialectFactory- Returns:
- Creates a new instance of the
JdbcDialect.
-
-