Class

com.johnsnowlabs.nlp.pretrained

S3ResourceDownloader

Related Doc: package pretrained

Permalink

class S3ResourceDownloader extends ResourceDownloader with AutoCloseable

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

Instance Constructors

  1. new S3ResourceDownloader(bucket: ⇒ String, s3Path: ⇒ String, cacheFolder: ⇒ String, credentials: ⇒ Option[AWSCredentials] = None, region: String = "us-east-1")

    Permalink

Type Members

  1. implicit class S3ClientWrapper extends AnyRef

    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. val cachePath: Path

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

    Permalink
  7. lazy val client: AmazonS3Client

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    S3ResourceDownloader → AutoCloseable
  10. 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
  11. def downloadMetadataIfNeed(folder: String): List[ResourceMetadata]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fs: FileSystem

    Permalink
    Definition Classes
    ResourceDownloader
  16. final def getClass(): Class[_]

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

    Permalink
  18. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AutoCloseable

Inherited from ResourceDownloader

Inherited from AnyRef

Inherited from Any

Ungrouped