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
Statement, AutoCloseable, Wrapper, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggingStatement(st: Statement)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to ArrowAssoc[LoggingStatement] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def addBatch(sql: String): Unit

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

    Definition Classes
    Any
  10. def cancel(): Unit

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

    Definition Classes
    LoggingStatement → Statement
  12. def clearWarnings(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    LoggingStatement → Statement
  27. def executeQuery(sql: String): ResultSet

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

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

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  34. final def getClass(): Class[_]

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

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

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

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

    Definition Classes
    LoggingStatement → Statement
  39. def getMaxFieldSize(): Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  54. def isPoolable(): Boolean

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

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

    Attributes
    protected[this]
    Annotations
    @inline()
  57. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  58. final def notify(): Unit

    Definition Classes
    AnyRef
  59. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  60. def setCursorName(name: String): Unit

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

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

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

    Definition Classes
    LoggingStatement → Statement
  64. def setMaxFieldSize(max: Int): Unit

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

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

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

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

    Definition Classes
    AnyRef
  69. def toString(): String

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

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

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

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

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

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingStatement: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingStatement: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: LoggingStatement

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to ArrowAssoc[LoggingStatement] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingStatement: ArrowAssoc[LoggingStatement]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: LoggingStatement

    Implicit information
    This member is added by an implicit conversion from LoggingStatement to Ensuring[LoggingStatement] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingStatement: Ensuring[LoggingStatement]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Statement

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LoggingStatement to StringAdd

Inherited by implicit conversion any2stringfmt from LoggingStatement to StringFormat

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

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

Ungrouped