com.jaroop.anorm

relational

package relational

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. relational
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class OneToMany[A, B](parent: A, child: Option[B]) extends Product with Serializable

    Describes a one to many relationship between a single parent and child.

  2. case class OneToMany2[A, B1, B2](parent: A, c1: Option[B1], c2: Option[B2]) extends Product with Serializable

  3. case class OneToMany3[A, B1, B2, B3](parent: A, c1: Option[B1], c2: Option[B2], c3: Option[B3]) extends Product with Serializable

  4. case class OneToMany4[A, B1, B2, B3, B4](parent: A, c1: Option[B1], c2: Option[B2], c3: Option[B3], c4: Option[B4]) extends Product with Serializable

  5. case class OneToMany5[A, B1, B2, B3, B4, B5](parent: A, c1: Option[B1], c2: Option[B2], c3: Option[B3], c4: Option[B4], c5: Option[B5]) extends Product with Serializable

  6. case class RelationalParser[A, B](parser: RowParser[OneToMany[A, B]]) extends Product with Serializable

    A wrapper for a RowParser[OneTomany[A, B]] to control flattening of the result set.

  7. case class RelationalParser2[A, B1, B2](parser: RowParser[OneToMany2[A, B1, B2]]) extends Product with Serializable

  8. case class RelationalParser3[A, B1, B2, B3](parser: RowParser[OneToMany3[A, B1, B2, B3]]) extends Product with Serializable

  9. case class RelationalParser4[A, B1, B2, B3, B4](parser: RowParser[OneToMany4[A, B1, B2, B3, B4]]) extends Product with Serializable

  10. case class RelationalParser5[A, B1, B2, B3, B4, B5](parser: RowParser[OneToMany5[A, B1, B2, B3, B4, B5]]) extends Product with Serializable

  11. case class RelationalResultParser[A, B, R](parser: RelationalParser[A, B], f: (List[A]) ⇒ R) extends Product with Serializable

    Holds a RelationalParser and a function that describes what to do with the result List.

  12. case class RelationalResultParser2[A, B1, B2, R](parser: RelationalParser2[A, B1, B2], f: (List[A]) ⇒ R) extends Product with Serializable

  13. case class RelationalResultParser3[A, B1, B2, B3, R](parser: RelationalParser3[A, B1, B2, B3], f: (List[A]) ⇒ R) extends Product with Serializable

  14. case class RelationalResultParser4[A, B1, B2, B3, B4, R](parser: RelationalParser4[A, B1, B2, B3, B4], f: (List[A]) ⇒ R) extends Product with Serializable

  15. case class RelationalResultParser5[A, B1, B2, B3, B4, B5, R](parser: RelationalParser5[A, B1, B2, B3, B4, B5], f: (List[A]) ⇒ R) extends Product with Serializable

  16. case class RelationalSQL[T](sql: SimpleSql[T]) extends Product with Serializable

    Holds a SimpleSql[T] statement created from SQL(...) in order to apply the underlying RowParser, then use RowFlatteners to flatten the relational structure into the parent object.

  17. case class RowFlattener[A, B](f: (A, List[B]) ⇒ A) extends Product with Serializable

    A Function-like class to describe how to copy a list of child objects into their respective parents.

  18. case class RowFlattener2[A, B1, B2](f: (A, List[B1], List[B2]) ⇒ A) extends Product with Serializable

  19. case class RowFlattener3[A, B1, B2, B3](f: (A, List[B1], List[B2], List[B3]) ⇒ A) extends Product with Serializable

  20. case class RowFlattener4[A, B1, B2, B3, B4](f: (A, List[B1], List[B2], List[B3], List[B4]) ⇒ A) extends Product with Serializable

  21. case class RowFlattener5[A, B1, B2, B3, B4, B5](f: (A, List[B1], List[B2], List[B3], List[B4], List[B5]) ⇒ A) extends Product with Serializable

Value Members

  1. object OneToMany extends Serializable

  2. object RelationalParser extends Serializable

    Holds several apply methods to make defining parsers a bit cleaner.

  3. object RowFlattener extends Serializable

    Includes extra apply methods for each RowFlattener arity.

  4. implicit def query2Relational(sql: SqlQuery): RelationalSQL[Row]

    Implicitly convert SqlQuery to RelationalSQL[Row]

    Implicitly convert SqlQuery to RelationalSQL[Row]

    sql
    returns

    A RelationalSQL wrapper of the SqlQuery as SimpleSql[Row]

  5. implicit def simple2Relational[T](sql: SimpleSql[T]): RelationalSQL[T]

    Implicitly convert SimpleSql[T] to RelationalSQL[T] for almost seemless integration

    Implicitly convert SimpleSql[T] to RelationalSQL[T] for almost seemless integration

    sql
    returns

    A RelationalSQL wrapper of SimpleSql

Inherited from AnyRef

Inherited from Any

Ungrouped