Packages

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]

    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]

    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
  4. sealed abstract class Meta [A] extends AnyRef

    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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. object Meta extends LowPriorityImplicits with MetaInstances

    Constructors, accessors, and typeclass instances.

Inherited from AnyRef

Inherited from Any

Ungrouped