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

io.milvus.v2.service.collection.request.AlterCollectionReq Maven / Gradle / Ivy

There is a newer version: 2.4.8
Show newest version
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();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy