io.milvus.v2.service.collection.request.AlterCollectionReq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector database.
package io.milvus.v2.service.collection.request;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.SuperBuilder;
import java.util.HashMap;
import java.util.Map;
@Data
@SuperBuilder
public class AlterCollectionReq {
private String collectionName;
private String databaseName;
@Builder.Default
private final Map properties = new HashMap<>();
public static abstract class AlterCollectionReqBuilder> {
public B property(String key, String value) {
if(null == this.properties$value ){
this.properties$value = new HashMap<>();
}
this.properties$value.put(key, value);
this.properties$set = true;
return self();
}
}
}