scala.slick.jdbc

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
JdbcType[T]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JdbcType
  2. TypedType
  3. Type
  4. AnyRef
  5. Any
  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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

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

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

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

  17. final def notify(): Unit

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

    Definition Classes
    AnyRef
  19. def nullable: Boolean

  20. def optionType: OptionTypedType[T] with JdbcType[Option[T]]

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

    Definition Classes
    Type
  22. def structural: Type

    The structural view of this type

    The structural view of this type

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TypedType[T]

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped