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 BuildOrmEntity[OrmEntity] extends (List[FieldType[_]], List[ChildEntity]) ⇒ OrmEntity
  3. sealed trait ChildEntity extends OrmEntity
  4. case class EntityStrategy[X](mainEntityFn: (MainEntity) ⇒ X, childFn: (OrmEntity) ⇒ (ChildEntity) ⇒ X) extends Product with Serializable
  5. 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

  6. trait FastReader[T] extends (MainEntity) ⇒ (Int) ⇒ Stream[T]
  7. trait FastReaderDal extends AnyRef
  8. class FastReaderImpl[T] extends FastReader[T]
  9. case class FieldType[T](name: String, typeName: String)(implicit writeToJson: WriteToJson[T], getFromJson: GetFromJson[T], classTag: ClassTag[T]) extends Product with Serializable
  10. case class FieldsWord[OrmEntity](nameAndTypes: Seq[String])(implicit validateAndBuild: BuildOrmEntity[OrmEntity]) extends OrmDslClass with Product with Serializable
  11. case class MainEntity(tableName: String, alias: String, primaryKeyField: FieldType[_], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends OrmEntity with Product with Serializable
  12. case class ManyToOneEntity(tableName: String, alias: String, primaryKeyField: FieldType[_], idInParent: FieldType[_], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends SingleChild with Product with Serializable
  13. case class OneToManyEntity(tableName: String, alias: String, primaryKeyField: FieldType[_], parentId: FieldType[_], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends ChildEntity with Product with Serializable
  14. case class OrmBatchConfig(dataSource: DataSource, batchSize: Int) extends Product with Serializable
  15. trait OrmDslClass extends AnyRef
  16. trait OrmEntity extends AnyRef
  17. trait OrmMaker[T] extends (MainEntity) ⇒ (Map[OrmEntity, List[List[AnyRef]]]) ⇒ Stream[T]
  18. trait OrmStrategies extends AnyRef
  19. case class SameIdEntity(tableName: String, alias: String, primaryKeyField: FieldType[_], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends SingleChild with Product with Serializable
  20. trait SingleChild extends ChildEntity
  21. trait ToFieldType[T] extends AnyRef
  22. trait ToWritableForm[T] extends (T) ⇒ List[(OrmEntity, List[List[AnyRef]])]
  23. trait Write[T] extends AnyRef
  24. class WriteOrm extends AnyRef
  25. case class manyToOne(tableName: String, primaryKeyDefn: String, aliasOverride: String = "") extends ormDslTable[ManyToOneEntity] with Product with Serializable
  26. case class oneToMany(tableName: String, primaryKeyDefn: String, aliasOverride: String = "") extends ormDslTable[OneToManyEntity] with Product with Serializable
  27. case class orm(tableName: String, primaryKeyDefn: String, aliasOverride: String = "") extends ormDslTable[MainEntity] with Product with Serializable
  28. abstract class ormDslTable[OrmEntity] extends OrmDslClass
  29. case class sameId(tableName: String, primaryKeyDefn: String, aliasOverride: String = "") extends ormDslTable[SameIdEntity] with Product with Serializable

Value Members

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

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

  9. object ToFieldType

Ungrouped