milvus-logo

Class ParamUtils

  • java.lang.Object
    • io.milvus.param.ParamUtils

  • public class ParamUtils
    extends java.lang.Object
    Utility functions for param classes
    • Constructor Summary

      Constructor Description
      ParamUtils()  
    • Method Summary

      Modifier and Type Method Description
      static void CheckNullEmptyString​(java.lang.String target, java.lang.String name)
      Checks if a string is empty or null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParamUtils

        public ParamUtils()
    • 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. Throws ParamException if the string is empty of null.
        Parameters:
        target - target string
        name - a name to describe this string
        Throws:
        ParamException