All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.frameworkset.nosql.milvus.CustomConnectConfigBuilder Maven / Gradle / Ivy

Go to download

bboss Redis、Mongodb、Milvus、Minio客户端工具包.

There is a newer version: 6.2.8
Show newest version
package org.frameworkset.nosql.milvus;
/**
 * Copyright 2024 bboss
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

* http://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import io.milvus.v2.client.ConnectConfig; /** *

Description:

*

* * @author biaoping.yin * @Date 2024/11/1 */ public interface CustomConnectConfigBuilder { /** * 增加自定义的Milvus连接参数配置,例如安全认证配置等等,默认支持配置有: * connectConfigBuilder * .uri(milvusConfig.getUri()) * .token(milvusConfig.getToken()) // replace this with your token * .dbName(milvusConfig.getDbName()) * .connectTimeoutMs(milvusConfig.getConnectTimeoutMs()) * .idleTimeoutMs(milvusConfig.getIdleTimeoutMs()); * 其他参数配置可以通过接口方法自行设置 * @param connectConfigBuilder */ public void customConnectConfigBuilder(ConnectConfig.ConnectConfigBuilder connectConfigBuilder); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy