跳过导航链接
A B C D E G I L M O P R U Y 

A

AbstractMongoDatabaseFactoryProvider - com.github.sparkzxl.mongodb.dynamic中的类
description: 抽象mongodb多数据源加载
AbstractMongoDatabaseFactoryProvider() - 类 的构造器com.github.sparkzxl.mongodb.dynamic.AbstractMongoDatabaseFactoryProvider
 
addDatabaseFactory(String, MongoDatabaseFactory) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
添加数据源
afterPropertiesSet() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
 
AuditAwareImpl - com.github.sparkzxl.mongodb.aware中的类
description: 审计
AuditAwareImpl() - 类 的构造器com.github.sparkzxl.mongodb.aware.AuditAwareImpl
 
auditorAware() - 类 中的方法com.github.sparkzxl.mongodb.config.MongoAutoConfig
 

B

BaseRepository<T extends Entity> - com.github.sparkzxl.mongodb.repository中的接口
description: 公共仓储层

C

clear() - 类 中的静态方法com.github.sparkzxl.mongodb.dynamic.DynamicDatabaseContextHolder
强制清空本地线程 防止内存泄漏,如手动调用了push可调用此方法确保清除
COLUMN_CREATE_TIME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_CREATE_USER - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_CREATE_USER_ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_CREATE_USER_NAME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_UPDATE_TIME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_UPDATE_USER - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_UPDATE_USER_ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
COLUMN_UPDATE_USER_NAME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
com.github.sparkzxl.mongodb.aware - 程序包 com.github.sparkzxl.mongodb.aware
 
com.github.sparkzxl.mongodb.config - 程序包 com.github.sparkzxl.mongodb.config
 
com.github.sparkzxl.mongodb.constant - 程序包 com.github.sparkzxl.mongodb.constant
 
com.github.sparkzxl.mongodb.converter - 程序包 com.github.sparkzxl.mongodb.converter
 
com.github.sparkzxl.mongodb.dynamic - 程序包 com.github.sparkzxl.mongodb.dynamic
 
com.github.sparkzxl.mongodb.entity - 程序包 com.github.sparkzxl.mongodb.entity
 
com.github.sparkzxl.mongodb.event - 程序包 com.github.sparkzxl.mongodb.event
 
com.github.sparkzxl.mongodb.properties - 程序包 com.github.sparkzxl.mongodb.properties
 
com.github.sparkzxl.mongodb.repository - 程序包 com.github.sparkzxl.mongodb.repository
 
convert(LocalDateTime) - 类 中的方法com.github.sparkzxl.mongodb.converter.LocalDateTimeConverter
 
CREATE_TIME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
CREATE_USER - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
CREATE_USER_ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
CREATE_USER_NAME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
createdBy - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 
createdTime - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 
createMongoDatabaseFactory(DynamicMongoProperties.MongoDatabaseProperty) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.DefaultMongoDatabaseFactoryCreator
 
createMongoDatabaseFactory(DynamicMongoProperties.MongoDatabaseProperty) - 接口 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryCreator
创建数据源工厂
createMongoDatabaseFactoryMap(Map<String, DynamicMongoProperties.MongoDatabaseProperty>) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.AbstractMongoDatabaseFactoryProvider
 
createUserName - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 

D

DataProperties - com.github.sparkzxl.mongodb.properties中的类
description: MongoDB配置属性
DataProperties() - 类 的构造器com.github.sparkzxl.mongodb.properties.DataProperties
 
DefaultMongoDatabaseFactoryCreator - com.github.sparkzxl.mongodb.dynamic中的类
description: 默认数据源工厂构造实现
DefaultMongoDatabaseFactoryCreator() - 类 的构造器com.github.sparkzxl.mongodb.dynamic.DefaultMongoDatabaseFactoryCreator
 
destroy() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
 
determineMongoDatabaseFactory() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
 
determinePrimaryMongoDatabaseFactory() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
 
doGetDatabase() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.DynamicMongoTemplate
 
DynamicDatabaseContextHolder - com.github.sparkzxl.mongodb.dynamic中的类
description: 核心基于ThreadLocal的切换数据源工具类
DynamicMongoDatabaseFactoryProvider - com.github.sparkzxl.mongodb.dynamic中的接口
description: mongodb多数据源加载接口,默认的实现为从yml信息中加载所有数据源 你可以自己实现从其他地方加载所有数据源
dynamicMongoDatabaseFactoryProvider() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDynamicAutoConfig
 
DynamicMongoProperties - com.github.sparkzxl.mongodb.dynamic中的类
description: 动态数据源配置属性
DynamicMongoProperties() - 类 的构造器com.github.sparkzxl.mongodb.dynamic.DynamicMongoProperties
 
DynamicMongoProperties.MongoDatabaseProperty - com.github.sparkzxl.mongodb.dynamic中的类
description: MongoDB数据源属性类
DynamicMongoTemplate - com.github.sparkzxl.mongodb.dynamic中的类
description: MongoDB动态数据模板
DynamicMongoTemplate(MongoDatabaseFactory, MongoDatabaseFactoryContext, boolean) - 类 的构造器com.github.sparkzxl.mongodb.dynamic.DynamicMongoTemplate
 
DynamicMongoTransactionManager - com.github.sparkzxl.mongodb.dynamic中的类
description: 动态数据工厂事务管理器
DynamicMongoTransactionManager(MongoDatabaseFactory, MongoDatabaseFactoryContext) - 类 的构造器com.github.sparkzxl.mongodb.dynamic.DynamicMongoTransactionManager
 

E

Entity<E> - com.github.sparkzxl.mongodb.entity中的类
description: 公共属性
Entity() - 类 的构造器com.github.sparkzxl.mongodb.entity.Entity
 
EntityConstant - com.github.sparkzxl.mongodb.constant中的类
description: 实体属性常量
EntityConstant() - 类 的构造器com.github.sparkzxl.mongodb.constant.EntityConstant
 

G

getCurrentAuditor() - 类 中的方法com.github.sparkzxl.mongodb.aware.AuditAwareImpl
 
getDatabaseFactory(String) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
获取数据源
getDbFactory() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.DynamicMongoTransactionManager
 
getResourceFactory() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.DynamicMongoTransactionManager
 

I

ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 

L

loadMongoDatabaseFactories() - 接口 中的方法com.github.sparkzxl.mongodb.dynamic.DynamicMongoDatabaseFactoryProvider
加载所有数据源
loadMongoDatabaseFactories() - 类 中的方法com.github.sparkzxl.mongodb.dynamic.YamlMongoDatabaseFactoryProvider
 
LocalDateTimeConverter - com.github.sparkzxl.mongodb.converter中的类
 
LocalDateTimeConverter() - 类 的构造器com.github.sparkzxl.mongodb.converter.LocalDateTimeConverter
 

M

mappingMongoConverter(MongoDatabaseFactory, MongoMappingContext, BeanFactory) - 类 中的方法com.github.sparkzxl.mongodb.config.MongoAutoConfig
目的,就是为了移除 _class field 。
MongoAutoConfig - com.github.sparkzxl.mongodb.config中的类
description: MongoDB事务自动管理
MongoAutoConfig() - 类 的构造器com.github.sparkzxl.mongodb.config.MongoAutoConfig
 
MongoDatabaseFactoryContext - com.github.sparkzxl.mongodb.dynamic中的类
description: 动态数据源工厂应用上下文
MongoDatabaseFactoryContext(DynamicMongoDatabaseFactoryProvider) - 类 的构造器com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
 
mongoDatabaseFactoryContext(DynamicMongoDatabaseFactoryProvider) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDynamicAutoConfig
 
MongoDatabaseFactoryCreator - com.github.sparkzxl.mongodb.dynamic中的接口
description: 数据源工厂构造接口
MongoDatabaseProperty() - 类 的构造器com.github.sparkzxl.mongodb.dynamic.DynamicMongoProperties.MongoDatabaseProperty
 
MongoDynamicAutoConfig - com.github.sparkzxl.mongodb.dynamic中的类
description: MongoDB多数据源管理-> 用于动态切库
MongoDynamicAutoConfig(DynamicMongoProperties) - 类 的构造器com.github.sparkzxl.mongodb.dynamic.MongoDynamicAutoConfig
 
mongoInsertEventListener() - 类 中的方法com.github.sparkzxl.mongodb.config.MongoAutoConfig
 
MongoInsertEventListener - com.github.sparkzxl.mongodb.event中的类
description: mongodb 插入时间监听
MongoInsertEventListener() - 类 的构造器com.github.sparkzxl.mongodb.event.MongoInsertEventListener
 
mongoTemplate(MongoDatabaseFactoryContext) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDynamicAutoConfig
 
mongoTransactionManager(MongoDatabaseFactory) - 类 中的方法com.github.sparkzxl.mongodb.config.MongoAutoConfig
 
mongoTransactionManager(MongoDatabaseFactoryContext) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDynamicAutoConfig
 

O

onBeforeConvert(BeforeConvertEvent<Entity>) - 类 中的方法com.github.sparkzxl.mongodb.event.MongoInsertEventListener
 

P

peek() - 类 中的静态方法com.github.sparkzxl.mongodb.dynamic.DynamicDatabaseContextHolder
获得当前线程数据源
poll() - 类 中的静态方法com.github.sparkzxl.mongodb.dynamic.DynamicDatabaseContextHolder
清空当前线程数据源 如果当前线程是连续切换数据源 只会移除掉当前线程的数据源名称
push(String) - 类 中的静态方法com.github.sparkzxl.mongodb.dynamic.DynamicDatabaseContextHolder
设置当前线程数据源 如非必要不要手动调用,调用后确保最终清除

R

removeDataSource(String) - 类 中的方法com.github.sparkzxl.mongodb.dynamic.MongoDatabaseFactoryContext
删除数据源

U

UPDATE_TIME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
UPDATE_USER - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
UPDATE_USER_ID - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
UPDATE_USER_NAME - 类 中的静态变量com.github.sparkzxl.mongodb.constant.EntityConstant
 
updatedBy - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 
updatedTime - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 
updateUserName - 类 中的变量com.github.sparkzxl.mongodb.entity.Entity
 

Y

YamlMongoDatabaseFactoryProvider - com.github.sparkzxl.mongodb.dynamic中的类
description: 通过yaml属性加载数据源工厂
YamlMongoDatabaseFactoryProvider() - 类 的构造器com.github.sparkzxl.mongodb.dynamic.YamlMongoDatabaseFactoryProvider
 
A B C D E G I L M O P R U Y 
跳过导航链接

Copyright © 2022. All rights reserved.