analysis

doobie.util.analysis
object analysis

Module defining a type for analyzing the type alignment of prepared statements.

Attributes

Source
analysis.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
analysis.type

Members list

Type members

Classlikes

sealed trait AlignmentError extends Product, Serializable

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class Analysis(driver: String, sql: String, parameterAlignment: List[Ior[(Put[_], NullabilityKnown), ParameterMeta]], columnAlignment: List[Ior[(Get[_], NullabilityKnown), ColumnMeta]])

Compatibility analysis for the given statement and aligned mappings.

Compatibility analysis for the given statement and aligned mappings.

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ColumnMeta(jdbcType: JdbcType, vendorTypeName: String, nullability: Nullability, name: String)

Metadata for the JDBC end of a column/parameter mapping.

Metadata for the JDBC end of a column/parameter mapping.

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ColumnMisalignment(index: Int, alignment: Either[(Get[_], NullabilityKnown), ColumnMeta]) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ColumnTypeError(index: Int, get: Get[_], n: NullabilityKnown, schema: ColumnMeta) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ColumnTypeWarning(index: Int, get: Get[_], n: NullabilityKnown, schema: ColumnMeta) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NullabilityMisalignment(index: Int, name: String, st: Option[String], jdk: NullabilityKnown, jdbc: NullabilityKnown) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ParameterMeta(jdbcType: JdbcType, vendorTypeName: String, nullability: Nullability, mode: ParameterMode)

Metadata for the JDBC end of a column/parameter mapping.

Metadata for the JDBC end of a column/parameter mapping.

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ParameterMisalignment(index: Int, alignment: Option[ParameterMeta]) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ParameterTypeError(index: Int, put: Put[_], n: NullabilityKnown, jdbcType: JdbcType, vendorTypeName: String) extends AlignmentError

Attributes

Source
analysis.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all