Packages

package orm

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class BatchDetails(batchSize: Int, index: Int) extends Product with Serializable
  2. sealed trait ChildEntity extends OrmEntity
  3. case class EntityStrategy[X](mainEntityFn: (OrmEntity) ⇒ X, oneToManyEntityFn: (OrmEntity) ⇒ (OneToManyEntity) ⇒ X, manyToOneEntityFn: (OrmEntity) ⇒ (ManyToOneEntity) ⇒ X) extends Product with Serializable
  4. trait FastOrmSql extends AnyRef

    This is the layer of abstraction that needs to be rewritten for different databases.

    This is the layer of abstraction that needs to be rewritten for different databases. It's just a block of sql for each operation

  5. trait FastReader[T] extends (MainEntity) ⇒ (Int) ⇒ Stream[T]
  6. trait FastReaderDal extends AnyRef
  7. class FastReaderImpl[T] extends FastReader[T]
  8. sealed trait FieldType extends AnyRef
  9. case class IntField(name: String, typeName: String = "integer") extends FieldType with Product with Serializable
  10. case class MainEntity(tableName: String, alias: String, primaryKeyField: FieldType, dataFields: List[FieldType], children: List[ChildEntity]) extends OrmEntity with Product with Serializable
  11. case class ManyToOneEntity(tableName: String, alias: String, primaryKeyField: FieldType, idInParent: FieldType, dataFields: List[FieldType], children: List[ChildEntity]) extends ChildEntity with Product with Serializable
  12. case class OneToManyEntity(tableName: String, alias: String, primaryKeyField: FieldType, parentId: FieldType, dataFields: List[FieldType], children: List[ChildEntity]) extends ChildEntity with Product with Serializable
  13. case class OrmBatchConfig(dataSource: DataSource, batchSize: Int) extends Product with Serializable
  14. class OrmDsl extends AnyRef
  15. trait OrmEntity extends AnyRef
  16. trait OrmMaker[T] extends (Map[OrmEntity, List[List[AnyRef]]]) ⇒ Stream[T]
  17. trait OrmStrategies extends AnyRef
  18. class SimpleStreamEntity[T] extends StreamEntity[T]
  19. trait StreamEntity[T] extends (MainEntity) ⇒ Stream[T]
  20. case class StringField(name: String, typeName: String = "varchar(255)") extends FieldType with Product with Serializable
  21. trait ToWritableForm[T] extends (T) ⇒ List[(OrmEntity, List[List[AnyRef]])]
  22. trait Write[T] extends AnyRef
  23. class WriteOrm extends AnyRef

Value Members

  1. object EntityStrategy extends Serializable
  2. object FastOrmSql
  3. object FastReader
  4. object FastReaderDal
  5. object FieldType
  6. object OrmMaker
  7. object OrmStrategies extends OrmStrategies

    This applies the sql defined in FastOrmSql to the entities in a composite entity

  8. object StreamEntity

Ungrouped