Packages

class QueryInvokerImpl[R] extends StatementInvoker[R] with JdbcProfile.QueryInvoker[R]

Source
JdbcInvokerComponent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryInvokerImpl
  2. QueryInvoker
  3. StatementInvoker
  4. Invoker
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new QueryInvokerImpl(tree: Node, param: Any, overrideSql: String)

Value Members

  1. final def buildColl[C[_]](implicit session: JdbcSessionDef, canBuildFrom: Factory[R, C[R]]): C[R]

    Execute the statement and return a fully materialized collection.

    Execute the statement and return a fully materialized collection.

    Definition Classes
    Invoker
  2. final def execute(implicit session: JdbcSessionDef): Unit

    Execute the statement and ignore the results.

    Execute the statement and ignore the results.

    Definition Classes
    Invoker
  3. def extractValue(pr: PositionedResult): R
    Definition Classes
    QueryInvokerImplStatementInvoker
  4. final def first(implicit session: JdbcSessionDef): R

    Execute the statement and return the first row of the result set.

    Execute the statement and return the first row of the result set. If the result set is empty, a NoSuchElementException is thrown.

    Definition Classes
    Invoker
  5. final def firstOption(implicit session: JdbcSessionDef): Option[R]

    Execute the statement and return the first row of the result set wrapped in Some, or None if the result set is empty.

    Execute the statement and return the first row of the result set wrapped in Some, or None if the result set is empty.

    Definition Classes
    Invoker
  6. final def foreach(f: (R) => Unit, maxRows: Int = 0)(implicit session: JdbcSessionDef): Unit

    Execute the statement and call f for each converted row of the result set.

    Execute the statement and call f for each converted row of the result set.

    maxRows

    Maximum number of rows to read from the result (0 for unlimited).

    Definition Classes
    Invoker
  7. def invoker: QueryInvokerImpl.this.type
    Definition Classes
    QueryInvoker
  8. def iteratorTo(maxRows: Int)(implicit session: JdbcSessionDef): CloseableIterator[R]

    Execute the statement and return a CloseableIterator of the converted results.

    Execute the statement and return a CloseableIterator of the converted results. The iterator must either be fully read or closed explicitly.

    maxRows

    Maximum number of rows to read from the result (0 for unlimited).

    Definition Classes
    StatementInvokerInvoker
  9. def results(maxRows: Int, defaultType: ResultSetType = ResultSetType.ForwardOnly, defaultConcurrency: ResultSetConcurrency = ResultSetConcurrency.ReadOnly, defaultHoldability: ResultSetHoldability = ResultSetHoldability.Default, autoClose: Boolean = true)(implicit session: JdbcSessionDef): Either[Int, PositionedResultIterator[R]]

    Invoke the statement and return the raw results.

    Invoke the statement and return the raw results.

    Definition Classes
    StatementInvoker
  10. def updateRowValues(pr: PositionedResult, value: R): Unit