scalikejdbc

OneToOneSQLToTraversable

class OneToOneSQLToTraversable[A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]

Linear Supertypes
OneToOneExtractor[A, B, E, Z], RelationalSQLResultSetOperations[Z], AllOutputDecisionsUnsupported[Z, E], SQLToTraversable[Z, E], SQL[Z, E], Extractor[Z], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OneToOneSQLToTraversable
  2. OneToOneExtractor
  3. RelationalSQLResultSetOperations
  4. AllOutputDecisionsUnsupported
  5. SQLToTraversable
  6. SQL
  7. Extractor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneToOneSQLToTraversable(statement: String)(parameters: Any*)(one: (WrappedResultSet) ⇒ A)(toOne: (WrappedResultSet) ⇒ Option[B])(map: (A, B) ⇒ Z)

Type Members

  1. type SQLWithExtractor = SQL[Z, HasExtractor]

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

    Definition Classes
    SQL

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 apply()(implicit session: DBSession, context: ConnectionPoolContext = NoConnectionPoolContext, hasExtractor: =:=[ThisSQL, SQLWithExtractor]): Traversable[Z]

  5. final def asInstanceOf[T0]: T0

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

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

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

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

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

    Binds parameters to SQL template in order.

    Binds parameters to SQL template in order.

    parameters

    parameters

    returns

    SQL instance

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

    Binds named parameters to SQL template.

    Binds named parameters to SQL template.

    parametersByName

    named parameters

    returns

    SQL instance

    Definition Classes
    SQL
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Set execution type as execute

    Set execution type as execute

    returns

    SQL instance

    Definition Classes
    SQL
  14. def executeUpdate(): SQLUpdate

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

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

    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
  16. def executeWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLExecution

    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
  17. def extractor: (WrappedResultSet) ⇒ Z

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

    Returns fetchSize for this query.

    Returns fetchSize for this query.

    returns

    fetch size

    Definition Classes
    SQL
  19. def fetchSize(fetchSize: Option[Int]): SQL[Z, E]

    Definition Classes
    SQL
  20. def fetchSize(fetchSize: Int): SQL[Z, E]

    Set fetchSize for this query.

    Set fetchSize for this query.

    fetchSize

    fetch size

    returns

    this

    Definition Classes
    SQL
  21. def finalize(): Unit

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

    Set execution type as first.

    Set execution type as first.

    returns

    SQL instance

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

    folding into one value

    folding into one value

    z

    initial value

    op

    operation

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

    Aplly the operation to all elements of result set

    Aplly the operation to all elements of result set

    op

    operation

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

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

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

    Same as #first.

    Same as #first.

    returns

    SQL instance

    Definition Classes
    AllOutputDecisionsUnsupportedSQL
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def list(): SQLToList[Z, E]

    Set execution type as list.

    Set execution type as list.

    returns

    SQL instance

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

    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
  31. val message: String

  32. final def ne(arg0: AnyRef): Boolean

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

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

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

    Returns One-to-X API builder.

    Returns One-to-X API builder.

    Definition Classes
    SQL
  36. val parameters: Any*

    Definition Classes
    OneToOneSQLToTraversableSQLToTraversableSQL
  37. def single(): SQLToOption[Z, E]

    Set execution type as single.

    Set execution type as single.

    returns

    SQL instance

    Definition Classes
    AllOutputDecisionsUnsupportedSQL
  38. val statement: String

    Definition Classes
    OneToOneSQLToTraversableSQLToTraversableSQL
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toList(): SQLToList[Z, E]

    Same as #list

    Same as #list

    returns

    SQL instance

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

    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
  42. def toOption(): SQLToOption[Z, E]

    Same as #single.

    Same as #single.

    returns

    SQL instance

    Definition Classes
    AllOutputDecisionsUnsupportedSQL
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def toTraversable(): SQLToTraversable[Z, E]

    Same as #traversable.

    Same as #traversable.

    returns

    SQL instance

    Definition Classes
    AllOutputDecisionsUnsupportedSQL
  45. def traversable(): SQLToTraversable[Z, E]

    Set execution type as traversable.

    Set execution type as traversable.

    returns

    SQL instance

    Definition Classes
    AllOutputDecisionsUnsupportedSQL
  46. def update(): SQLUpdate

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

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

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

    Definition Classes
    SQL
  49. def updateAndReturnGeneratedKey(): SQLUpdateWithGeneratedKey

    Set execution type as updateAndReturnGeneratedKey

    Set execution type as updateAndReturnGeneratedKey

    returns

    SQL instance

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

    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
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OneToOneExtractor[A, B, E, Z]

Inherited from RelationalSQLResultSetOperations[Z]

Inherited from AllOutputDecisionsUnsupported[Z, E]

Inherited from SQLToTraversable[Z, E]

Inherited from SQL[Z, E]

Inherited from Extractor[Z]

Inherited from AnyRef

Inherited from Any

Ungrouped