Class ModelName

java.lang.Object
com.yahoo.vespa.model.ml.ModelName

public class ModelName extends Object
Models used in a rank profile has the rank profile name as name space while global model names have no namespace
Author:
bratseth
  • Constructor Details

    • ModelName

      public ModelName(String name)
    • ModelName

      public ModelName(String namespace, com.yahoo.path.Path modelPath, boolean pathIsFile)
  • Method Details

    • isGlobal

      public boolean isGlobal()
      Returns true if the local name of this is not in a namespace
    • namespace

      public String namespace()
      Returns the namespace, or null if this is global
    • localName

      public String localName()
    • fullName

      public String fullName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object