Class PropertySQLProvider.Factory
- java.lang.Object
-
- org.apache.activemq.artemis.jdbc.store.sql.PropertySQLProvider.Factory
-
- All Implemented Interfaces:
SQLProvider.Factory
- Enclosing class:
- PropertySQLProvider
public static final class PropertySQLProvider.Factory extends java.lang.Object implements SQLProvider.Factory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertySQLProvider.Factory.SQLDialect
-
Constructor Summary
Constructors Constructor Description Factory(java.util.Map<java.lang.String,java.lang.Object> dataSourceProperties)Factory(javax.sql.DataSource dataSource)Factory(JDBCConnectionProvider connectionProvider)Factory(PropertySQLProvider.Factory.SQLDialect dialect)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLProvidercreate(java.lang.String tableName, SQLProvider.DatabaseStoreType dbStoreType)static PropertySQLProvider.Factory.SQLDialectidentifyDialect(java.lang.String name)static PropertySQLProvider.Factory.SQLDialectinvestigateDialect(java.sql.Connection connection)static PropertySQLProvider.Factory.SQLDialectinvestigateDialect(java.util.Map<java.lang.String,java.lang.Object> dataSourceProperties)
-
-
-
Constructor Detail
-
Factory
public Factory(PropertySQLProvider.Factory.SQLDialect dialect)
-
Factory
public Factory(javax.sql.DataSource dataSource)
-
Factory
public Factory(java.util.Map<java.lang.String,java.lang.Object> dataSourceProperties)
-
Factory
public Factory(JDBCConnectionProvider connectionProvider)
-
-
Method Detail
-
investigateDialect
public static PropertySQLProvider.Factory.SQLDialect investigateDialect(java.sql.Connection connection)
-
investigateDialect
public static PropertySQLProvider.Factory.SQLDialect investigateDialect(java.util.Map<java.lang.String,java.lang.Object> dataSourceProperties)
-
identifyDialect
public static PropertySQLProvider.Factory.SQLDialect identifyDialect(java.lang.String name)
-
create
public SQLProvider create(java.lang.String tableName, SQLProvider.DatabaseStoreType dbStoreType)
- Specified by:
createin interfaceSQLProvider.Factory
-
-