package orm
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class BatchDetails(batchSize: Int, index: Int) extends Product with Serializable
- trait ChildEntity extends OrmEntity
- case class EntityStrategy[X](mainEntityFn: (OrmEntity) ⇒ X, oneToManyEntityFn: (OrmEntity) ⇒ (OneToManyEntity) ⇒ X) extends Product with Serializable
-
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
- trait FastReader[T] extends (MainEntity) ⇒ (Int) ⇒ Stream[T]
- trait FastReaderDal extends AnyRef
- class FastReaderImpl[T] extends FastReader[T]
- sealed trait FieldType[T] extends AnyRef
- case class IntField(name: String, typeName: String = "integer") extends FieldType[Int] with Product with Serializable
- case class MainEntity(tableName: String, alias: String, primaryKeyField: FieldType[Int], dataFields: List[FieldType[_]], children: List[ChildEntity]) extends OrmEntity with Product with Serializable
- 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
- case class OrmBatchConfig(dataSource: DataSource, batchSize: Int) extends Product with Serializable
- trait OrmEntity extends AnyRef
- trait OrmMaker[T] extends (Map[OrmEntity, List[List[AnyRef]]]) ⇒ Stream[T]
- trait OrmStrategies extends AnyRef
- class SimpleStreamEntity[T] extends StreamEntity[T]
- trait StreamEntity[T] extends (MainEntity) ⇒ Stream[T]
- case class StringField(name: String, typeName: String = "varchar(255)") extends FieldType[String] with Product with Serializable
- trait ToWritableForm[T] extends (T) ⇒ List[(OrmEntity, List[List[AnyRef]])]
- trait Write[T] extends AnyRef
- class WriteOrm extends AnyRef
Value Members
- object EntityStrategy extends Serializable
- object FastOrmSql
- object FastReader
- object FastReaderDal
- object FieldType
- object OrmMaker
-
object
OrmStrategies extends OrmStrategies
This applies the sql defined in FastOrmSql to the entities in a composite entity
- object StreamEntity