Class

com.reactific.slickery

Schema

Related Doc: package slickery

Permalink

abstract class Schema extends LoggingHelper

The abstract database component. This trait allows use to define database components which are simply collections of related tables and the various query methods on those tables to provide access to them. Since Components contain Tables and Scrupal requires all database entities to have a particular shape, that shape is enforced in the EntityTable class. Note that Component extends Sketch which is mixed in to other components but resolved by the Schema class.

Linear Supertypes
LoggingHelper, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Schema
  2. LoggingHelper
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Schema(schemaName: String, config_name: String, config: Config = ConfigFactory.load)(implicit ec: ExecutionContext)

    Permalink

Type Members

  1. trait CRUDQueries[R, ID, T <: TableRow[R]] extends AnyRef

    Permalink
  2. trait CreatableQuery[S <: Creatable, T <: CreatableRow[S]] extends StorableQuery[S, T]

    Permalink
  3. trait CreatableRow[S <: Creatable] extends StorableRow[S]

    Permalink
  4. trait DescribableQuery[S <: Describable, T <: DescribableRow[S]] extends StorableQuery[S, T]

    Permalink
  5. trait DescribableRow[S <: Describable] extends StorableRow[S]

    Permalink
  6. trait ExpirableQuery[S <: Expirable, T <: ExpirableRow[S]] extends StorableQuery[S, T]

    Permalink
  7. trait ExpirableRow[S <: Expirable] extends StorableRow[S]

    Permalink
  8. abstract class ManyToManyQuery[A <: Storable, TA <: StorableRow[A], B <: Storable, TB <: StorableRow[B], T <: ManyToManyRow[A, TA, B, TB]] extends slick.driver.JdbcProfile.API.TableQuery[T]

    Permalink
  9. abstract class ManyToManyRow[A <: Storable, TA <: StorableRow[A], B <: Storable, TB <: StorableRow[B]] extends TableRow[(Long, Long)]

    Permalink

    The base class of all correlation tables.

    The base class of all correlation tables. This allows many-to-many relationships to be established by simply listing the pairs of IDs

  10. trait ModifiableQuery[S <: Modifiable, T <: ModifiableRow[S]] extends StorableQuery[S, T]

    Permalink
  11. trait ModifiableRow[S <: Modifiable] extends StorableRow[S]

    Permalink
  12. trait NameableQuery[S <: Nameable, T <: NameableRow[S]] extends StorableQuery[S, T]

    Permalink
  13. trait NameableRow[S <: Nameable] extends StorableRow[S]

    Permalink
  14. abstract class StorableQuery[S <: Storable, T <: StorableRow[S]] extends slick.driver.JdbcProfile.API.TableQuery[T] with CRUDQueries[S, Long, T]

    Permalink
  15. abstract class StorableRow[S <: Storable] extends TableRow[S]

    Permalink
  16. abstract class TableRow[S] extends slick.driver.JdbcProfile.API.Table[S]

    Permalink
  17. abstract class UseableQuery[S <: Useable, T <: UseableRow[S]] extends StorableQuery[S, T] with CreatableQuery[S, T] with ModifiableQuery[S, T] with ExpirableQuery[S, T] with NameableQuery[S, T] with DescribableQuery[S, T]

    Permalink
  18. abstract class UseableRow[S <: Useable] extends StorableRow[S] with CreatableRow[S] with ModifiableRow[S] with ExpirableRow[S] with NameableRow[S] with DescribableRow[S]

    Permalink

Abstract Value Members

  1. abstract def schemas: slick.driver.JdbcProfile.SchemaDescription

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to any2stringadd[Schema] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Schema, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to ArrowAssoc[Schema] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val config_name: String

    Permalink
  9. final def create(): Future[Unit]

    Permalink
  10. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  11. lazy val dbConfig: DatabaseConfig[JdbcProfile]

    Permalink
  12. final def drop(): Future[Unit]

    Permalink
  13. implicit lazy val durationMapper: BaseColumnType[Duration]

    Permalink
  14. def ensuring(cond: (Schema) ⇒ Boolean, msg: ⇒ Any): Schema

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to Ensuring[Schema] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Schema) ⇒ Boolean): Schema

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to Ensuring[Schema] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Schema

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to Ensuring[Schema] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Schema

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to Ensuring[Schema] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to StringFormat[Schema] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. implicit lazy val instantMapper: BaseColumnType[Instant]

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. implicit lazy val jsObjectMapper: BaseColumnType[JsObject]

    Permalink
  27. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  28. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  29. def loggerName: String

    Permalink
    Definition Classes
    LoggingHelper
  30. final def metaTables(): Future[Vector[MTable]]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. implicit lazy val regexMapper: BaseColumnType[Regex]

    Permalink
  35. val schemaName: String

    Permalink
  36. implicit lazy val symbolMapper: BaseColumnType[Symbol]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def validate(): Future[Seq[Throwable]]

    Permalink
  40. def validateExistingTables(tables: Vector[MTable]): Seq[Throwable]

    Permalink
    Attributes
    protected
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (Schema, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Schema to ArrowAssoc[Schema] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Schema to any2stringadd[Schema]

Inherited by implicit conversion StringFormat from Schema to StringFormat[Schema]

Inherited by implicit conversion Ensuring from Schema to Ensuring[Schema]

Inherited by implicit conversion ArrowAssoc from Schema to ArrowAssoc[Schema]

Ungrouped