org.squeryl.logging

StatsSchema

object StatsSchema extends Schema

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

Type Members

  1. class ColGroupDeclaration extends AnyRef

  2. class ReferentialActionImpl extends ReferentialAction

  3. class ReferentialEvent extends AnyRef

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 == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. object NamingConventionTransforms extends AnyRef

  7. def applyDefaultForeignKeyPolicy (foreignKeyDeclaration: ForeignKeyDeclaration): Unit

    Definition Classes
    Schema
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def autoIncremented (sequenceName: String): AutoIncremented

    Attributes
    protected
    Definition Classes
    Schema
  10. def autoIncremented : AutoIncremented

    Attributes
    protected
    Definition Classes
    Schema
  11. def clone (): AnyRef

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

    Definition Classes
    Schema
  13. def columnTypeFor (fieldMetaData: FieldMetaData, owner: org.squeryl.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
  14. def columns (fieldList: org.squeryl.dsl.ast.TypedExpressionNode[_]*): ColGroupDeclaration

    Definition Classes
    Schema
  15. def create : Unit

    Definition Classes
    Schema
  16. def createColumnGroupConstraintsAndIndexes : Unit

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

    Attributes
    protected
    Definition Classes
    Schema
  18. def declare [B] (a: BaseColumnAttributeAssignment*): 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
  19. def defaultColumnAttributesForKeyedEntityId (typeOfIdField: Class[_]): scala.collection.immutable.Set[_ >: org.squeryl.internals.PrimaryKey <: Product with Serializable with org.squeryl.internals.AttributeValidOnNumericalColumn]

    Definition Classes
    Schema
  20. 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
  21. 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
  22. 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
  23. def eq (arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Schema
  27. def getClass (): java.lang.Class[_]

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

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

    Attributes
    protected
    Definition Classes
    Schema
  30. def indexed : Indexed

    Attributes
    protected
    Definition Classes
    Schema
  31. def invocationStats : Query[GroupWithMeasures[Product2[IntType, IntType], Product4[Option[DoubleType], LongType, Option[LongType], FloatType]]]

  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def name : Option[String]

    Definition Classes
    Schema
  34. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  37. 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
  38. def onDelete : ReferentialEvent

    Attributes
    protected
    Definition Classes
    Schema
  39. def onUpdate : ReferentialEvent

    Attributes
    protected
    Definition Classes
    Schema
  40. def primaryKey : PrimaryKey

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

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

    Definition Classes
    Schema
  43. def printDdl : Unit

    Prints the schema to standard output, it is simply : schema.

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

    Definition Classes
    Schema
  44. def recordEndOfIteration (statementInvocationId: String, iterationEndTime: Long, rowCount: Int, iterationCompleted: Boolean): Int

  45. def recordStatementInvocation (sie: StatementInvocationEvent): String

  46. val statementInvocations : Table[StatementInvocation]

  47. val statements : Table[Statement]

  48. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  49. def table [T] (name: String, prefix: String)(implicit manifestT: Manifest[T]): Table[T]

    Attributes
    protected
    Definition Classes
    Schema
  50. def table [T] (name: String)(implicit manifestT: Manifest[T]): Table[T]

    Attributes
    protected
    Definition Classes
    Schema
  51. def table [T] ()(implicit manifestT: Manifest[T]): Table[T]

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

    Definition Classes
    Schema
  53. def tableNameFromClassName (tableName: String): String

    Definition Classes
    Schema
  54. implicit def thisSchema : Schema

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

    Definition Classes
    AnyRef → Any
  56. def topRankingStatements (topN: Int, measure: Measure): Query[StatLine]

  57. def unique : Unique

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  63. def applyDefaultForeingKeyPolicy (foreingKeyDeclaration: ForeignKeyDeclaration): Unit

    Attributes
    final
    Definition Classes
    Schema
    Annotations
    @deprecated
    Deprecated

    Use applyDefaultForeignKeyPolicy instead

  64. def findTableFor [A] (a: A): Option[Table[A]]

    Definition Classes
    Schema
    Annotations
    @deprecated
    Deprecated

    will be removed in a future version, use findTablesFor instead.

Inherited from Schema

Inherited from AnyRef

Inherited from Any