Packages

c

com.johnsnowlabs.nlp.pretrained

S3ResourceDownloader

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")

Type Members

  1. implicit class S3ClientWrapper extends AnyRef

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. val cachePath: Path
  6. def clearCache(request: ResourceRequest): Unit
  7. lazy val client: AmazonS3Client
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def close(): Unit
    Definition Classes
    S3ResourceDownloader → AutoCloseable
  10. def download(request: ResourceRequest): Option[String]

    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]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fs: FileSystem
    Definition Classes
    ResourceDownloader
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getDownloadSize(request: ResourceRequest): Option[Long]
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val repoFolder2Metadata: Map[String, RepositoryMetadata]
  24. def resolveLink(request: ResourceRequest): Option[ResourceMetadata]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AutoCloseable

Inherited from ResourceDownloader

Inherited from AnyRef

Inherited from Any

Ungrouped