Switch on the flavor of this Meta
.
Source JDBC types from which values of type A
can be read.
Destination JDBC types to which values of type A
can be written.
Name of the Scala type, for diagnostic purposes.
Name of the Scala type, for diagnostic purposes. Smart constructors require a TypeTag
to
guarantee this value is correct.
Constructor for a setXXX
operation for a given A
at a given index.
Constructor for a setNull
operation for the primary JDBC type, at a given index.
Unsafe direct JDBC get
operation for optimized reads.
Constructor for an updateXXX
operation for a given A
at a given index.
Invariant map (note that you must handle null
; see nxmap
).
Invariant map (note that you must handle null
; see nxmap
). Meta
is
not quite an invariant functor because of the tag constraint, but I think it's worth the
sacrifice because we get much better diagnostic information as a result.
Constructor for a getXXX
operation for type A
at a given index.
Invariant map with null
handling, for A, B >: Null
; the functions f
and g
will
never be passed a null
value.
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.