Packages

package orm

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Alias(tableName: TableName, alias: String) extends Product with Serializable
  2. case class AliasAndFieldType[T](alias: Alias, fieldType: FieldType[T]) extends Product with Serializable
  3. case class AliasAndFieldTypes[Context, T](alias: Alias, fieldTypes: List[FieldType[_]])(implicit tx: ValueFromMultipleAliasFields[Context, T]) extends Product with Serializable
  4. trait ArrayAlias[F[_]] extends AnyRef
  5. case class ArrayAliasFromMap[S[_]](map: Map[String, Alias])(implicit evidence$1: SchemaMapKey[S]) extends ArrayAlias[S] with Product with Serializable
  6. case class BatchDetails(batchSize: Int, index: Int, whereForTable: WhereForTable) extends Product with Serializable
  7. sealed trait BulkDataPointer extends AnyRef
  8. trait ChildBulkDataPointer extends BulkDataPointer
  9. sealed trait ChildEntity extends OrmEntity
  10. trait ChildOrmBulkData[E] extends OrmBulkData[E]
  11. case class EntityStrategy[X](mainEntityFn: (MainEntity) => X, childFn: (OrmEntity) => (ChildEntity) => X) extends Product with Serializable
  12. 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

  13. trait FastReader[T] extends (MainEntity) => (Int) => Stream[T]
  14. trait FastReaderDal extends AnyRef
  15. class FastReaderImpl[T] extends FastReader[T]
  16. trait FieldFilter[F[_]] extends AnyRef
  17. case class FieldType[T](name: String, typeName: String, numericSort: Boolean)(implicit writeToJson: WriteToJson[T], getFromJson: GetFromJson[T], classTag: ClassTag[T]) extends Product with Serializable
  18. case class FieldTypeAndIndex[T](fieldType: FieldType[T], index: Int) extends Product with Serializable
  19. trait FieldTypeToIndex extends AnyRef
  20. case class FoundChildBulkDataPointer(nth: Int, indexIntoBulkData: Int, parentId: Any, bulkData: ChildOrmBulkData[_], children: List[ChildBulkDataPointer]) extends ChildBulkDataPointer with Product with Serializable
  21. class GetKey extends (List[Any]) => Any
  22. case class IDWhereForTable[ID](idField: FieldType[ID], id: ID) extends WhereForTable with Product with Serializable
  23. trait IsLinkFieldFilter[F[_]] extends FieldFilter[F]
  24. trait IsObjectFieldFilter[F[_]] extends FieldFilter[F]
  25. trait IsSimpleFieldFilter[F[_]] extends FieldFilter[F]
  26. trait JsonToStream[Context, F[_], T] extends AnyRef
  27. trait JsonToStreamFor[Context, Schema[_]] extends AnyRef
  28. case class Keys(list: List[FieldType[_]]) extends Product with Serializable
  29. case class KeysAndIndex(list: List[(Int, FieldType[_])]) extends Product with Serializable
  30. case class MainBulkData(ormEntity: MainEntity, tableNameToData: Map[String, List[List[Any]]], children: List[ChildOrmBulkData[_]]) extends OrmBulkData[MainEntity] with Product with Serializable
  31. case class MainBulkDataPointer(nth: Int, bulkData: OrmBulkData[_], children: List[ChildBulkDataPointer]) extends BulkDataPointer with Product with Serializable
  32. case class MainEntity(alias: Alias, alias1: String, primaryKeyField: Keys, dataFields: List[FieldType[_]], children: List[ChildEntity]) extends OrmEntity with Product with Serializable
  33. case class ManyToOneBulkData(parentEntity: OrmEntity, ormEntity: ManyToOneEntity, tableNameToData: Map[String, List[List[Any]]], children: List[ChildOrmBulkData[_]]) extends ChildOrmBulkData[ManyToOneEntity] with Product with Serializable
  34. case class ManyToOneEntity(alias: Alias, alias1: String, primaryKeyField: Keys, idInParent: Keys, dataFields: List[FieldType[_]], children: List[ChildEntity]) extends SingleChild with Product with Serializable

    this is typically a look up reference.

    this is typically a look up reference. It is very similar to 'oneToZeroOneEntity' except that many of the parent are likely to share the same value. Thus it won't be in sync

  35. case class NullBulkDataPointer(bulkData: ChildOrmBulkData[_], children: List[ChildBulkDataPointer]) extends ChildBulkDataPointer with Product with Serializable
  36. case class OneToManyBulkData(parentEntity: OrmEntity, ormEntity: OneToManyEntity, tableNameToData: Map[String, List[List[Any]]], children: List[ChildOrmBulkData[_]]) extends ChildOrmBulkData[OneToManyEntity] with Product with Serializable
  37. case class OneToManyEntity(alias: Alias, alias1: String, primaryKeyField: Keys, parentId: Keys, dataFields: List[FieldType[_]], children: List[ChildEntity]) extends ChildEntity with Product with Serializable
  38. case class OneToZeroOneEntity(alias: Alias, alias1: String, primaryKeyField: Keys, idInParent: Keys, dataFields: List[FieldType[_]], children: List[ChildEntity]) extends SingleChild with Product with Serializable

    This will have zero or one entries for each item in the parent.

    This will have zero or one entries for each item in the parent. It will be in 'step' with it... allowing cursors to advance together

  39. case class OrmBatchConfig(dataSource: DataSource, batchSize: Int, whereForTable: WhereForTable = NullWhereForTable) extends Product with Serializable
  40. trait OrmBulkData[E] extends AnyRef
  41. trait OrmEntity extends FieldTypeToIndex
  42. trait OrmFactory[Schema[_]] extends AnyRef
  43. class OrmFactoryImpl[Context, Schema[_]] extends OrmFactory[Schema]
  44. trait OrmMaker[T] extends (MainEntity) => (Map[OrmEntity, List[List[AnyRef]]]) => Stream[T]
  45. trait OrmStrategies extends AnyRef
  46. case class PartitionedSchema[Schema[_]](key: String, links: List[Schema[_]], simple: List[Schema[_]], objects: List[PartitionedSchema[Schema]], arrays: List[(Alias, PartitionedSchema[Schema])]) extends Product with Serializable
  47. trait Placeholder extends AnyRef
  48. case class SameIdBulkData(ormEntity: SameIdEntity, tableNameToData: Map[String, List[List[Any]]], children: List[ChildOrmBulkData[_]]) extends ChildOrmBulkData[SameIdEntity] with Product with Serializable
  49. case class SameIdEntity(alias: Alias, alias1: String, primaryKeyField: Keys, dataFields: List[FieldType[_]], children: List[ChildEntity]) extends SingleChild with Product with Serializable
  50. trait SchemaMapKey[Schema[_]] extends AnyRef

    THere is a schema of type Schema.

    THere is a schema of type Schema. Schema is not the data, is the structure of the data

    The type parameter is the type of the data in the field that the schema is pointing to. This is used for things like 'getting from database' and 'putting in json'.

    Because schemas hold other schemas, and I am not sure how to handle the schema object itself from a [T] perspective there is a fake T called Placeholder.

  51. trait SingleChild extends ChildEntity
  52. case class TableName(tableName: String, description: String) extends Product with Serializable
  53. trait ToAliasAndFieldTypes[Context, Schema[_]] extends AnyRef
  54. trait ToFieldType[T] extends AnyRef
  55. trait ToWritableForm[T] extends (T) => List[(OrmEntity, List[List[AnyRef]])]
  56. trait ValueFromMultipleAliasFields[Context, T] extends AnyRef
  57. trait WhereForTable extends SetParams[PreparedStatement]
  58. trait Write[T] extends AnyRef
  59. class WriteToJsonForSchema[Schema[_], Context] extends AnyRef

Value Members

  1. object Alias extends Serializable
  2. object AliasAndFieldType extends Serializable
  3. object BulkDataPointer
  4. object EntityStrategy extends Serializable
  5. object FastOrmSql
  6. object FastReader
  7. object FastReaderDal
  8. object FieldType extends Serializable
  9. object IsObjectFieldFilter
  10. object IsSimpleFieldFilter
  11. object JsonToStream
  12. object Keys extends Serializable
  13. object MainBulkData extends Serializable
  14. case object NullWhereForTable extends WhereForTable with Product with Serializable
  15. object OrmFactory
  16. object OrmMaker
  17. object OrmStrategies extends OrmStrategies

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

  18. object PartitionedSchema extends Serializable
  19. object SchemaMapKey
  20. object Table
  21. object ToFieldType
  22. object ValueFromMultipleAliasFields

Ungrouped