Package io.milvus.param
Class ParamUtils
- java.lang.Object
-
- io.milvus.param.ParamUtils
-
public class ParamUtils extends java.lang.Object
Utility functions for param classes
-
-
Constructor Summary
Constructors Constructor Description ParamUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
CheckNullEmptyString(java.lang.String target, java.lang.String name)
Checks if a string is empty or null.
-
-
-
Method Detail
-
CheckNullEmptyString
public static void CheckNullEmptyString(java.lang.String target, java.lang.String name) throws ParamException
Checks if a string is empty or null. ThrowsParamException
if the string is empty of null.- Parameters:
target
- target stringname
- a name to describe this string- Throws:
ParamException
-
-