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. trait ChildEntity extends OrmEntity
  3. case class EntityStrategy[X](mainEntityFn: (OrmEntity) ⇒ X, oneToManyEntityFn: (OrmEntity) ⇒ (OneToManyEntity) ⇒ 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[T] extends AnyRef
  9. case class IntField(name: String, typeName: String = "integer") extends FieldType[Int] with Product with Serializable
  10. case class MainEntity(tableName: String, alias: String, primaryKeyField: FieldType[Int], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends OrmEntity with Product with Serializable
  11. case class OneToManyEntity(tableName: String, alias: String, primaryKeyField: FieldType[Int], parentId: FieldType[Int], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends ChildEntity with Product with Serializable
  12. case class OrmBatchConfig(dataSource: DataSource, batchSize: Int) extends Product with Serializable
  13. trait OrmEntity extends AnyRef
  14. trait OrmMaker[T] extends (Map[OrmEntity, List[List[AnyRef]]]) ⇒ Stream[T]
  15. trait OrmStrategies extends AnyRef
  16. class SimpleStreamEntity[T] extends StreamEntity[T]
  17. trait StreamEntity[T] extends (MainEntity) ⇒ Stream[T]
  18. case class StringField(name: String, typeName: String = "varchar(255)") extends FieldType[String] with Product with Serializable
  19. trait ToWritableForm[T] extends (T) ⇒ List[(OrmEntity, List[List[AnyRef]])]
  20. trait Write[T] extends AnyRef
  21. 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