Switch on the flavor of this Meta
.
Switch on the flavor of this Meta
.
Source JDBC types from which values of type A
can be read.
Source JDBC types from which values of type A
can be read.
Destination JDBC types to which values of type A
can be written.
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.
List of schema types to which values of type A
can be written and from which they can be
read.
List of schema types to which values of type A
can be written and from which they can be
read. Databases will often have several names for the same type, and the JDBC driver may
report an alias that doesn't appear in the schema or indeed in the database documentation.
This field is therefore a list.
Constructor for a setXXX
operation for a given A
at a given index.
Constructor for a setXXX
operation for a given A
at a given index.
Unsafe direct JDBC get
operation for optimized reads.
Unsafe direct JDBC get
operation for optimized reads.
Constructor for an updateXXX
operation for a given A
at a given index.
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.
True if A
can be read from a column or 'out' parameter with the specified JdbcType
and
schema types.
True if A
can be written to a column or 'in' parameter with the specified JdbcType
and
schema types.
Constructor for a getXXX
operation for type A
at a given index.
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.
Invariant map with null
handling, for A, B >: Null
; the functions f
and g
will
never be passed a null
value.
Constructor for a setNull
operation for the primary JDBC type, at a given index.
Constructor for a setNull
operation for the primary JDBC type, at a given index.
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.