Packages

abstract class MappedJdbcType[T, U] extends JdbcType[T]

Source
JdbcTypesComponent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MappedJdbcType
  2. JdbcType
  3. BaseTypedType
  4. AtomicType
  5. TypedType
  6. Type
  7. Dumpable
  8. AnyRef
  9. 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 MappedJdbcType()(implicit tmd: JdbcType[U], classTag: ClassTag[T])

Abstract Value Members

  1. abstract def comap(u: U): T
  2. abstract def map(t: T): U

Concrete 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 JdbcProfile.MappedJdbcType[T, U] toany2stringadd[JdbcProfile.MappedJdbcType[T, U]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JdbcProfile.MappedJdbcType[T, U], B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toArrowAssoc[JdbcProfile.MappedJdbcType[T, U]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def children: ConstArray[Nothing]

    All children of this Type.

    All children of this Type.

    Definition Classes
    AtomicTypeType
  8. final def childrenForeach[R](f: (Type) => R): Unit

    Apply a side-effecting function to all children.

    Apply a side-effecting function to all children.

    Definition Classes
    AtomicTypeType
  9. implicit val classTag: ClassTag[T]

    A ClassTag for the erased type of this type's Scala values

    A ClassTag for the erased type of this type's Scala values

    Definition Classes
    MappedJdbcTypeType
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def ensuring(cond: (JdbcProfile.MappedJdbcType[T, U]) => Boolean, msg: => Any): JdbcProfile.MappedJdbcType[T, U]
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toEnsuring[JdbcProfile.MappedJdbcType[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (JdbcProfile.MappedJdbcType[T, U]) => Boolean): JdbcProfile.MappedJdbcType[T, U]
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toEnsuring[JdbcProfile.MappedJdbcType[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): JdbcProfile.MappedJdbcType[T, U]
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toEnsuring[JdbcProfile.MappedJdbcType[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): JdbcProfile.MappedJdbcType[T, U]
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toEnsuring[JdbcProfile.MappedJdbcType[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(o: Any): Boolean
    Definition Classes
    MappedJdbcType → AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def getDumpInfo: DumpInfo

    Return the name, main info, attribute info and named children

    Return the name, main info, attribute info and named children

    Definition Classes
    TypeDumpable
  19. def getValue(r: ResultSet, idx: Int): T

    Get a result column of the type.

    Get a result column of the type. For reference types, SQL NULL values are returned as null, for primitive types a default value is returned.

    Definition Classes
    MappedJdbcTypeJdbcType
  20. 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 profile-specific subclasses thereof) uses this method to treat LiteralNodes as volatile (i.e. using bind variables) as needed.

    Definition Classes
    MappedJdbcTypeJdbcType
  21. def hashCode(): Int
    Definition Classes
    MappedJdbcType → AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def mapChildren(f: (Type) => Type): MappedJdbcType.this.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
    AtomicTypeType
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def newHasLiteralForm: Option[Boolean]
  26. def newSqlType: Option[Int]
  27. def newSqlTypeName(size: Option[FieldSymbol]): Option[String]
  28. def newValueToSQLLiteral(value: T): Option[String]
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def optionType: OptionTypedType[T]
    Definition Classes
    TypedType
  32. def scalaType: ScalaBaseType[T]
    Definition Classes
    MappedJdbcTypeTypedType
  33. def select(sym: TermSymbol): Type
    Definition Classes
    Type
  34. def setNull(p: PreparedStatement, idx: Int): Unit

    Set a parameter of the type to NULL.

    Set a parameter of the type to NULL.

    Definition Classes
    MappedJdbcTypeJdbcType
  35. final def setOption(v: Option[T], p: PreparedStatement, idx: Int): Unit

    Set an Option parameter of the type.

    Set an Option parameter of the type.

    Definition Classes
    JdbcType
  36. def setValue(v: T, p: PreparedStatement, idx: Int): Unit

    Set a parameter of the type.

    Set a parameter of the type.

    Definition Classes
    MappedJdbcTypeJdbcType
  37. def sqlType: Int

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

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

    Definition Classes
    MappedJdbcTypeJdbcType
  38. def sqlTypeName(sym: Option[FieldSymbol]): String

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

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

    Definition Classes
    MappedJdbcTypeJdbcType
  39. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  40. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. implicit val tmd: JdbcType[U]
  43. def toString(): String
    Definition Classes
    MappedJdbcTypeJdbcType → AnyRef → Any
  44. def updateNull(r: ResultSet, idx: Int): Unit

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

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

    Definition Classes
    JdbcType
  45. def updateValue(v: T, r: ResultSet, idx: Int): Unit

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

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

    Definition Classes
    MappedJdbcTypeJdbcType
  46. 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.

    Definition Classes
    MappedJdbcTypeJdbcType
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def wasNull(r: ResultSet, idx: Int): Boolean

    Check if the value returned by the immediately preceding call to getValue() was NULL.

    Check if the value returned by the immediately preceding call to getValue() was NULL.

    Definition Classes
    MappedJdbcTypeJdbcType

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toStringFormat[JdbcProfile.MappedJdbcType[T, U]] 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): (JdbcProfile.MappedJdbcType[T, U], B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.MappedJdbcType[T, U] toArrowAssoc[JdbcProfile.MappedJdbcType[T, U]] 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 JdbcType[T]

Inherited from BaseTypedType[T]

Inherited from AtomicType

Inherited from TypedType[T]

Inherited from Type

Inherited from Dumpable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromJdbcProfile.MappedJdbcType[T, U] to any2stringadd[JdbcProfile.MappedJdbcType[T, U]]

Inherited by implicit conversion StringFormat fromJdbcProfile.MappedJdbcType[T, U] to StringFormat[JdbcProfile.MappedJdbcType[T, U]]

Inherited by implicit conversion Ensuring fromJdbcProfile.MappedJdbcType[T, U] to Ensuring[JdbcProfile.MappedJdbcType[T, U]]

Inherited by implicit conversion ArrowAssoc fromJdbcProfile.MappedJdbcType[T, U] to ArrowAssoc[JdbcProfile.MappedJdbcType[T, U]]

Ungrouped