o

org.squeryl.logging

StatsSchema

object StatsSchema extends Schema

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

Type Members

  1. class ActiveRecord [A] extends AnyRef

    Active Record pattern implementation.

    Active Record pattern implementation. Enables the user to insert an object in its existent table with a convenient

    save

    method.

    save }}}

    Definition Classes
    Schema
  2. class ColGroupDeclaration extends AnyRef
    Definition Classes
    Schema
  3. class ReferentialActionImpl extends ReferentialAction
    Definition Classes
    Schema
  4. class ReferentialEvent extends AnyRef
    Definition Classes
    Schema

Value Members

  1. object NamingConventionTransforms
    Definition Classes
    Schema
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def afterDelete[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  6. def afterDelete[A](t: Table[A]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  7. def afterInsert[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  8. def afterInsert[A](t: Table[A]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  9. def afterUpdate[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  10. def afterUpdate[A](t: Table[A]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  11. implicit def anyRef2ActiveTransaction[A](a: A)(implicit queryDsl: QueryDsl, m: Manifest[A]): ActiveRecord[A]

    Creates a ActiveRecord instance for the given the object.

    Creates a ActiveRecord instance for the given the object. That allows the user to save the given object using the Active Record pattern.

    returns

    a instance of ActiveRecord associated to the given object.

    Definition Classes
    Schema
  12. def applyDefaultForeignKeyPolicy(foreignKeyDeclaration: ForeignKeyDeclaration): Unit
    Definition Classes
    Schema
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def autoIncremented(sequenceName: String): AutoIncremented
    Attributes
    protected
    Definition Classes
    Schema
  15. def autoIncremented: AutoIncremented
    Attributes
    protected
    Definition Classes
    Schema
  16. def beforeDelete[K, A <: KeyedEntity[K]]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  17. def beforeDelete[A](t: Table[A])(implicit ev: <:<[A, KeyedEntity[_]]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  18. def beforeInsert[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  19. def beforeInsert[A](t: Table[A]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  20. def beforeUpdate[A]()(implicit m: Manifest[A]): LifecycleEventPercursorClass[A]
    Attributes
    protected
    Definition Classes
    Schema
  21. def beforeUpdate[A](t: Table[A]): LifecycleEventPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  22. def callbacks: Seq[LifecycleEvent]
    Definition Classes
    Schema
  23. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def columnNameFromPropertyName(propertyName: String): String
    Definition Classes
    Schema
  25. def columnTypeFor(fieldMetaData: FieldMetaData, owner: Table[_]): Option[String]

    Use this method to override the DatabaseAdapter's default column type for the given field (FieldMetaData), returning None means that no override will take place.

    Use this method to override the DatabaseAdapter's default column type for the given field (FieldMetaData), returning None means that no override will take place.

    There are two levels at which db column type can be overriden, in order of precedence :

    on(professors)(p => declare( s.yearlySalary is(dbType("real")) ))

    overrides (has precedence over) :

    MySchema extends Schema { ... override def columnTypeFor(fieldMetaData: FieldMetaData, owner: Table[_]) = if(fieldMetaData.wrappedFieldType.isInstanceOf[Int) Some("number") else None }

    Definition Classes
    Schema
  26. def columns(fieldList: TypedExpressionNode[_]*): ColGroupDeclaration
    Definition Classes
    Schema
  27. def create: Unit
    Definition Classes
    Schema
  28. def createColumnGroupConstraintsAndIndexes: Unit
    Definition Classes
    Schema
  29. def dbType(declaration: String): DBType
    Attributes
    protected
    Definition Classes
    Schema
  30. def declare[B](a: BaseColumnAttributeAssignment*): Seq[BaseColumnAttributeAssignment]

    protected since table declarations must only be done inside a Schema

    protected since table declarations must only be done inside a Schema

    Attributes
    protected
    Definition Classes
    Schema
  31. def defaultColumnAttributesForKeyedEntityId(typeOfIdField: Class[_]): Set[_ >: PrimaryKey <: AttributeValidOnNumericalColumn with Product with Serializable]
    Definition Classes
    Schema
  32. def defaultLengthOfString: Int

    returns

    the default database storage (column) length for String columns for this Schema, Can be overridden by the Column Annotation ex.: Column(length=256) default is 128

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

    returns

    a Tuple2 with (LengthOfDecimal, Scale) that will determine the storage length of the database type that map fields of type java.lang.BigDecimal Can be overridden by the Column Annotation, ex.: Column(length=22, scale=20) default is (20,16)

    Definition Classes
    Schema
  34. def drop: Unit

    This will drop all tables and related sequences in the schema...

    This will drop all tables and related sequences in the schema... it's a dangerous operation, typically this is only useful for development database instances, the method is protected in order to make it a little less 'accessible'

    Definition Classes
    StatsSchemaSchema
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  37. def factoryFor[A](table: Table[A]): PosoFactoryPercursorTable[A]
    Attributes
    protected
    Definition Classes
    Schema
  38. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def findTablesFor[A](a: A): Iterable[Table[A]]
    Definition Classes
    Schema
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  42. def indexed(indexName: String): Indexed
    Attributes
    protected
    Definition Classes
    Schema
  43. def indexed: Indexed
    Attributes
    protected
    Definition Classes
    Schema
  44. def invocationStats: Query[GroupWithMeasures[Product2[PrimitiveTypeMode.IntType, PrimitiveTypeMode.IntType], Product4[Option[PrimitiveTypeMode.DoubleType], PrimitiveTypeMode.LongType, Option[PrimitiveTypeMode.LongType], PrimitiveTypeMode.FloatType]]]
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def name: Option[String]
    Definition Classes
    Schema
  47. def named(name: String): Named
    Attributes
    protected
    Definition Classes
    Schema
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  51. def on[A](table: Table[A])(declarations: (A) ⇒ Seq[BaseColumnAttributeAssignment]): Unit

    protected since table declarations must only be done inside a Schema

    protected since table declarations must only be done inside a Schema

    Attributes
    protected
    Definition Classes
    Schema
  52. def onDelete: ReferentialEvent
    Attributes
    protected
    Definition Classes
    Schema
  53. def onUpdate: ReferentialEvent
    Attributes
    protected
    Definition Classes
    Schema
  54. def primaryKey: PrimaryKey
    Attributes
    protected
    Definition Classes
    Schema
  55. def printDdl(statementHandler: (String) ⇒ Unit): Unit

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

    Prints the schema to standard output, it is simply : schema.printDdl(println(_))

    Prints the schema to standard output, it is simply : schema.printDdl(println(_))

    Definition Classes
    Schema
  58. def recordEndOfIteration(statementInvocationId: String, iterationEndTime: Long, rowCount: Int, iterationCompleted: Boolean): Int
  59. def recordStatementInvocation(sie: StatementInvocationEvent): String
  60. val statementInvocations: Table[StatementInvocation]
  61. val statements: Table[Statement]
  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def table[T](name: String, prefix: String)(implicit manifestT: Manifest[T]): Table[T]
    Attributes
    protected
    Definition Classes
    Schema
  64. def table[T](name: String)(implicit manifestT: Manifest[T]): Table[T]
    Attributes
    protected
    Definition Classes
    Schema
  65. def table[T]()(implicit manifestT: Manifest[T]): Table[T]
    Attributes
    protected
    Definition Classes
    Schema
  66. def tableNameFromClass(c: Class[_]): String
    Definition Classes
    Schema
  67. def tableNameFromClassName(tableName: String): String
    Definition Classes
    Schema
  68. def tables: Seq[Table[_]]
    Definition Classes
    Schema
  69. implicit def thisSchema: Schema
    Attributes
    protected
    Definition Classes
    Schema
  70. def toString(): String
    Definition Classes
    AnyRef → Any
  71. def topRankingStatements(topN: Int, measure: Measure): Query[StatLine]
  72. def uninsertable: Uninsertable
    Attributes
    protected
    Definition Classes
    Schema
  73. def unique: Unique
    Attributes
    protected
    Definition Classes
    Schema
  74. def unupdatable: Unupdatable
    Attributes
    protected
    Definition Classes
    Schema
  75. def view[T](name: String)(implicit manifestT: Manifest[T]): View[T]
    Attributes
    protected
    Definition Classes
    Schema
  76. def view[T]()(implicit manifestT: Manifest[T]): View[T]
    Attributes
    protected
    Definition Classes
    Schema
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Schema

Inherited from AnyRef

Inherited from Any

Ungrouped