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

io.milvus.param.dml.GetBulkloadStateParam Maven / Gradle / Ivy

Go to download

Java SDK for Milvus, a distributed high-performance vector search engine. update grpc to 1.42.1 update protobuf to 3.19.1 restore the calcDistance interface that is removed in 2.1.0-beta4

There is a newer version: 2.2.2.1
Show newest version
//package io.milvus.param.dml;
//
//import io.milvus.exception.ParamException;
//import lombok.Getter;
//import lombok.NonNull;
//
///**
// * Parameters for getBulkloadState interface.
// */
//@Getter
//public class GetBulkloadStateParam {
//    private final long taskID;
//
//    private GetBulkloadStateParam(@NonNull Builder builder) {
//        this.taskID = builder.taskID;
//    }
//
//    public static Builder newBuilder() {
//        return new Builder();
//    }
//
//    /**
//     * Builder for {@link GetBulkloadStateParam} class.
//     */
//    public static class Builder {
//        private Long taskID;
//
//        private Builder() {
//        }
//
//        /**
//         * Sets an import task id. The id is returned from bulkload() interface.
//         *
//         * @param taskID id of the task
//         * @return Builder
//         */
//        public Builder withTaskID(@NonNull Long taskID) {
//            this.taskID = taskID;
//            return this;
//        }
//
//        /**
//         * Verifies parameters and creates a new {@link GetBulkloadStateParam} instance.
//         *
//         * @return {@link GetBulkloadStateParam}
//         */
//        public GetBulkloadStateParam build() throws ParamException {
//            if (this.taskID == null) {
//                throw new ParamException("Task ID not specified");
//            }
//
//            return new GetBulkloadStateParam(this);
//        }
//    }
//
//    /**
//     * Constructs a String by {@link GetBulkloadStateParam} instance.
//     *
//     * @return String
//     */
//    @Override
//    public String toString() {
//        return "GetBulkloadStateParam{" +
//                "taskID='" + taskID + '\'' +
//                '}';
//    }
//}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy