Class

spark.jobserver.io

JobSqlDAO

Related Doc: package io

Permalink

class JobSqlDAO extends JobDAO

Linear Supertypes
JobDAO, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JobSqlDAO
  2. JobDAO
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobSqlDAO(config: Config)

    Permalink

Type Members

  1. class Configs extends scala.slick.driver.JdbcProfile.SimpleQL.Table[(String, String)]

    Permalink
  2. class Jars extends scala.slick.driver.JdbcProfile.SimpleQL.Table[(Int, String, Timestamp, Array[Byte])]

    Permalink
  3. class Jobs extends scala.slick.driver.JdbcProfile.SimpleQL.Table[(String, String, Int, String, Timestamp, Option[Timestamp], Option[String])]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val configs: TableQuery[Configs]

    Permalink
  7. val dataSource: DataSource

    Permalink
  8. val db: DatabaseDef

    Permalink
  9. val dbcpInitialSize: Int

    Permalink
  10. val dbcpMaxActive: Int

    Permalink
  11. val dbcpMaxIdle: Int

    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. def getApps: Map[String, DateTime]

    Permalink

    Return all applications name and their last upload times.

    Return all applications name and their last upload times.

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getJobConfigs: Map[String, Config]

    Permalink

    Return all job ids to their job configuration.

    Return all job ids to their job configuration.

    Definition Classes
    JobSqlDAOJobDAO
  18. def getJobInfo(jobId: String): Option[JobInfo]

    Permalink

    Return job info for a specific job id.

    Return job info for a specific job id.

    Definition Classes
    JobSqlDAOJobDAO
  19. def getJobInfos(limit: Int): Seq[JobInfo]

    Permalink

    Return all job ids to their job info.

    Return all job ids to their job info.

    Definition Classes
    JobSqlDAOJobDAO
  20. def getLastUploadTime(appName: String): Option[DateTime]

    Permalink

    Returns the last upload time for a given app name.

    Returns the last upload time for a given app name.

    returns

    Some(lastUploadedTime) if the app exists and the list of times is nonempty, None otherwise

    Definition Classes
    JobDAO
  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  23. val jars: TableQuery[Jars]

    Permalink
  24. val jdbcDriverClass: String

    Permalink
  25. val jdbcPassword: String

    Permalink
  26. val jdbcUrl: String

    Permalink
  27. val jdbcUser: String

    Permalink
  28. val jobs: TableQuery[Jobs]

    Permalink
  29. val migrateLocations: String

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val profile: JdbcProfile

    Permalink
  34. val profileModule: scala.reflect.api.JavaUniverse.ModuleSymbol

    Permalink
  35. def retrieveJarFile(appName: String, uploadTime: DateTime): String

    Permalink

    TODO(kelvinchu): Remove this method later when JarManager doesn't use it anymore.

    TODO(kelvinchu): Remove this method later when JarManager doesn't use it anymore.

    returns

    the local file path of the retrieved jar file.

    Definition Classes
    JobSqlDAOJobDAO
  36. val runtimeMirror: Mirror

    Permalink
  37. def saveJar(appName: String, uploadTime: DateTime, jarBytes: Array[Byte]): Unit

    Permalink

    Persist a jar.

    Persist a jar.

    Definition Classes
    JobSqlDAOJobDAO
  38. def saveJobConfig(jobId: String, jobConfig: Config): Unit

    Permalink

    Persist a job configuration along with provided jobId.

    Persist a job configuration along with provided jobId.

    Definition Classes
    JobSqlDAOJobDAO
  39. def saveJobInfo(jobInfo: JobInfo): Unit

    Permalink

    Persist a job info.

    Persist a job info.

    Definition Classes
    JobSqlDAOJobDAO
  40. val slickDriverClass: String

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

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

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

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

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

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

Inherited from JobDAO

Inherited from AnyRef

Inherited from Any

Ungrouped