Object

doobie.util

meta

Related Doc: package util

Permalink

object meta

Module defining the lowest level of column mapping.

Source
meta.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. meta
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AdvancedMeta[A] extends Meta[A]

    Permalink

    Meta for "advanced" JDBC types as defined by the specification.

    Meta for "advanced" JDBC types as defined by the specification. These include Array, JavaObject, Struct, and other types that require driver, schema, or vendor-specific knowledge and are unlikely to be portable between vendors (or indeed between applications). These mappings require (in addition to matching JDBC types) matching driver, schema, or vendor-specific data types, sadly given as Strings in JDBC.

  2. sealed trait BasicMeta[A] extends Meta[A]

    Permalink

    Meta for "basic" JDBC types as defined by the specification.

    Meta for "basic" JDBC types as defined by the specification. These include the basic numeric and text types with distinct get/setXXX methods and fixed mappings that ostensibly work for all compliant drivers. These types defined both "recommended" source types (jdbcSource here) and "supported" types (jdbcSourceSecondary) which drivers must not reject outright, although in many cases coercion failures are likely (reading an Int from a VarChar for instance) so these mappings should be viewed with suspicion.

  3. trait LowPriorityImplicits extends AnyRef

    Permalink
  4. sealed abstract class Meta[A] extends AnyRef

    Permalink

    Metadata defining the column-level mapping to and from Scala type A.

    Metadata defining the column-level mapping to and from Scala type A. A given Scala type might be read from or written to columns with a variety of JDBC and/or vendor-specific types, depending on supported coercions and luck.

    Reading and writing values to JDBC is asymmetric with respect to null, is complicated by unboxed types, and is not consistent with idiomatic Scala; so some discussion is required. Scala values should never be null. Setting a NULL JDBC value is accomplished via the setNull operation. Similarly when getting a JDBC value we must subsequently ask .wasNull on the JDBC resource and decide how to handle the value. The Atom typeclass takes care of mapping nullable values to Option so these issues should not be a concern for casual users.

    Annotations
    @implicitNotFound( ... )
  5. trait MetaInstances extends AnyRef

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Meta extends LowPriorityImplicits with MetaInstances

    Permalink

    Constructors, accessors, and typeclass instances.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped