com.easy.query.sql.starter.config.EasyQueryInitializeOption Maven / Gradle / Ivy
package com.easy.query.sql.starter.config;
import com.easy.query.core.basic.extension.conversion.ColumnValueSQLConverter;
import com.easy.query.core.basic.extension.conversion.ValueConverter;
import com.easy.query.core.basic.extension.encryption.EncryptionStrategy;
import com.easy.query.core.basic.extension.increment.IncrementSQLColumnGenerator;
import com.easy.query.core.basic.extension.interceptor.Interceptor;
import com.easy.query.core.basic.extension.logicdel.LogicDeleteStrategy;
import com.easy.query.core.basic.extension.track.update.ValueUpdateAtomicTrack;
import com.easy.query.core.basic.extension.version.VersionStrategy;
import com.easy.query.core.basic.jdbc.types.handler.JdbcTypeHandler;
import com.easy.query.core.sharding.initializer.ShardingInitializer;
import com.easy.query.core.sharding.route.datasource.DataSourceRoute;
import com.easy.query.core.sharding.route.table.TableRoute;
import java.util.Map;
/**
* create time 2023/5/20 23:43
* 文件说明
*
* @author xuejiaming
*/
public final class EasyQueryInitializeOption {
private final Map interceptorMap;
private final Map versionStrategyMap;
private final Map logicDeleteStrategyMap;
private final Map shardingInitializerMap;
private final Map encryptionStrategyMap;
private final Map> valueConverterMap;
private final Map> tableRouteMap;
private final Map> dataSourceRouteMap;
private final Map> valueUpdateAtomicTrackMap;
private final Map jdbcTypeHandlerMap;
private final Map columnValueSQLConverterMap;
private final Map incrementSQLColumnGeneratorMap;
public Map getInterceptorMap() {
return interceptorMap;
}
public Map getVersionStrategyMap() {
return versionStrategyMap;
}
public Map getLogicDeleteStrategyMap() {
return logicDeleteStrategyMap;
}
public Map getShardingInitializerMap() {
return shardingInitializerMap;
}
public Map getEncryptionStrategyMap() {
return encryptionStrategyMap;
}
public Map> getValueConverterMap() {
return valueConverterMap;
}
public Map> getTableRouteMap() {
return tableRouteMap;
}
public Map> getDataSourceRouteMap() {
return dataSourceRouteMap;
}
public Map> getValueUpdateAtomicTrackMap() {
return valueUpdateAtomicTrackMap;
}
public Map getJdbcTypeHandlerMap() {
return jdbcTypeHandlerMap;
}
public Map getColumnValueSQLConverterMap() {
return columnValueSQLConverterMap;
}
public Map getIncrementSQLColumnGeneratorMap() {
return incrementSQLColumnGeneratorMap;
}
public EasyQueryInitializeOption(Map interceptorMap, Map versionStrategyMap, Map logicDeleteStrategyMap, Map shardingInitializerMap, Map encryptionStrategyMap, Map> valueConverterMap,
Map> tableRouteMap,
Map> dataSourceRouteMap,
Map> valueUpdateAtomicTrackMap,
Map jdbcTypeHandlerMap,
Map columnValueSQLConverterMap,
Map incrementSQLColumnGeneratorMap) {
this.interceptorMap = interceptorMap;
this.versionStrategyMap = versionStrategyMap;
this.logicDeleteStrategyMap = logicDeleteStrategyMap;
this.shardingInitializerMap = shardingInitializerMap;
this.encryptionStrategyMap = encryptionStrategyMap;
this.valueConverterMap = valueConverterMap;
this.tableRouteMap = tableRouteMap;
this.dataSourceRouteMap = dataSourceRouteMap;
this.valueUpdateAtomicTrackMap = valueUpdateAtomicTrackMap;
this.jdbcTypeHandlerMap = jdbcTypeHandlerMap;
this.columnValueSQLConverterMap = columnValueSQLConverterMap;
this.incrementSQLColumnGeneratorMap = incrementSQLColumnGeneratorMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy