Packages

c

com.johnsnowlabs.nlp.pretrained

S3ResourceDownloader

class S3ResourceDownloader extends ResourceDownloader

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

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. lazy val awsGateway: AWSGateway
  6. val cachePath: Path
  7. def clearCache(request: ResourceRequest): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. 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
  10. def downloadAndUnzipFile(s3FilePath: String, unzip: Boolean): Option[String]
  11. def downloadAndUnzipFile(destinationFile: Path, resource: ResourceMetadata, s3FilePath: String): Option[String]
  12. def downloadMetadataIfNeed(folder: String): List[ResourceMetadata]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. val fileSystem: FileSystem
    Definition Classes
    ResourceDownloader
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getDownloadSize(request: ResourceRequest): Option[Long]
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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 ResourceDownloader

Inherited from AnyRef

Inherited from Any

Ungrouped