class LoggingStatement extends Statement
A wrapper for java.sql.Statement
that logs statements and benchmark results
to the appropriate JdbcBackend loggers.
- Source
- LoggingStatement.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- LoggingStatement
- Statement
- AutoCloseable
- Wrapper
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LoggingStatement(st: Statement)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from LoggingStatement to any2stringadd[LoggingStatement] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (LoggingStatement, B)
- Implicit
- This member is added by an implicit conversion from LoggingStatement to ArrowAssoc[LoggingStatement] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addBatch(sql: String): Unit
- Definition Classes
- LoggingStatement → Statement
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cancel(): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
clearBatch(): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
clearParamss: Unit
- Attributes
- protected[this]
-
def
clearWarnings(): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- LoggingStatement → Statement → AutoCloseable
-
def
closeOnCompletion(): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
ensuring(cond: (LoggingStatement) ⇒ Boolean, msg: ⇒ Any): LoggingStatement
- Implicit
- This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (LoggingStatement) ⇒ Boolean): LoggingStatement
- Implicit
- This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): LoggingStatement
- Implicit
- This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): LoggingStatement
- Implicit
- This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(sql: String): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
execute(sql: String, autoGeneratedKeys: Int): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
execute(sql: String, columnIndexes: Array[Int]): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
execute(sql: String, columnNames: Array[String]): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
executeBatch(): Array[Int]
- Definition Classes
- LoggingStatement → Statement
-
def
executeLargeBatch(): Array[Long]
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
executeLargeUpdate(arg0: String, arg1: Array[String]): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
executeLargeUpdate(arg0: String, arg1: Array[Int]): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
executeLargeUpdate(arg0: String, arg1: Int): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
executeLargeUpdate(arg0: String): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
executeQuery(sql: String): ResultSet
- Definition Classes
- LoggingStatement → Statement
-
def
executeUpdate(sql: String): Int
- Definition Classes
- LoggingStatement → Statement
-
def
executeUpdate(sql: String, autoGeneratedKeys: Int): Int
- Definition Classes
- LoggingStatement → Statement
-
def
executeUpdate(sql: String, columnIndexes: Array[Int]): Int
- Definition Classes
- LoggingStatement → Statement
-
def
executeUpdate(sql: String, columnNames: Array[String]): Int
- Definition Classes
- LoggingStatement → Statement
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from LoggingStatement to StringFormat[LoggingStatement] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnection(): Connection
- Definition Classes
- LoggingStatement → Statement
-
def
getFetchDirection(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getFetchSize(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getGeneratedKeys(): ResultSet
- Definition Classes
- LoggingStatement → Statement
-
def
getLargeMaxRows(): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
getLargeUpdateCount(): Long
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
getMaxFieldSize(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getMaxRows(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getMoreResults(): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
getMoreResults(current: Int): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
getQueryTimeout(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getResultSet(): ResultSet
- Definition Classes
- LoggingStatement → Statement
-
def
getResultSetConcurrency(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getResultSetHoldability(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getResultSetType(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getUpdateCount(): Int
- Definition Classes
- LoggingStatement → Statement
-
def
getWarnings(): SQLWarning
- Definition Classes
- LoggingStatement → Statement
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isCloseOnCompletion(): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
isClosed(): Boolean
- Definition Classes
- LoggingStatement → Statement
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPoolable(): Boolean
- Definition Classes
- LoggingStatement → Statement
-
def
isWrapperFor(iface: Class[_]): Boolean
- Definition Classes
- LoggingStatement → Wrapper
-
def
logged[T](sql: String, what: String = "statement")(f: ⇒ T): T
- Attributes
- protected[this]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
p(idx: Int, tpe: Any, value: Any): Unit
log a parameter
log a parameter
- Attributes
- protected[this]
-
def
pushParams: Unit
- Attributes
- protected[this]
-
def
setCursorName(name: String): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setEscapeProcessing(enable: Boolean): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setFetchDirection(direction: Int): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setFetchSize(rows: Int): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setLargeMaxRows(arg0: Long): Unit
- Definition Classes
- Statement
- Annotations
- @throws( classOf[java.sql.SQLException] )
-
def
setMaxFieldSize(max: Int): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setMaxRows(max: Int): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setPoolable(poolable: Boolean): Unit
- Definition Classes
- LoggingStatement → Statement
-
def
setQueryTimeout(seconds: Int): Unit
- Definition Classes
- LoggingStatement → Statement
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unwrap[T](iface: Class[T]): T
- Definition Classes
- LoggingStatement → Wrapper
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (LoggingStatement, B)
- Implicit
- This member is added by an implicit conversion from LoggingStatement to ArrowAssoc[LoggingStatement] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...