Packages

c

slick.jdbc

LoggingStatement

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
  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. Protected

Instance Constructors

  1. new LoggingStatement(st: Statement)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LoggingStatement toany2stringadd[LoggingStatement] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LoggingStatement, B)
    Implicit
    This member is added by an implicit conversion from LoggingStatement toArrowAssoc[LoggingStatement] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addBatch(sql: String): Unit
    Definition Classes
    LoggingStatement → Statement
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def cancel(): Unit
    Definition Classes
    LoggingStatement → Statement
  9. def clearBatch(): Unit
    Definition Classes
    LoggingStatement → Statement
  10. def clearParamss(): Unit
    Attributes
    protected[this]
  11. def clearWarnings(): Unit
    Definition Classes
    LoggingStatement → Statement
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  13. def close(): Unit
    Definition Classes
    LoggingStatement → Statement → AutoCloseable
  14. def closeOnCompletion(): Unit
    Definition Classes
    LoggingStatement → Statement
  15. def enquoteIdentifier(arg0: String, arg1: Boolean): String
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  16. def enquoteLiteral(arg0: String): String
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  17. def enquoteNCharLiteral(arg0: String): String
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  18. def ensuring(cond: (LoggingStatement) => Boolean, msg: => Any): LoggingStatement
    Implicit
    This member is added by an implicit conversion from LoggingStatement toEnsuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (LoggingStatement) => Boolean): LoggingStatement
    Implicit
    This member is added by an implicit conversion from LoggingStatement toEnsuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: => Any): LoggingStatement
    Implicit
    This member is added by an implicit conversion from LoggingStatement toEnsuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): LoggingStatement
    Implicit
    This member is added by an implicit conversion from LoggingStatement toEnsuring[LoggingStatement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def execute(sql: String): Boolean
    Definition Classes
    LoggingStatement → Statement
  25. def execute(sql: String, autoGeneratedKeys: Int): Boolean
    Definition Classes
    LoggingStatement → Statement
  26. def execute(sql: String, columnIndexes: Array[Int]): Boolean
    Definition Classes
    LoggingStatement → Statement
  27. def execute(sql: String, columnNames: Array[String]): Boolean
    Definition Classes
    LoggingStatement → Statement
  28. def executeBatch(): Array[Int]
    Definition Classes
    LoggingStatement → Statement
  29. def executeLargeBatch(): Array[Long]
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  30. def executeLargeUpdate(arg0: String, arg1: Array[String]): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  31. def executeLargeUpdate(arg0: String, arg1: Array[Int]): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  32. def executeLargeUpdate(arg0: String, arg1: Int): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  33. def executeLargeUpdate(arg0: String): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  34. def executeQuery(sql: String): ResultSet
    Definition Classes
    LoggingStatement → Statement
  35. def executeUpdate(sql: String): Int
    Definition Classes
    LoggingStatement → Statement
  36. def executeUpdate(sql: String, autoGeneratedKeys: Int): Int
    Definition Classes
    LoggingStatement → Statement
  37. def executeUpdate(sql: String, columnIndexes: Array[Int]): Int
    Definition Classes
    LoggingStatement → Statement
  38. def executeUpdate(sql: String, columnNames: Array[String]): Int
    Definition Classes
    LoggingStatement → Statement
  39. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  40. def getConnection(): Connection
    Definition Classes
    LoggingStatement → Statement
  41. def getFetchDirection(): Int
    Definition Classes
    LoggingStatement → Statement
  42. def getFetchSize(): Int
    Definition Classes
    LoggingStatement → Statement
  43. def getGeneratedKeys(): ResultSet
    Definition Classes
    LoggingStatement → Statement
  44. def getLargeMaxRows(): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  45. def getLargeUpdateCount(): Long
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  46. def getMaxFieldSize(): Int
    Definition Classes
    LoggingStatement → Statement
  47. def getMaxRows(): Int
    Definition Classes
    LoggingStatement → Statement
  48. def getMoreResults(): Boolean
    Definition Classes
    LoggingStatement → Statement
  49. def getMoreResults(current: Int): Boolean
    Definition Classes
    LoggingStatement → Statement
  50. def getQueryTimeout(): Int
    Definition Classes
    LoggingStatement → Statement
  51. def getResultSet(): ResultSet
    Definition Classes
    LoggingStatement → Statement
  52. def getResultSetConcurrency(): Int
    Definition Classes
    LoggingStatement → Statement
  53. def getResultSetHoldability(): Int
    Definition Classes
    LoggingStatement → Statement
  54. def getResultSetType(): Int
    Definition Classes
    LoggingStatement → Statement
  55. def getUpdateCount(): Int
    Definition Classes
    LoggingStatement → Statement
  56. def getWarnings(): SQLWarning
    Definition Classes
    LoggingStatement → Statement
  57. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  58. def isCloseOnCompletion(): Boolean
    Definition Classes
    LoggingStatement → Statement
  59. def isClosed(): Boolean
    Definition Classes
    LoggingStatement → Statement
  60. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  61. def isPoolable(): Boolean
    Definition Classes
    LoggingStatement → Statement
  62. def isSimpleIdentifier(arg0: String): Boolean
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  63. def isWrapperFor(iface: Class[_]): Boolean
    Definition Classes
    LoggingStatement → Wrapper
  64. def logged[T](sql: String, what: String = "statement")(f: => T): T
    Attributes
    protected[this]
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  68. def p(idx: Int, tpe: Any, value: Any): Unit

    log a parameter

    log a parameter

    Attributes
    protected[this]
  69. def pushParams(): Unit
    Attributes
    protected[this]
  70. def setCursorName(name: String): Unit
    Definition Classes
    LoggingStatement → Statement
  71. def setEscapeProcessing(enable: Boolean): Unit
    Definition Classes
    LoggingStatement → Statement
  72. def setFetchDirection(direction: Int): Unit
    Definition Classes
    LoggingStatement → Statement
  73. def setFetchSize(rows: Int): Unit
    Definition Classes
    LoggingStatement → Statement
  74. def setLargeMaxRows(arg0: Long): Unit
    Definition Classes
    Statement
    Annotations
    @throws(classOf[java.sql.SQLException])
  75. def setMaxFieldSize(max: Int): Unit
    Definition Classes
    LoggingStatement → Statement
  76. def setMaxRows(max: Int): Unit
    Definition Classes
    LoggingStatement → Statement
  77. def setPoolable(poolable: Boolean): Unit
    Definition Classes
    LoggingStatement → Statement
  78. def setQueryTimeout(seconds: Int): Unit
    Definition Classes
    LoggingStatement → Statement
  79. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  80. def toString(): String
    Definition Classes
    AnyRef → Any
  81. def unwrap[T](iface: Class[T]): T
    Definition Classes
    LoggingStatement → Wrapper
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LoggingStatement toStringFormat[LoggingStatement] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (LoggingStatement, B)
    Implicit
    This member is added by an implicit conversion from LoggingStatement toArrowAssoc[LoggingStatement] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Statement

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromLoggingStatement to any2stringadd[LoggingStatement]

Inherited by implicit conversion StringFormat fromLoggingStatement to StringFormat[LoggingStatement]

Inherited by implicit conversion Ensuring fromLoggingStatement to Ensuring[LoggingStatement]

Inherited by implicit conversion ArrowAssoc fromLoggingStatement to ArrowAssoc[LoggingStatement]

Ungrouped