com.github.aselab.activerecord

ActiveRecordTables

trait ActiveRecordTables extends Schema with TableRelationSupport

Base class of database schema.

Linear Supertypes
TableRelationSupport, Schema, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ActiveRecordTables
  2. TableRelationSupport
  3. Schema
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. type AR = ActiveRecord

    Definition Classes
    TableRelationSupport
  2. abstract type _$31

    Definition Classes
    Schema
  3. abstract type _$31

    Definition Classes
    Schema

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def afterDelete[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  7. def afterDelete[A](t: Table[A]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  8. def afterInsert[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  9. def afterInsert[A](t: Table[A]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  10. def afterUpdate[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  11. def afterUpdate[A](t: Table[A]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  12. lazy val all: Iterable[Table[com.github.aselab.activerecord.ActiveRecordBase[_]]]

    All tables

  13. implicit def anyRef2ActiveTransaction[A](a: A)(implicit queryDsl: QueryDsl, m: Manifest[A]): ActiveRecord[A]

    Definition Classes
    Schema
  14. def applyDefaultForeignKeyPolicy(foreignKeyDeclaration: ForeignKeyDeclaration): Unit

    Definition Classes
    Schema
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def autoIncremented(sequenceName: String): AutoIncremented

    Attributes
    protected
    Definition Classes
    Schema
  17. def autoIncremented: AutoIncremented

    Attributes
    protected
    Definition Classes
    Schema
  18. def beforeDelete[K, A <: KeyedEntity[K]]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  19. def beforeDelete[A](t: Table[A])(implicit ev: <:<[A, org.squeryl.KeyedEntity[_]]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  20. def beforeInsert[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  21. def beforeInsert[A](t: Table[A]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  22. def beforeUpdate[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]

    Attributes
    protected
    Definition Classes
    Schema
  23. def beforeUpdate[A](t: Table[A]): LifecycleEventPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  24. def callbacks: Seq[LifecycleEvent]

    Definition Classes
    Schema
  25. def cleanup: Unit

    cleanup database resources

  26. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def columnNameFromPropertyName(propertyName: String): String

    Definition Classes
    Schema
  28. def columnTypeFor(fieldMetaData: FieldMetaData, owner: org.squeryl.Table[_]): Option[String]

    Definition Classes
    Schema
  29. def columns(fieldList: org.squeryl.dsl.ast.TypedExpressionNode[_]*): ColGroupDeclaration

    Definition Classes
    Schema
  30. def create: Unit

    Definition Classes
    Schema
  31. def createColumnGroupConstraintsAndIndexes: Unit

    Definition Classes
    Schema
  32. def dbType(declaration: String): DBType

    Attributes
    protected
    Definition Classes
    Schema
  33. def declare[B](a: BaseColumnAttributeAssignment*): BaseColumnAttributeAssignment*

    Attributes
    protected
    Definition Classes
    Schema
  34. def defaultColumnAttributesForKeyedEntityId(typeOfIdField: Class[_]): scala.collection.immutable.Set[_ >: org.squeryl.internals.PrimaryKey <: Product with Serializable with org.squeryl.internals.AttributeValidOnNumericalColumn]

    Definition Classes
    Schema
  35. def defaultLengthOfString: Int

    Definition Classes
    Schema
  36. def defaultSizeOfBigDecimal: (Int, Int)

    Definition Classes
    Schema
  37. def drop: Unit

    Definition Classes
    Schema
  38. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  40. def factoryFor[A](table: Table[A]): PosoFactoryPercursorTable[A]

    Attributes
    protected
    Definition Classes
    Schema
  41. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. def findTablesFor[A](a: A): Iterable[Table[A]]

    Definition Classes
    Schema
  43. def foreignKeyIsOption(c: Class[_], name: String): Boolean

    Definition Classes
    TableRelationSupport
  44. def foreignKeyName(c: Class[_]): String

    Definition Classes
    TableRelationSupport
  45. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  47. def indexed(indexName: String): Indexed

    Attributes
    protected
    Definition Classes
    Schema
  48. def indexed: Indexed

    Attributes
    protected
    Definition Classes
    Schema
  49. def initialize(implicit config: Map[String, Any] = Map()): Unit

    load configuration and then setup database and session

  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. def loadConfig(config: Map[String, Any]): ActiveRecordConfig

  52. def manyToMany[L <: AR, R <: AR](lt: Table[L], rt: Table[R])(implicit lm: Manifest[L], rm: Manifest[R]): Relation[L, R]

    Definition Classes
    TableRelationSupport
  53. def manyToMany[L <: AR, M <: IntermediateRecord, R <: AR](lt: Table[L], mt: Table[M], rt: Table[R])(implicit lm: Manifest[L], mm: Manifest[M], rm: Manifest[R]): Relation[L, R]

    Definition Classes
    TableRelationSupport
  54. def name: Option[String]

    Definition Classes
    Schema
  55. def named(name: String): Named

    Attributes
    protected
    Definition Classes
    Schema
  56. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  57. final def notify(): Unit

    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  59. def on[A](table: Table[A])(declarations: (A) ⇒ Seq[BaseColumnAttributeAssignment]): Unit

    Attributes
    protected
    Definition Classes
    Schema
  60. def onDelete: ReferentialEvent

    Attributes
    protected
    Definition Classes
    Schema
  61. def onUpdate: ReferentialEvent

    Attributes
    protected
    Definition Classes
    Schema
  62. def oneToMany[O <: AR, M <: com.github.aselab.activerecord.ActiveRecordBase[_]](ot: Table[O], mt: Table[M])(implicit om: Manifest[O], mm: Manifest[M]): OneToManyRelationImpl[O, M]

    Definition Classes
    TableRelationSupport
  63. def primaryKey: PrimaryKey

    Attributes
    protected
    Definition Classes
    Schema
  64. def printDdl(statementHandler: (String) ⇒ Unit): Unit

    Definition Classes
    Schema
  65. def printDdl(pw: PrintWriter): Unit

    Definition Classes
    Schema
  66. def printDdl: Unit

    Definition Classes
    Schema
  67. lazy val relations: Map[(String, String), RelationWrapper[AR, com.github.aselab.activerecord.ActiveRecordBase[_]]]

    Definition Classes
    TableRelationSupport
  68. def reset: Unit

    drop and create table

  69. def session: Session

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

    Definition Classes
    AnyRef
  71. def table[T](name: String)(implicit m: Manifest[T]): Table[T]

    Attributes
    protected
    Definition Classes
    ActiveRecordTables → Schema
  72. def table[T]()(implicit m: Manifest[T]): Table[T]

    Attributes
    protected
    Definition Classes
    ActiveRecordTables → Schema
  73. def table[T](name: String, prefix: String)(implicit manifestT: Manifest[T]): Table[T]

    Attributes
    protected
    Definition Classes
    Schema
  74. def tableNameFromClass(c: Class[_]): String

    Definition Classes
    ActiveRecordTables → Schema
  75. def tableNameFromClassName(tableName: String): String

    Definition Classes
    Schema
  76. lazy val tables: Map[String, Table[com.github.aselab.activerecord.ActiveRecordBase[_]]]

  77. implicit def thisSchema: Schema

    Attributes
    protected
    Definition Classes
    Schema
  78. def toString(): String

    Definition Classes
    AnyRef → Any
  79. def uninsertable: Uninsertable

    Attributes
    protected
    Definition Classes
    Schema
  80. def unique: Unique

    Attributes
    protected
    Definition Classes
    Schema
  81. def unupdatable: Unupdatable

    Attributes
    protected
    Definition Classes
    Schema
  82. def view[T](name: String)(implicit manifestT: Manifest[T]): View[T]

    Attributes
    protected
    Definition Classes
    Schema
  83. def view[T]()(implicit manifestT: Manifest[T]): View[T]

    Attributes
    protected
    Definition Classes
    Schema
  84. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TableRelationSupport

Inherited from Schema

Inherited from AnyRef

Inherited from Any