|
@@ -306,8 +306,8 @@ public class MilvusClientV2 {
|
|
|
return retry(()-> databaseService.listDatabases(this.getRpcStub()));
|
|
|
}
|
|
|
/**
|
|
|
- * Alter database with key value pair. (Available from Milvus v2.4.4)
|
|
|
- * Deprecated, replaced by alterDatabaseProperties from v2.4.10, to keep consistence with other SDKs
|
|
|
+ * Alter database with key value pair.
|
|
|
+ * Deprecated, replaced by alterDatabaseProperties from SDK v2.4.10, to keep consistence with other SDKs
|
|
|
* @param request alter database request
|
|
|
*/
|
|
|
@Deprecated
|
|
@@ -318,14 +318,14 @@ public class MilvusClientV2 {
|
|
|
.build());
|
|
|
}
|
|
|
/**
|
|
|
- * Alter a database's properties. (Available from Milvus v2.4.10)
|
|
|
+ * Alter a database's properties.
|
|
|
* @param request alter database properties request
|
|
|
*/
|
|
|
public void alterDatabaseProperties(AlterDatabasePropertiesReq request) {
|
|
|
retry(()-> databaseService.alterDatabaseProperties(this.getRpcStub(), request));
|
|
|
}
|
|
|
/**
|
|
|
- * drop a database's properties. (Available from Milvus v2.4.10)
|
|
|
+ * drop a database's properties.
|
|
|
* @param request alter database properties request
|
|
|
*/
|
|
|
public void dropDatabaseProperties(DropDatabasePropertiesReq request) {
|
|
@@ -374,7 +374,7 @@ public class MilvusClientV2 {
|
|
|
}
|
|
|
/**
|
|
|
* Alter a collection in Milvus.
|
|
|
- * Deprecated, replaced by alterCollectionProperties from v2.4.10, to keep consistence with other SDKs
|
|
|
+ * Deprecated, replaced by alterCollectionProperties from SDK v2.4.10, to keep consistence with other SDKs
|
|
|
*
|
|
|
* @param request alter collection request
|
|
|
*/
|
|
@@ -387,7 +387,7 @@ public class MilvusClientV2 {
|
|
|
.build());
|
|
|
}
|
|
|
/**
|
|
|
- * Alter a collection's properties. (Available from Milvus v2.4.10)
|
|
|
+ * Alter a collection's properties.
|
|
|
*
|
|
|
* @param request alter collection properties request
|
|
|
*/
|
|
@@ -395,7 +395,15 @@ public class MilvusClientV2 {
|
|
|
retry(()-> collectionService.alterCollectionProperties(this.getRpcStub(), request));
|
|
|
}
|
|
|
/**
|
|
|
- * drop a collection's properties. (Available from Milvus v2.4.10)
|
|
|
+ * Alter a field's properties .
|
|
|
+ *
|
|
|
+ * @param request alter field properties request
|
|
|
+ */
|
|
|
+ public void alterCollectionField(AlterCollectionFieldReq request) {
|
|
|
+ retry(()-> collectionService.alterCollectionField(this.getRpcStub(), request));
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * drop a collection's properties.
|
|
|
* @param request drop collection properties request
|
|
|
*/
|
|
|
public void dropCollectionProperties(DropCollectionPropertiesReq request) {
|
|
@@ -491,7 +499,7 @@ public class MilvusClientV2 {
|
|
|
}
|
|
|
/**
|
|
|
* Alter an index in Milvus.
|
|
|
- * Deprecated, replaced by alterIndexProperties from v2.4.10, to keep consistence with other SDKs
|
|
|
+ * Deprecated, replaced by alterIndexProperties from SDK v2.4.10, to keep consistence with other SDKs
|
|
|
*
|
|
|
* @param request alter index request
|
|
|
*/
|
|
@@ -505,7 +513,7 @@ public class MilvusClientV2 {
|
|
|
.build());
|
|
|
}
|
|
|
/**
|
|
|
- * Alter an index's properties. (Available from Milvus v2.4.10)
|
|
|
+ * Alter an index's properties.
|
|
|
*
|
|
|
* @param request alter index request
|
|
|
*/
|
|
@@ -513,7 +521,7 @@ public class MilvusClientV2 {
|
|
|
retry(()->indexService.alterIndexProperties(this.getRpcStub(), request));
|
|
|
}
|
|
|
/**
|
|
|
- * drop an index's properties. (Available from Milvus v2.4.10)
|
|
|
+ * drop an index's properties.
|
|
|
* @param request drop index properties request
|
|
|
*/
|
|
|
public void dropIndexProperties(DropIndexPropertiesReq request) {
|