Package com.yahoo.searchdefinition
Class DistributableResource
- java.lang.Object
-
- com.yahoo.searchdefinition.DistributableResource
-
- Direct Known Subclasses:
OnnxModel
,RankExpressionBody
,RankingConstant
public class DistributableResource extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributableResource.PathType
-
Constructor Summary
Constructors Constructor Description DistributableResource(String name)
DistributableResource(String name, String path)
DistributableResource(String name, String path, DistributableResource.PathType type)
DistributableResource(String name, ByteBuffer blob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
com.yahoo.path.Path
getFilePath()
String
getFileReference()
String
getName()
DistributableResource.PathType
getPathType()
String
getUri()
protected void
register(com.yahoo.config.application.api.FileRegistry fileRegistry, ByteBuffer blob)
void
setFileName(String fileName)
void
setUri(String uri)
String
toString()
void
validate()
-
-
-
Constructor Detail
-
DistributableResource
public DistributableResource(String name)
-
DistributableResource
public DistributableResource(String name, String path, DistributableResource.PathType type)
-
DistributableResource
public DistributableResource(String name, ByteBuffer blob)
-
-
Method Detail
-
getPathType
public DistributableResource.PathType getPathType()
-
setFileName
public void setFileName(String fileName)
-
setUri
public void setUri(String uri)
-
getName
public String getName()
-
getFileName
public String getFileName()
-
getFilePath
public com.yahoo.path.Path getFilePath()
-
getUri
public String getUri()
-
getFileReference
public String getFileReference()
-
validate
public void validate()
-
register
protected void register(com.yahoo.config.application.api.FileRegistry fileRegistry, ByteBuffer blob)
-
-