Packages

t

ai.mantik.planner.repository.impl

NonAsyncFileRepository

trait NonAsyncFileRepository extends FileRepository

Helper which converts the async API into a sync API for testcases.

Linear Supertypes
FileRepository, Component, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonAsyncFileRepository
  2. FileRepository
  3. Component
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. implicit abstract def akkaRuntime: AkkaRuntime
    Attributes
    protected
    Definition Classes
    Component
  2. abstract def copy(from: String, to: String): Future[Unit]

    Request copying a file.

    Request copying a file.

    Definition Classes
    FileRepository
  3. abstract def deleteFile(id: String): Future[Boolean]

    Delete a file.

    Delete a file. Returns true, if the file existed.

    Definition Classes
    FileRepository
  4. abstract def loadFile(id: String): Future[LoadFileResult]

    Request retrieval of a file.

    Request retrieval of a file.

    returns

    content type and file source

    Definition Classes
    FileRepository
  5. abstract def requestFileGet(id: String, optimistic: Boolean = false): Future[FileGetResult]

    Request the loading of a file.

    Request the loading of a file.

    optimistic

    if true, the file handle will also be returned, if the file is not yet existant.

    Definition Classes
    FileRepository
  6. abstract def requestFileStorage(contentType: String, temporary: Boolean): Future[FileStorageResult]

    Request the storage of a new file.

    Request the storage of a new file.

    Definition Classes
    FileRepository
  7. abstract def storeFile(id: String): Future[Sink[ByteString, Future[Long]]]

    Request storing a file (must be requested at first).

    Request storing a file (must be requested at first).

    Definition Classes
    FileRepository

Concrete 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getFileContentSync(id: String)(implicit materializer: Materializer): (String, ByteString)
  10. def getFileSync(id: String, optimistic: Boolean): FileGetResult
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def requestAndStoreSync(temp: Boolean, contentType: String, bytes: ByteString)(implicit materializer: Materializer): FileStorageResult
  17. def requestFileStorageSync(contentType: String, temp: Boolean): FileStorageResult
  18. def storeFileSync(id: String, bytes: ByteString)(implicit materializer: Materializer): Long
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from FileRepository

Inherited from Component

Inherited from AnyRef

Inherited from Any

Ungrouped