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 StringFormat
  2. by Ensuring
  3. 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 ->[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()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def children: ConstArray[Nothing]

    All children of this Type.

    All children of this Type.

    Definition Classes
    AtomicTypeType
  7. 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
  8. 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
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. 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
  11. 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
  12. 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
  13. 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
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(o: Any): Boolean
    Definition Classes
    MappedJdbcType → AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. 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
  18. 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
  19. 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
  20. def hashCode(): Int
    Definition Classes
    MappedJdbcType → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. 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
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def newHasLiteralForm: Option[Boolean]
  25. def newSqlType: Option[Int]
  26. def newSqlTypeName(size: Option[FieldSymbol]): Option[String]
  27. def newValueToSQLLiteral(value: T): Option[String]
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def optionType: OptionTypedType[T]
    Definition Classes
    TypedType
  31. def scalaType: ScalaBaseType[T]
    Definition Classes
    MappedJdbcTypeTypedType
  32. def select(sym: TermSymbol): Type
    Definition Classes
    Type
  33. 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
  34. 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
  35. def setValue(v: T, p: PreparedStatement, idx: Int): Unit

    Set a parameter of the type.

    Set a parameter of the type.

    Definition Classes
    MappedJdbcTypeJdbcType
  36. 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
  37. 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
  38. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  39. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. implicit val tmd: JdbcType[U]
  42. def toString(): String
    Definition Classes
    MappedJdbcTypeJdbcType → AnyRef → Any
  43. 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
  44. 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
  45. 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
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. 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 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