Package io.milvus.param.control
Class GetQuerySegmentInfoParam.Builder
- java.lang.Object
-
- io.milvus.param.control.GetQuerySegmentInfoParam.Builder
-
- Enclosing class:
- GetQuerySegmentInfoParam
public static final class GetQuerySegmentInfoParam.Builder extends java.lang.Object
Builder forGetQuerySegmentInfoParam
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetQuerySegmentInfoParam
build()
Verifies parameters and creates a newGetQuerySegmentInfoParam
instance.GetQuerySegmentInfoParam.Builder
withCollectionName(@NonNull java.lang.String collectionName)
Sets the collection name.
-
-
-
Method Detail
-
withCollectionName
public GetQuerySegmentInfoParam.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
-
build
public GetQuerySegmentInfoParam build() throws ParamException
Verifies parameters and creates a newGetQuerySegmentInfoParam
instance.- Returns:
GetQuerySegmentInfoParam
- Throws:
ParamException
-
-