object connection
Module of high-level constructors for ConnectionIO
actions.
- Source
- connection.scala
- Grouped
- Alphabetic
- By Inheritance
- connection
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val commit: hi.ConnectionIO[Unit]
- def createStatement[A](rst: ResultSetType, rsc: ResultSetConcurrency, rsh: Holdability)(k: hi.StatementIO[A]): hi.ConnectionIO[A]
- def createStatement[A](rst: ResultSetType, rsc: ResultSetConcurrency)(k: hi.StatementIO[A]): hi.ConnectionIO[A]
- def createStatement[A](k: hi.StatementIO[A]): hi.ConnectionIO[A]
- def delay[A](a: ⇒ A): hi.ConnectionIO[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val getCatalog: hi.ConnectionIO[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getClientInfo(key: String): hi.ConnectionIO[Option[String]]
- val getClientInfo: hi.ConnectionIO[Map[String, String]]
- val getHoldability: hi.ConnectionIO[Holdability]
- def getMetaData[A](k: hi.DatabaseMetaDataIO[A]): hi.ConnectionIO[A]
- val getTransactionIsolation: hi.ConnectionIO[TransactionIsolation]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isReadOnly: hi.ConnectionIO[Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def prepareCall[A](sql: String, rst: ResultSetType, rsc: ResultSetConcurrency, rsh: Holdability)(k: hi.CallableStatementIO[A]): hi.ConnectionIO[A]
- def prepareCall[A](sql: String)(k: hi.CallableStatementIO[A]): hi.ConnectionIO[A]
- def prepareCall[A](sql: String, rst: ResultSetType, rsc: ResultSetConcurrency)(k: hi.CallableStatementIO[A]): hi.ConnectionIO[A]
-
def
prepareQueryAnalysis[A, B](sql: String)(implicit arg0: util.Write[A], arg1: util.Read[B]): hi.ConnectionIO[Analysis]
Construct an analysis for the provided
sql
query, given writable parameter typeA
and readable resultset row typeB
. - def prepareQueryAnalysis0[B](sql: String)(implicit arg0: util.Read[B]): hi.ConnectionIO[Analysis]
- def prepareStatement[A](sql: String, agk: AutoGeneratedKeys)(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareStatement[A](sql: String, rst: ResultSetType, rsc: ResultSetConcurrency, rsh: Holdability)(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareStatement[A](sql: String)(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareStatement[A](sql: String, rst: ResultSetType, rsc: ResultSetConcurrency)(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareStatementI[A](sql: String, columnIndexes: List[Int])(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareStatementS[A](sql: String, columnNames: List[String])(k: hi.PreparedStatementIO[A]): hi.ConnectionIO[A]
- def prepareUpdateAnalysis[A](sql: String)(implicit arg0: util.Write[A]): hi.ConnectionIO[Analysis]
- def prepareUpdateAnalysis0(sql: String): hi.ConnectionIO[Analysis]
- def releaseSavepoint(sp: Savepoint): hi.ConnectionIO[Unit]
- def rollback(sp: Savepoint): hi.ConnectionIO[Unit]
- val rollback: hi.ConnectionIO[Unit]
- def setCatalog(catalog: String): hi.ConnectionIO[Unit]
- def setClientInfo(info: Map[String, String]): hi.ConnectionIO[Unit]
- def setClientInfo(key: String, value: String): hi.ConnectionIO[Unit]
- def setHoldability(h: Holdability): hi.ConnectionIO[Unit]
- def setReadOnly(readOnly: Boolean): hi.ConnectionIO[Unit]
- def setSavepoint(name: String): hi.ConnectionIO[Savepoint]
- val setSavepoint: hi.ConnectionIO[Savepoint]
- def setTransactionIsolation(ti: TransactionIsolation): hi.ConnectionIO[Unit]
-
def
stream[A](sql: String, prep: hi.PreparedStatementIO[Unit], chunkSize: Int)(implicit arg0: util.Read[A]): Stream[hi.ConnectionIO, A]
Construct a prepared statement from the given
sql
, configure it with the givenPreparedStatementIO
action, and return results via aStream
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def updateManyWithGeneratedKeys[F[_], A, B](cols: List[String])(sql: String, prep: hi.PreparedStatementIO[Unit], fa: F[A], chunkSize: Int)(implicit arg0: Foldable[F], arg1: util.Write[A], arg2: util.Read[B]): Stream[hi.ConnectionIO, B]
-
def
updateWithGeneratedKeys[A](cols: List[String])(sql: String, prep: hi.PreparedStatementIO[Unit], chunkSize: Int)(implicit arg0: util.Read[A]): Stream[hi.ConnectionIO, A]
Construct a prepared update statement with the given return columns (and readable destination type
A
) and sql source, configure it with the givenPreparedStatementIO
action, and return the generated key results via aStream
. -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.