scala.slick.driver.JdbcTypesComponent

JdbcType

trait JdbcType[T] extends TypedType[T]

A JdbcType object represents a Scala type that can be used as a column type in the database. Implicit JdbcTypes for the standard types of a profile are provided by the drivers.

Self Type
JdbcDriver.JdbcType[T]
Source
JdbcTypesComponent.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JdbcType
  2. TypedType
  3. Type
  4. AnyRef
  5. 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

Abstract Value Members

  1. abstract def children: Seq[Type]

    All children of this Type.

    All children of this Type.

    Definition Classes
    Type
  2. abstract def hasLiteralForm: Boolean

    Indicates whether values of this type have a literal representation in SQL statements.

    Indicates whether values of this type have a literal representation in SQL statements. This must return false if valueToSQLLiteral throws a SlickException. QueryBuilder (and driver-specific subclasses thereof) uses this method to treat LiteralNodes as volatile (i.e. using bind variables) as needed.

  3. abstract def mapChildren(f: (Type) ⇒ Type): Type

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Definition Classes
    Type
  4. abstract def nextValue(r: PositionedResult): T

    Get a result column of the type.

  5. abstract def scalaType: ScalaType[T]

    Definition Classes
    TypedType
  6. abstract def setOption(v: Option[T], p: PositionedParameters): Unit

    Set an Option parameter of the type.

  7. abstract def setValue(v: T, p: PositionedParameters): Unit

    Set a parameter of the type.

  8. abstract def sqlType: Int

    The constant from java.

    The constant from java.sql.Types that is used for setting parameters of the type to NULL.

  9. abstract def sqlTypeName: String

    The default name for the SQL type that is used for column declarations.

  10. abstract def updateValue(v: T, r: PositionedResult): Unit

    Update a column of the type in a mutable result set.

  11. abstract def valueToSQLLiteral(value: T): String

    Convert a value to a SQL literal.

    Convert a value to a SQL literal. This should throw a SlickException if hasLiteralForm is false.

Concrete 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 JdbcDriver.JdbcType[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (JdbcDriver.JdbcType[T], B)

    Implicit information
    This member is added by an implicit conversion from JdbcDriver.JdbcType[T] to ArrowAssoc[JdbcDriver.JdbcType[T]] 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (JdbcDriver.JdbcType[T]) ⇒ Boolean, msg: ⇒ Any): JdbcDriver.JdbcType[T]

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  22. def nextOption(r: PositionedResult): Option[T]

  23. def nextValueOrElse(d: ⇒ T, r: PositionedResult): T

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. def nullable: Boolean

  27. def optionType: OptionTypedType[T] with JdbcDriver.JdbcType[Option[T]]

    Definition Classes
    JdbcTypeTypedType
  28. def select(sym: ast.Symbol): Type

    Definition Classes
    Type
  29. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    JdbcType → AnyRef → Any
  32. def updateOption(v: Option[T], r: PositionedResult): Unit

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def [B](y: B): (JdbcDriver.JdbcType[T], B)

    Implicit information
    This member is added by an implicit conversion from JdbcDriver.JdbcType[T] to ArrowAssoc[JdbcDriver.JdbcType[T]] 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 JdbcDriver.JdbcType[T] 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:
    (jdbcType: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcDriver.JdbcType[T] 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:
    (jdbcType: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: JdbcDriver.JdbcType[T]

    Implicit information
    This member is added by an implicit conversion from JdbcDriver.JdbcType[T] to ArrowAssoc[JdbcDriver.JdbcType[T]] 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:
    (jdbcType: ArrowAssoc[JdbcDriver.JdbcType[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: JdbcDriver.JdbcType[T]

    Implicit information
    This member is added by an implicit conversion from JdbcDriver.JdbcType[T] to Ensuring[JdbcDriver.JdbcType[T]] 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:
    (jdbcType: Ensuring[JdbcDriver.JdbcType[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from TypedType[T]

Inherited from Type

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JdbcDriver.JdbcType[T] to StringAdd

Inherited by implicit conversion any2stringfmt from JdbcDriver.JdbcType[T] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from JdbcDriver.JdbcType[T] to ArrowAssoc[JdbcDriver.JdbcType[T]]

Inherited by implicit conversion any2Ensuring from JdbcDriver.JdbcType[T] to Ensuring[JdbcDriver.JdbcType[T]]

Ungrouped