Class

slick.jdbc

LoggingStatement

Related Doc: package jdbc

Permalink

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
Statement, AutoCloseable, Wrapper, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggingStatement
  2. Statement
  3. AutoCloseable
  4. Wrapper
  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. All

Instance Constructors

  1. new LoggingStatement(st: Statement)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to any2stringadd[LoggingStatement] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LoggingStatement, B)

    Permalink
    Implicit information
    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()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def addBatch(sql: String): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def cancel(): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  9. def clearBatch(): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  10. def clearParamss: Unit

    Permalink
    Attributes
    protected[this]
  11. def clearWarnings(): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def close(): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement → AutoCloseable
  14. def closeOnCompletion(): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  15. def ensuring(cond: (LoggingStatement) ⇒ Boolean, msg: ⇒ Any): LoggingStatement

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (LoggingStatement) ⇒ Boolean): LoggingStatement

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): LoggingStatement

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): LoggingStatement

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def execute(sql: String): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  22. def execute(sql: String, autoGeneratedKeys: Int): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  23. def execute(sql: String, columnIndexes: Array[Int]): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  24. def execute(sql: String, columnNames: Array[String]): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  25. def executeBatch(): Array[Int]

    Permalink
    Definition Classes
    LoggingStatement → Statement
  26. def executeLargeBatch(): Array[Long]

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  27. def executeLargeUpdate(arg0: String, arg1: Array[String]): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  28. def executeLargeUpdate(arg0: String, arg1: Array[Int]): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  29. def executeLargeUpdate(arg0: String, arg1: Int): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  30. def executeLargeUpdate(arg0: String): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  31. def executeQuery(sql: String): ResultSet

    Permalink
    Definition Classes
    LoggingStatement → Statement
  32. def executeUpdate(sql: String): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  33. def executeUpdate(sql: String, autoGeneratedKeys: Int): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  34. def executeUpdate(sql: String, columnIndexes: Array[Int]): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  35. def executeUpdate(sql: String, columnNames: Array[String]): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  36. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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()
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  39. def getConnection(): Connection

    Permalink
    Definition Classes
    LoggingStatement → Statement
  40. def getFetchDirection(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  41. def getFetchSize(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  42. def getGeneratedKeys(): ResultSet

    Permalink
    Definition Classes
    LoggingStatement → Statement
  43. def getLargeMaxRows(): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  44. def getLargeUpdateCount(): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  45. def getMaxFieldSize(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  46. def getMaxRows(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  47. def getMoreResults(): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  48. def getMoreResults(current: Int): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  49. def getQueryTimeout(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  50. def getResultSet(): ResultSet

    Permalink
    Definition Classes
    LoggingStatement → Statement
  51. def getResultSetConcurrency(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  52. def getResultSetHoldability(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  53. def getResultSetType(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  54. def getUpdateCount(): Int

    Permalink
    Definition Classes
    LoggingStatement → Statement
  55. def getWarnings(): SQLWarning

    Permalink
    Definition Classes
    LoggingStatement → Statement
  56. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  57. def isCloseOnCompletion(): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  58. def isClosed(): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  59. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  60. def isPoolable(): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Statement
  61. def isWrapperFor(iface: Class[_]): Boolean

    Permalink
    Definition Classes
    LoggingStatement → Wrapper
  62. def logged[T](sql: String, what: String = "statement")(f: ⇒ T): T

    Permalink
    Attributes
    protected[this]
  63. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  64. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  65. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  66. def p(idx: Int, tpe: Any, value: Any): Unit

    Permalink

    log a parameter

    log a parameter

    Attributes
    protected[this]
  67. def pushParams: Unit

    Permalink
    Attributes
    protected[this]
  68. def setCursorName(name: String): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  69. def setEscapeProcessing(enable: Boolean): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  70. def setFetchDirection(direction: Int): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  71. def setFetchSize(rows: Int): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  72. def setLargeMaxRows(arg0: Long): Unit

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  73. def setMaxFieldSize(max: Int): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  74. def setMaxRows(max: Int): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  75. def setPoolable(poolable: Boolean): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  76. def setQueryTimeout(seconds: Int): Unit

    Permalink
    Definition Classes
    LoggingStatement → Statement
  77. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  78. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  79. def unwrap[T](iface: Class[T]): T

    Permalink
    Definition Classes
    LoggingStatement → Wrapper
  80. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def [B](y: B): (LoggingStatement, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from LoggingStatement to ArrowAssoc[LoggingStatement] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Statement

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LoggingStatement to any2stringadd[LoggingStatement]

Inherited by implicit conversion StringFormat from LoggingStatement to StringFormat[LoggingStatement]

Inherited by implicit conversion Ensuring from LoggingStatement to Ensuring[LoggingStatement]

Inherited by implicit conversion ArrowAssoc from LoggingStatement to ArrowAssoc[LoggingStatement]

Ungrouped