public static final class ShowCollectionsParam.Builder
extends java.lang.Object
ShowCollectionsParam
class.Modifier and Type | Method and Description |
---|---|
ShowCollectionsParam.Builder |
addCollectionName(@NonNull java.lang.String collectionName)
Adds a collection name.
|
ShowCollectionsParam |
build()
Verifies parameters and creates a new
ShowCollectionsParam instance. |
ShowCollectionsParam.Builder |
withCollectionNames(@NonNull java.util.List<java.lang.String> collectionNames)
Sets a list of collection names.
|
ShowCollectionsParam.Builder |
withDatabaseName(java.lang.String databaseName) |
ShowCollectionsParam.Builder |
withShowType(io.milvus.grpc.ShowType showType)
Sets a show type.
|
public ShowCollectionsParam.Builder withDatabaseName(java.lang.String databaseName)
public ShowCollectionsParam.Builder withCollectionNames(@NonNull @NonNull java.util.List<java.lang.String> collectionNames)
collectionNames
- list of collection namesBuilder
public ShowCollectionsParam.Builder withShowType(io.milvus.grpc.ShowType showType)
showType
- ShowTypeBuilder
public ShowCollectionsParam.Builder addCollectionName(@NonNull @NonNull java.lang.String collectionName)
collectionName
- collection nameBuilder
public ShowCollectionsParam build() throws ParamException
ShowCollectionsParam
instance.ShowCollectionsParam
ParamException