entitytled.RelationshipComponent

ToManyThrough

Related Doc: package RelationshipComponent

class ToManyThrough[From <: (RelationshipComponent.this)#EntityTable[E, I], Through <: slick.driver.JdbcProfile.API.Table[_], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#IndirectRelationship[From, Through, To, E, I, T, Seq] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, I, T]

Represents an indirect (with a join-table) 'to many' relationship.

Linear Supertypes
(RelationshipComponent.this)#ToManyRelationship[From, To, E, I, T], (RelationshipComponent.this)#IndirectRelationship[From, Through, To, E, I, T, Seq], (RelationshipComponent.this)#Relationship[From, To, E, I, T, Seq], (RelationshipComponent.this)#Includable[From, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ToManyThrough
  2. ToManyRelationship
  3. IndirectRelationship
  4. Relationship
  5. Includable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ToManyThrough(fromQuery: slick.driver.JdbcProfile.API.Query[From, E, Seq], toQuery: slick.driver.JdbcProfile.API.Query[(Through, To), _ <: Tuple2[_, T], Seq], joinCondition: (From, (Through, To)) ⇒ slick.driver.JdbcProfile.API.Rep[Boolean])(implicit mapping: slick.driver.JdbcProfile.API.BaseColumnType[I])

    Create a new indirect (with a join-table) 'to many' relationship.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def actionFor(id: I)(implicit ec: ExecutionContext): slick.driver.JdbcProfile.API.DBIOAction[Seq[T], slick.driver.JdbcProfile.API.Streaming[T], Read]

    Definition Classes
    ToManyRelationship
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val emptyValue: Seq[T]

    Definition Classes
    ToManyRelationship
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def expandJoin[W <: slick.driver.JdbcProfile.API.Table[O], O](query: slick.driver.JdbcProfile.API.Query[(W, From), (O, E), Seq]): slick.driver.JdbcProfile.API.Query[(W, To), (O, T), Seq]

    Expands a join query from an origin relation to the owner relation, into a join query from that origin relation to the target relation.

    Expands a join query from an origin relation to the owner relation, into a join query from that origin relation to the target relation.

    W

    The origin relation's table type.

    O

    The origin relation's row type.

    query

    A join query from the origin relation to the owner relation.

    Definition Classes
    IndirectRelationshipRelationship
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val fromQuery: slick.driver.JdbcProfile.API.Query[From, E, Seq]

    Query representing the complete set of possible owner entities for this relationship.

    Query representing the complete set of possible owner entities for this relationship.

    Definition Classes
    ToManyThroughIndirectRelationship
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def include(includables: (RelationshipComponent.this)#Includable[To, T]*): (RelationshipComponent.this)#ToManyWithIncludes[From, To, E, I, T]

    Definition Classes
    ToManyRelationship
  16. def includeOn[F[_]](action: slick.driver.JdbcProfile.API.DBIOAction[F[E], slick.driver.JdbcProfile.API.NoStream, Read], query: slick.driver.JdbcProfile.API.Query[From, E, Seq])(implicit arg0: Functor[F], ec: ExecutionContext): slick.driver.JdbcProfile.API.DBIOAction[F[E], slick.driver.JdbcProfile.API.NoStream, Read]

    Includes this relationship on a database action.

    Includes this relationship on a database action.

    F

    The type of the functor that contains the owner entity instance(s).

    action

    The entity action the relationship is to be included on.

    query

    The query that produced the database action the relationship is to be included on.

    ec

    The execution context in which the action is to be modified.

    returns

    The database action, modified to include this relationship on the resulting owner instance(s).

    Definition Classes
    RelationshipIncludable
  17. def inclusionActionFor(query: slick.driver.JdbcProfile.API.Query[From, E, Seq])(implicit ec: ExecutionContext): slick.driver.JdbcProfile.API.DBIOAction[Map[E, Seq[T]], slick.driver.JdbcProfile.API.NoStream, Read]

    Definition Classes
    ToManyRelationship
  18. val inclusionKey: (RelationshipComponent.this)#Relationship[From, To, E, I, T, Seq]

    Definition Classes
    Relationship
  19. def innerJoinFor(query: slick.driver.JdbcProfile.API.Query[From, E, Seq]): slick.driver.JdbcProfile.API.Query[(From, To), (E, T), Seq]

    Returns a query for the inner product of the given owner entity query with the respective owned relations.

    Returns a query for the inner product of the given owner entity query with the respective owned relations.

    query

    Query for owner entities on which the set of owned relations is to be joined.

    Definition Classes
    IndirectRelationshipRelationship
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val joinCondition: (From, (Through, To)) ⇒ slick.driver.JdbcProfile.API.Rep[Boolean]

    Condition for joining a query for owner entities with a query for owned relations joined with the join-table.

    Condition for joining a query for owner entities with a query for owned relations joined with the join-table.

    Definition Classes
    ToManyThroughIndirectRelationship
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def queryFor(query: slick.driver.JdbcProfile.API.Query[From, E, Seq]): slick.driver.JdbcProfile.API.Query[To, T, Seq]

    Returns a query for all the owned relations belonging all the owner entities with retrieved by the given query.

    Returns a query for all the owned relations belonging all the owner entities with retrieved by the given query.

    query

    The query for owner entities for which to build a query for the owned relations.

    Definition Classes
    IndirectRelationshipRelationship
  26. def queryFor(id: I): slick.driver.JdbcProfile.API.Query[To, T, Seq]

    Returns a query for the owned relations belonging the owner entity with the given ID.

    Returns a query for the owned relations belonging the owner entity with the given ID.

    id

    The ID of the owner entity to build the query for.

    Definition Classes
    IndirectRelationshipRelationship
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. val toQuery: slick.driver.JdbcProfile.API.Query[(Through, To), _ <: Tuple2[_, T], Seq]

    Query representing the complete set of possible owned relations for this relationship, joined onto the join-table.

    Query representing the complete set of possible owned relations for this relationship, joined onto the join-table.

    Definition Classes
    ToManyThroughIndirectRelationship
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (RelationshipComponent.this)#ToManyRelationship[From, To, E, I, T]

Inherited from (RelationshipComponent.this)#IndirectRelationship[From, Through, To, E, I, T, Seq]

Inherited from (RelationshipComponent.this)#Relationship[From, To, E, I, T, Seq]

Inherited from (RelationshipComponent.this)#Includable[From, E]

Inherited from AnyRef

Inherited from Any

Ungrouped