DBZ-5044 Introduce respective SchemaFactory for all connectors
This commit is contained in:
parent
b498368f82
commit
9fd204b383
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright Debezium Authors.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*/
|
||||||
|
package io.debezium.connector.mysql;
|
||||||
|
|
||||||
|
import io.debezium.schema.SchemaFactory;
|
||||||
|
|
||||||
|
public class MySQLSchemaFactory extends SchemaFactory {
|
||||||
|
|
||||||
|
public MySQLSchemaFactory() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final MySQLSchemaFactory mysqlSchemaFactoryObject = new MySQLSchemaFactory();
|
||||||
|
|
||||||
|
public static MySQLSchemaFactory get() {
|
||||||
|
return mysqlSchemaFactoryObject;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright Debezium Authors.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*/
|
||||||
|
package io.debezium.connector.oracle;
|
||||||
|
|
||||||
|
import io.debezium.schema.SchemaFactory;
|
||||||
|
|
||||||
|
public class OracleSchemaFactory extends SchemaFactory {
|
||||||
|
|
||||||
|
public OracleSchemaFactory() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final OracleSchemaFactory oracleSchemaFactoryObject = new OracleSchemaFactory();
|
||||||
|
|
||||||
|
public static OracleSchemaFactory get() {
|
||||||
|
return oracleSchemaFactoryObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright Debezium Authors.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*/
|
||||||
|
package io.debezium.connector.sqlserver;
|
||||||
|
|
||||||
|
import io.debezium.schema.SchemaFactory;
|
||||||
|
|
||||||
|
public class SqlServerSchemaFactory extends SchemaFactory {
|
||||||
|
|
||||||
|
public SqlServerSchemaFactory() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final SqlServerSchemaFactory sqlServerSchemaFactoryObject = new SqlServerSchemaFactory();
|
||||||
|
|
||||||
|
public static SqlServerSchemaFactory get() {
|
||||||
|
return sqlServerSchemaFactoryObject;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user