Trait

org.ada.server.services.importers

SynapseService

Related Doc: package importers

Permalink

trait SynapseService extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SynapseService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close: Unit

    Permalink

    Closes the connection

  2. abstract def downloadColumnFile(tableId: String, columnId: String, rowId: Int, versionNumber: Int): Future[String]

    Permalink

    Downloads a file associated with given column and row.

  3. abstract def downloadFile(fileHandleId: String): Future[String]

    Permalink

    Downloads a file by following a URL for a given file handle id.

    Downloads a file by following a URL for a given file handle id. Only the person who created the FileHandle can download the file. To download column files use downloadColumnFile

    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/GET/fileHandle/handleId/url.html

  4. abstract def downloadFileAsBytes(fileHandleId: String): Future[ByteString]

    Permalink

    Same as downloadFile but returns a byte array

    Same as downloadFile but returns a byte array

  5. abstract def downloadFilesInBulk(fileHandleAssociations: Traversable[FileHandleAssociation], attemptNum: Option[Int] = None): Future[Iterator[(String, String)]]

    Permalink

    Downloads files of custom types (file, table, attachment) for given handle assocations in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

  6. abstract def downloadTableFilesInBulk(fileHandleIds: Traversable[String], tableId: String, attemptNum: Option[Int] = None): Future[Iterator[(String, String)]]

    Permalink

    Downloads table files for given handle ids in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

  7. abstract def getBulkDownloadResult(jobToken: String): Future[Either[BulkFileDownloadResponse, AsynchronousJobStatus]]

    Permalink

    Returns a file handle of the resulting bulk download zip file

    Returns a file handle of the resulting bulk download zip file

    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/GET/file/bulk/async/get/asyncToken.html

  8. abstract def getBulkDownloadResultWait(jobToken: String): Future[BulkFileDownloadResponse]

    Permalink

    Gets the bulk results...

    Gets the bulk results... wait till it's done by polling

  9. abstract def getCsvTableResult(tableId: String, jobToken: String): Future[Either[DownloadFromTableResult, AsynchronousJobStatus]]

    Permalink

    Gets results or a job status if still running

  10. abstract def getCsvTableResultWait(tableId: String, jobToken: String): Future[DownloadFromTableResult]

    Permalink

    Gets results...

    Gets results... wait till it's done by polling

  11. abstract def getFileHandle(fileHandleId: String): Future[FileHandle]

    Permalink

    Gets a file handle

  12. abstract def getTableAsCsv(tableId: String): Future[String]

    Permalink

    Gets a table as csv by combining runCsvTableQuery, getCsvTableResults, and downloadFile

  13. abstract def getTableColumnFileHandles(rowReferenceSet: RowReferenceSet): Future[TableFileHandleResults]

    Permalink

    Gets a list of file handles associated with the rows and columns specified in a row ref set

  14. abstract def getTableColumnModels(tableId: String): Future[PaginatedColumnModels]

    Permalink

    Gets the column models of a given table

  15. abstract def login: Future[Unit]

    Permalink

    (Re)logins and refreshes a session token

  16. abstract def prolongSession: Future[Unit]

    Permalink

    Prolonges a current session token for another 24 hours

  17. abstract def startBulkDownload(data: BulkFileDownloadRequest): Future[String]

    Permalink

    Initiates a downlaod of multiple filed...

    Initiates a downlaod of multiple filed... returns a token for polling

    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/POST/file/bulk/async/start.html

  18. abstract def startCsvTableQuery(tableId: String, sql: String): Future[String]

    Permalink

    .Runs a table query and returns a token

Concrete 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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped