apijson milvus
支持增、删;getClient, closeClient 等方法
ปลั๊กอินฐานข้อมูล Milvus ของ Tencent Apijson 6.4.0+ สามารถอาศัยจากระยะไกลผ่าน Maven, Gradle ฯลฯ
ปลั๊กอิน Milvus สำหรับ Tencent Apijson 6.4.0+
< repositories >
< repository >
< id >jitpack.io</ id >
< url >https://jitpack.io</ url >
</ repository >
</ repositories >
< dependency >
< groupId >com.github.APIJSON</ groupId >
< artifactId >apijson-milvus</ artifactId >
< version >LATEST</ version >
</ dependency >https://github.com/apijson/apijson-demo/blob/master/apijson-java-server/apijsonboot-multidatasource/pom.xml
allprojects {
repositories {
maven { url ' https://jitpack.io ' }
}
}app ) build.gradle app ) dependencies {
implementation ' com.github.APIJSON:apijson-milvus:latest '
} วิธีการเขียนใหม่ที่ดำเนินการในการสืบทอดคลาสย่อยของโครงการของคุณ AbstractSqlexecutor
Override ดำเนินการใน sqlexecutor ของคุณขยายบทคัดย่อ abstractsqlexecutor
@ Override
public JSONObject execute ( @ NotNull SQLConfig < Long > config , boolean unknownType ) throws Exception {
if ( config . isMilvus ()) {
return MilvusUtil . execute ( config , null , unknownType );
}
return super . execute ( config , unknownType );
} หากคุณมีคำถามใด ๆ คุณสามารถไปที่ Tencent/Apijson เพื่อออก
tencent/apijson#36
https://github.com/apijson/apijson-milvus