StatementInvoker
An invoker which executes an SQL statement through JDBC.
Attributes
- Source:
- StatementInvoker.scala
- Graph
- Supertypes
- Known subtypes
- trait QueryInvoker[R]class QueryInvokerImpl[R]
- Self type
Members list
Value members
Concrete methods
Execute the statement and return a CloseableIterator of the converted results. The iterator must either be fully read or closed explicitly.
Execute the statement and return a CloseableIterator of the converted results. The iterator must either be fully read or closed explicitly.
Attributes
- maxRows
Maximum number of rows to read from the result (0 for unlimited).
- Source:
- StatementInvoker.scala
Invoke the statement and return the raw results.
Inherited methods
Execute the statement and return a fully materialized collection.
Execute the statement and return a fully materialized collection.
Attributes
- Inherited from:
- Invoker
- Source:
- Invoker.scala
Execute the statement and ignore the results.
Execute the statement and return the first row of the result set. If the result set is empty, a NoSuchElementException is thrown.
Execute the statement and return the first row of the result set. If the result set is empty, a NoSuchElementException is thrown.
Attributes
- Inherited from:
- Invoker
- Source:
- Invoker.scala
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.
Attributes
- Inherited from:
- Invoker
- Source:
- Invoker.scala
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.
Attributes
- maxRows
Maximum number of rows to read from the result (0 for unlimited).
- Inherited from:
- Invoker
- Source:
- Invoker.scala