Class

com.johnsnowlabs.nlp.pretrained

S3ResourceDownloader

Related Doc: package pretrained

Permalink

class S3ResourceDownloader extends ResourceDownloader

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

Instance Constructors

  1. new S3ResourceDownloader(bucket: ⇒ String, s3Path: ⇒ String, cacheFolder: ⇒ String, credentialsType: ⇒ String, region: String = "us-east-1")

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val awsGateway: AWSGateway

    Permalink
  6. val cachePath: Path

    Permalink
  7. def clearCache(request: ResourceRequest): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def download(request: ResourceRequest): Option[String]

    Permalink

    Download resource to local file

    Download resource to local file

    request

    Resource request

    returns

    Downloaded file or None if resource is not found

    Definition Classes
    S3ResourceDownloaderResourceDownloader
  10. def downloadAndUnzipFile(s3FilePath: String): Option[String]

    Permalink
  11. def downloadAndUnzipFile(destinationFile: Path, resource: ResourceMetadata, s3FilePath: String): Option[String]

    Permalink
  12. def downloadMetadataIfNeed(folder: String): List[ResourceMetadata]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. val fileSystem: FileSystem

    Permalink
    Definition Classes
    ResourceDownloader
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getDownloadSize(request: ResourceRequest): Option[Long]

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val repoFolder2Metadata: Map[String, RepositoryMetadata]

    Permalink
  25. def resolveLink(request: ResourceRequest): Option[ResourceMetadata]

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResourceDownloader

Inherited from AnyRef

Inherited from Any

Ungrouped