Class/Object

scalikejdbc

OneToManies2SQLToList

Related Docs: object OneToManies2SQLToList | package scalikejdbc

Permalink

class OneToManies2SQLToList[A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]

Source
OneToManies2SQL.scala
Linear Supertypes
OneToManies2Extractor[A, B1, B2, E, Z], RelationalSQLResultSetOperations[Z], SQLToList[Z, E], SQLToResult[Z, E, List], SQL[Z, E], Extractor[Z], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OneToManies2SQLToList
  2. OneToManies2Extractor
  3. RelationalSQLResultSetOperations
  4. SQLToList
  5. SQLToResult
  6. SQL
  7. Extractor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneToManies2SQLToList(statement: String, rawParameters: Seq[Any])(one: (WrappedResultSet) ⇒ A)(to1: (WrappedResultSet) ⇒ Option[B1], to2: (WrappedResultSet) ⇒ Option[B2])(zExtractor: (A, Seq[B1], Seq[B2]) ⇒ Z)

    Permalink

Type Members

  1. type SQLWithExtractor = SQL[Z, HasExtractor]

    Permalink
    Definition Classes
    SQL
  2. type ThisSQL = SQL[Z, E]

    Permalink
    Definition Classes
    SQL

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply()(implicit session: DBSession, context: ConnectionPoolContext = NoConnectionPoolContext, hasExtractor: =:=[ThisSQL, SQLWithExtractor]): List[Z]

    Permalink
    Definition Classes
    OneToManies2SQLToListSQLToResult
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def batch(parameters: Seq[Any]*): SQLBatch

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  7. def batchAndReturnGeneratedKey(generatedKeyName: String, parameters: Seq[Any]*): SQLBatchWithGeneratedKey

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    generatedKeyName

    generated key name

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  8. def batchAndReturnGeneratedKey(parameters: Seq[Any]*): SQLBatchWithGeneratedKey

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  9. def batchByName(parameters: Seq[(String, Any)]*): SQLBatch

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  10. final def batchByName(parameters: Seq[(Symbol, Any)]*)(implicit dummy: DummyImplicit): SQLBatch

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  11. def bind(parameters: Any*): SQL[Z, E]

    Permalink

    Binds parameters to SQL template in order.

    Binds parameters to SQL template in order.

    parameters

    parameters

    returns

    SQL instance

    Definition Classes
    SQL
  12. def bindByName(parametersByName: (Symbol, Any)*): SQL[Z, E]

    Permalink

    Binds named parameters to SQL template.

    Binds named parameters to SQL template.

    parametersByName

    named parameters

    returns

    SQL instance

    Definition Classes
    SQL
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collection: SQLToCollection[Z, E]

    Permalink

    Set execution type as collection.

    Set execution type as collection.

    returns

    SQL instance

    Definition Classes
    SQL
  15. def createDBSessionAttributesSwitcher(): DBSessionAttributesSwitcher

    Permalink

    Creates a new DBSessionAttributesSwitcher which enables switching the attributes for a DBSession.

    Creates a new DBSessionAttributesSwitcher which enables switching the attributes for a DBSession.

    Attributes
    protected
    Definition Classes
    SQL
  16. def dbSettingSettings(settings: SettingsProvider): OneToManies2SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def execute(): SQLExecution

    Permalink

    Set execution type as execute

    Set execution type as execute

    returns

    SQL instance

    Definition Classes
    SQL
  20. def executeUpdate(): SQLUpdate

    Permalink

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

    Definition Classes
    SQL
  21. def executeUpdateWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLUpdate

    Permalink

    Set execution type as executeUpdate with filters

    Set execution type as executeUpdate with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  22. def executeWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLExecution

    Permalink

    Set execution type as execute with filters

    Set execution type as execute with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  23. def extractor: (WrappedResultSet) ⇒ Z

    Permalink
    Definition Classes
    SQL → Extractor
  24. def fetchSize: Option[Int]

    Permalink

    Returns fetchSize for this query.

    Returns fetchSize for this query.

    returns

    fetch size

    Definition Classes
    SQL
  25. def fetchSize(fetchSize: Option[Int]): OneToManies2SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  26. def fetchSize(fetchSize: Int): OneToManies2SQLToList.this.type

    Permalink

    Set fetchSize for this query.

    Set fetchSize for this query.

    fetchSize

    fetch size

    returns

    this

    Definition Classes
    SQL
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def first(): SQLToOption[Z, E]

    Permalink

    Set execution type as first.

    Set execution type as first.

    returns

    SQL instance

    Definition Classes
    SQL
  29. def foldLeft[A](z: A)(op: (A, WrappedResultSet) ⇒ A)(implicit session: DBSession): A

    Permalink

    folding into one value

    folding into one value

    z

    initial value

    op

    operation

    Definition Classes
    SQL
  30. def foreach(op: (WrappedResultSet) ⇒ Unit)(implicit session: DBSession): Unit

    Permalink

    Apply the operation to all elements of result set

    Apply the operation to all elements of result set

    op

    operation

    Definition Classes
    SQL
  31. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def headOption(): SQLToOption[Z, E]

    Permalink

    Same as #first.

    Same as #first.

    returns

    SQL instance

    Definition Classes
    SQL
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def iterable(): SQLToIterable[Z, E]

    Permalink

    Set execution type as iterable.

    Set execution type as iterable.

    returns

    SQL instance

    Definition Classes
    SQL
  36. def largeBatch(parameters: Seq[Any]*): SQLLargeBatch

    Permalink

    Binds parameters for largeBatch

    Binds parameters for largeBatch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  37. def largeUpdate(): SQLLargeUpdate

    Permalink

    Set execution type as executeLargeUpdate

    Set execution type as executeLargeUpdate

    returns

    SQL instance

    Definition Classes
    SQL
  38. def largeUpdateWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLLargeUpdate

    Permalink

    Set execution type as executeLargeUpdate with filters

    Set execution type as executeLargeUpdate with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  39. def list(): SQLToList[Z, E]

    Permalink

    Set execution type as list.

    Set execution type as list.

    returns

    SQL instance

    Definition Classes
    SQL
  40. def map[A](f: (WrappedResultSet) ⇒ A): SQL[A, HasExtractor]

    Permalink

    Maps values from each scalikejdbc.WrappedResultSet object.

    Maps values from each scalikejdbc.WrappedResultSet object.

    A

    return type

    f

    extractor function

    returns

    SQL instance

    Definition Classes
    SQL
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. def one[Z](f: (WrappedResultSet) ⇒ Z): OneToXSQL[Z, E, Z]

    Permalink

    Returns One-to-X API builder.

    Returns One-to-X API builder.

    Definition Classes
    SQL
  45. val one: (WrappedResultSet) ⇒ A

    Permalink
  46. final lazy val parameters: Seq[Any]

    Permalink
    Definition Classes
    SQL
  47. def queryTimeout: Option[Int]

    Permalink

    Returns queryTimeout for this query.

    Returns queryTimeout for this query.

    returns

    query timeout seconds

    Definition Classes
    SQL
  48. def queryTimeout(seconds: Option[Int]): OneToManies2SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  49. def queryTimeout(seconds: Int): OneToManies2SQLToList.this.type

    Permalink

    Set queryTimeout for this query.

    Set queryTimeout for this query.

    seconds

    query timeout seconds

    returns

    this

    Definition Classes
    SQL
  50. val rawParameters: Seq[Any]

    Permalink
    Definition Classes
    OneToManies2SQLToListSQLToResultSQL
  51. def result[AA](f: (WrappedResultSet) ⇒ AA, session: DBSession): List[AA]

    Permalink
    Definition Classes
    SQLToListSQLToResult
  52. def single(): SQLToOption[Z, E]

    Permalink

    Set execution type as single.

    Set execution type as single.

    returns

    SQL instance

    Definition Classes
    SQL
  53. val statement: String

    Permalink
    Definition Classes
    OneToManies2SQLToListSQLToResultSQL
  54. def stripMargin: SQL[Z, E]

    Permalink
    Definition Classes
    SQL
  55. def stripMargin(marginChar: Char): SQL[Z, E]

    Permalink
    Definition Classes
    SQL
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def tags: Seq[String]

    Permalink

    Returns tags for this SQL object.

    Returns tags for this SQL object.

    returns

    tags

    Definition Classes
    SQL
  58. def tags(tags: String*): OneToManies2SQLToList.this.type

    Permalink

    Appends tags to this SQL object.

    Appends tags to this SQL object.

    tags

    tags

    returns

    this

    Definition Classes
    SQL
  59. val to1: (WrappedResultSet) ⇒ Option[B1]

    Permalink
  60. val to2: (WrappedResultSet) ⇒ Option[B2]

    Permalink
  61. def toCollection: SQLToCollection[Z, E]

    Permalink

    Same as #collection

    Same as #collection

    returns

    SQL instance

    Definition Classes
    SQL
  62. def toIterable(): SQLToIterable[Z, E]

    Permalink

    Same as #iterable.

    Same as #iterable.

    returns

    SQL instance

    Definition Classes
    SQL
  63. def toList(): SQLToList[Z, E]

    Permalink

    Same as #list

    Same as #list

    returns

    SQL instance

    Definition Classes
    SQL
  64. def toMap(): SQL[Map[String, Any], HasExtractor]

    Permalink

    Maps values as a Map value from each scalikejdbc.WrappedResultSet object.

    Maps values as a Map value from each scalikejdbc.WrappedResultSet object.

    returns

    SQL instance

    Definition Classes
    SQL
  65. def toOption(): SQLToOption[Z, E]

    Permalink

    Same as #single.

    Same as #single.

    returns

    SQL instance

    Definition Classes
    SQL
  66. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  67. def update(): SQLUpdate

    Permalink

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

    Definition Classes
    SQL
  68. def updateAndReturnGeneratedKey(index: Int): SQLUpdateWithGeneratedKey

    Permalink
    Definition Classes
    SQL
  69. def updateAndReturnGeneratedKey(name: String): SQLUpdateWithGeneratedKey

    Permalink
    Definition Classes
    SQL
  70. def updateAndReturnGeneratedKey(): SQLUpdateWithGeneratedKey

    Permalink

    Set execution type as updateAndReturnGeneratedKey

    Set execution type as updateAndReturnGeneratedKey

    returns

    SQL instance

    Definition Classes
    SQL
  71. def updateWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLUpdate

    Permalink

    Set execution type as executeUpdate with filters

    Set execution type as executeUpdate with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  72. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def withExtractor[B](f: (WrappedResultSet) ⇒ B): SQL[B, HasExtractor]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL
  76. def withParameters(params: Seq[Any]): SQL[Z, E]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL
  77. def withStatementAndParameters(state: String, params: Seq[Any]): SQL[Z, E]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL
  78. val zExtractor: (A, Seq[B1], Seq[B2]) ⇒ Z

    Permalink

Deprecated Value Members

  1. def toTraverable(): SQLToIterable[Z, E]

    Permalink
    Definition Classes
    SQL
    Annotations
    @deprecated
    Deprecated

    (Since version 3.3.0) will be removed. use toIterable() instead

  2. def traversable(): SQLToIterable[Z, E]

    Permalink
    Definition Classes
    SQL
    Annotations
    @deprecated
    Deprecated

    (Since version 3.3.0) will be removed. use iterable() instead

Inherited from OneToManies2Extractor[A, B1, B2, E, Z]

Inherited from RelationalSQLResultSetOperations[Z]

Inherited from SQLToList[Z, E]

Inherited from SQLToResult[Z, E, List]

Inherited from SQL[Z, E]

Inherited from Extractor[Z]

Inherited from AnyRef

Inherited from Any

Ungrouped