org.scalaquery.ql

DDL

trait DDL extends AnyRef

A DDL object contains the SQL statements for creating and dropping database entities. DDLs can be combined for creating or dropping multiple entities together, even if they have circular dependencies.

Self Type
DDL
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DDL
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def createPhase1 : Iterable[String]

    Statements to execute first for create(), e.

    Statements to execute first for create(), e.g. creating tables and indexes.

    Attributes
    protected abstract
  2. def createPhase2 : Iterable[String]

    Statements to execute after createPhase1, e.

    Statements to execute after createPhase1, e.g. creating foreign keys.

    Attributes
    protected abstract
  3. def dropPhase1 : Iterable[String]

    Statements to execute first for drop(), e.

    Statements to execute first for drop(), e.g. removing connections from other entities.

    Attributes
    protected abstract
  4. def dropPhase2 : Iterable[String]

    Statements to execute after dropPhase1, e.

    Statements to execute after dropPhase1, e.g. actually dropping a table.

    Attributes
    protected abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def ++ (other: DDL): DDL

    Create a new DDL object which combines this and the other DDL object.

  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def create (implicit session: Session): Unit

    Create the entities described by this DDL object

  10. def createStatements : Iterator[String]

    All statements to execute for create()

  11. def drop (implicit session: Session): Unit

    Drop the entities described by this DDL object

  12. def dropStatements : Iterator[String]

    All statements to execute for drop()

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  17. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

    Definition Classes
    AnyRef → Any
  24. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any