Class ClickHouseDatabaseType
java.lang.Object
org.flywaydb.core.internal.database.base.BaseDatabaseType
org.flywaydb.community.database.clickhouse.ClickHouseDatabaseType
- All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>,org.flywaydb.core.extensibility.Plugin,org.flywaydb.core.internal.database.DatabaseType
public class ClickHouseDatabaseType
extends org.flywaydb.core.internal.database.base.BaseDatabaseType
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType
APPLICATION_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor) org.flywaydb.core.internal.parser.ParsercreateParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.ResourceProvider resourceProvider, org.flywaydb.core.internal.parser.ParsingContext parsingContext) booleanbooleangetBackupDriverClass(String url, ClassLoader classLoader) getDriverClass(String url, ClassLoader classLoader) getName()intbooleanhandlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection) booleanhandlesJDBCUrl(String url) Methods inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType
alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, externalAuthPropertiesRequired, getDefaultJDBCCredentialsPattern, getExternalAuthProperties, getJDBCCredentialsPattern, getSelectVersionOutput, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setDefaultConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flywaydb.core.internal.database.DatabaseType
getSpecialResourceFilenamesMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, getPluginVersion, getPriority, isEnabled, isLicensed
-
Constructor Details
-
ClickHouseDatabaseType
public ClickHouseDatabaseType()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
getNamein interfaceorg.flywaydb.core.extensibility.Plugin- Specified by:
getNamein classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
getNullType
public int getNullType()- Specified by:
getNullTypein interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
getNullTypein classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
handlesJDBCUrl
- Specified by:
handlesJDBCUrlin interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
handlesJDBCUrlin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
getDriverClass
- Specified by:
getDriverClassin interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
getDriverClassin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
getBackupDriverClass
- Specified by:
getBackupDriverClassin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
getBackupDriverClassin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
handlesDatabaseProductNameAndVersion
public boolean handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection) - Specified by:
handlesDatabaseProductNameAndVersionin interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
handlesDatabaseProductNameAndVersionin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
createDatabase
public ClickHouseDatabase createDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor) - Specified by:
createDatabasein interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
createDatabasein classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
createParser
public org.flywaydb.core.internal.parser.Parser createParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.ResourceProvider resourceProvider, org.flywaydb.core.internal.parser.ParsingContext parsingContext) - Specified by:
createParserin interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
createParserin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
detectUserRequiredByUrl
- Specified by:
detectUserRequiredByUrlin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
detectUserRequiredByUrlin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-
detectPasswordRequiredByUrl
- Specified by:
detectPasswordRequiredByUrlin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
detectPasswordRequiredByUrlin classorg.flywaydb.core.internal.database.base.BaseDatabaseType
-