Package io.milvus.param.collection
Class GetLoadingProgressParam.Builder
- java.lang.Object
-
- io.milvus.param.collection.GetLoadingProgressParam.Builder
-
- Enclosing class:
- GetLoadingProgressParam
public static final class GetLoadingProgressParam.Builder extends java.lang.ObjectBuilder forGetLoadingProgressParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLoadingProgressParam.BuilderaddPartitionName(@NonNull java.lang.String partitionName)Adds a partition by name.GetLoadingProgressParambuild()Verifies parameters and creates a newGetLoadingProgressParaminstance.GetLoadingProgressParam.BuilderwithCollectionName(@NonNull java.lang.String collectionName)Sets the collection name.GetLoadingProgressParam.BuilderwithPartitionNames(@NonNull java.util.List<java.lang.String> partitionNames)Sets partition names list(Optional).
-
-
-
Method Detail
-
withCollectionName
public GetLoadingProgressParam.Builder withCollectionName(@NonNull @NonNull java.lang.String collectionName)
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
withPartitionNames
public GetLoadingProgressParam.Builder withPartitionNames(@NonNull @NonNull java.util.List<java.lang.String> partitionNames)
Sets partition names list(Optional).- Parameters:
partitionNames- partition names list- Returns:
Builder
-
addPartitionName
public GetLoadingProgressParam.Builder addPartitionName(@NonNull @NonNull java.lang.String partitionName)
Adds a partition by name. Partition name cannot be empty or null.- Parameters:
partitionName- partition name- Returns:
Builder
-
build
public GetLoadingProgressParam build() throws ParamException
Verifies parameters and creates a newGetLoadingProgressParaminstance.- Returns:
GetLoadingProgressParam- Throws:
ParamException
-
-