@Ignored public interface IMongoDataSourceConfig extends IDataSourceConfig<IMongo>
Modifier and Type | Method and Description |
---|---|
Class<? extends IMongoClientOptionsHandler> |
getClientOptionsHandlerClass()
自定义MongoDB客户端参数配置处理器
|
String |
getCollectionPrefix()
集合前缀名称,可选参数,默认为空
|
String |
getConnectionUrl()
服务器主机连接字符串,可选参数,若提供此参数则下面的servers等参数就不在需要提供
|
String |
getDatabaseName()
数据库名称,必填参数
|
List<ServerAddress> |
getServerAddresses()
服务器主机集合
|
getName, getPassword, getPasswordClass, getUsername, isPasswordEncrypted
initialize, isInitialized
String getCollectionPrefix()
String getConnectionUrl()
List<ServerAddress> getServerAddresses()
String getDatabaseName()
Class<? extends IMongoClientOptionsHandler> getClientOptionsHandlerClass()
Copyright © 2022. All rights reserved.