object meta
- Alphabetic
- By Inheritance
- meta
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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 includeArray
,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 asString
s in JDBC. -
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 distinctget/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 anInt
from aVarChar
for instance) so these mappings should be viewed with suspicion. - trait LowPriorityImplicits extends AnyRef
-
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 benull
. Setting aNULL
JDBC value is accomplished via thesetNull
operation. Similarly when getting a JDBC value we must subsequently ask.wasNull
on the JDBC resource and decide how to handle the value. TheAtom
typeclass takes care of mapping nullable values toOption
so these issues should not be a concern for casual users.- Annotations
- @implicitNotFound( ... )
- trait MetaInstances extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
Meta
extends LowPriorityImplicits with MetaInstances
Constructors, accessors, and typeclass instances.