Package com.yahoo.vespa.model.ml
Class ModelName
- java.lang.Object
-
- com.yahoo.vespa.model.ml.ModelName
-
public class ModelName extends java.lang.Object
Models used in a rank profile has the rank profile name as name space while gGlobal model names have no namespace- Author:
- bratseth
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
fullName()
int
hashCode()
boolean
isGlobal()
Returns true if the local name of this is not in a namespacejava.lang.String
localName()
java.lang.String
namespace()
Returns the namespace, or null if this is globaljava.lang.String
toString()
-
-
-
Method Detail
-
isGlobal
public boolean isGlobal()
Returns true if the local name of this is not in a namespace
-
namespace
public java.lang.String namespace()
Returns the namespace, or null if this is global
-
localName
public java.lang.String localName()
-
fullName
public java.lang.String fullName()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-