Packages

object ResourceDownloader

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceDownloader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cacheFolder: String
  6. def clearCache(request: ResourceRequest): Unit
  7. def clearCache(name: String, language: Option[String] = None, folder: String = publicLoc): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. var communityDownloader: ResourceDownloader
  10. def credentials: Option[AWSCredentials]
  11. var defaultDownloader: ResourceDownloader
  12. def downloadModel[TModel <: PipelineStage](reader: DefaultParamsReadable[TModel], request: ResourceRequest): TModel
  13. def downloadModel[TModel <: PipelineStage](reader: DefaultParamsReadable[TModel], name: String, language: Option[String] = None, folder: String = publicLoc): TModel
  14. def downloadPipeline(request: ResourceRequest): PipelineModel
  15. def downloadPipeline(name: String, language: Option[String] = None, folder: String = publicLoc): PipelineModel
  16. def downloadResource(request: ResourceRequest): String

    Loads resource to path

    Loads resource to path

    request

    Request for resource

    returns

    path of downloaded resource

  17. def downloadResource(name: String, language: Option[String] = None, folder: String = publicLoc): String

    Loads resource to path

    Loads resource to path

    name

    Name of Resource

    language

    Desired language of Resource

    folder

    Subfolder in s3 where to search model (e.g. medicine)

    returns

    path of downloaded resource

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. val fs: FileSystem
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getDownloadSize(name: String, language: Option[String] = None, folder: String = publicLoc): String
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. lazy val libVersion: Version
  27. def listPretrainedResources(folder: String, resourceType: ResourceType, version: Version): List[String]
  28. def listPretrainedResources(folder: String, resourceType: ResourceType, lang: String, version: Version): List[String]
  29. def listPretrainedResources(folder: String, resourceType: ResourceType, lang: String): List[String]
  30. def listPretrainedResources(folder: String, resourceType: ResourceType): List[String]

    List all resources after parsing the metadata json from the given folder in the S3 location

    List all resources after parsing the metadata json from the given folder in the S3 location

    folder

    folder inside S3 bucket

    resourceType

    type of the resources, ml for models and pl for pipelines

    returns

    list of pipelines if resourceType is Pipeline or list of models if resourceType is Model

  31. def listPublicModels(): List[String]

    List all pretrained models in public name_lang

  32. def listPublicPipelines(): List[String]

    List all pretrained pipelines in public

  33. def listUnCategorizedResources(): List[String]

    Returns models or pipelines in metadata json which has not been categorized yet.

    Returns models or pipelines in metadata json which has not been categorized yet.

    returns

    list of models or pipelines which are not categorized in metadata json

  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. var publicDownloader: ResourceDownloader
  38. val publicLoc: String
  39. def resetResourceDownloader(): Unit

    Reset the cache and recreate ResourceDownloader S3 credentials

  40. def s3Bucket: String
  41. def s3BucketCommunity: String
  42. def s3Path: String
  43. def showPublicModels(lang: String, version: String): Unit
  44. def showPublicModels(lang: String): Unit
  45. def showPublicPipelines(lang: String, version: String): Unit
  46. def showPublicPipelines(lang: String): Unit
  47. def showString(list: List[String], resourceType: ResourceType): String
  48. def showUnCategorizedResources(lang: String, version: String): Unit
  49. def showUnCategorizedResources(lang: String): Unit
  50. lazy val sparkVersion: Version
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped