Trait

doobie.util.meta

AdvancedMeta

Related Doc: package meta

Permalink

sealed trait AdvancedMeta[A] extends Meta[A]

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.

Self Type
AdvancedMeta[A]
Source
meta.scala
Linear Supertypes
Meta[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdvancedMeta
  2. Meta
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def jdbcSource: NonEmptyList[JdbcType]

    Permalink

    Source JDBC types from which values of type A can be read.

    Source JDBC types from which values of type A can be read.

    Definition Classes
    Meta
  2. abstract def jdbcTarget: NonEmptyList[JdbcType]

    Permalink

    Destination JDBC types to which values of type A can be written.

    Destination JDBC types to which values of type A can be written.

    Definition Classes
    Meta
  3. abstract def scalaType: String

    Permalink

    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.

    Definition Classes
    Meta
  4. abstract val schemaTypes: NonEmptyList[String]

    Permalink

    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.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def canReadFrom(jdbc: JdbcType, schema: String): Boolean

    Permalink

    True if A can be read from a column or 'out' parameter with the specified JdbcType and schema types.

  6. def canWriteTo(jdbc: JdbcType, schema: String): Boolean

    Permalink

    True if A can be written to a column or 'in' parameter with the specified JdbcType and schema types.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fold[B](f: (BasicMeta[A]) ⇒ B, g: (AdvancedMeta[A]) ⇒ B): B

    Permalink

    Switch on the flavor of this Meta.

    Switch on the flavor of this Meta.

    Definition Classes
    AdvancedMetaMeta
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def unsafeGetNonNullable(rs: ResultSet, n: Int): A

    Permalink
    Definition Classes
    Meta
  21. final def unsafeGetNullable(rs: ResultSet, n: Int): Option[A]

    Permalink
    Definition Classes
    Meta
  22. final def unsafeSetNonNullable(ps: PreparedStatement, n: Int, a: A): Unit

    Permalink
    Definition Classes
    Meta
    Annotations
    @SuppressWarnings()
  23. final def unsafeSetNull(ps: PreparedStatement, n: Int): Unit

    Permalink
    Definition Classes
    Meta
  24. final def unsafeSetNullable(ps: PreparedStatement, n: Int, oa: Option[A]): Unit

    Permalink
    Definition Classes
    Meta
  25. final def unsafeUpdateNonNullable(rs: ResultSet, n: Int, a: A): Unit

    Permalink
    Definition Classes
    Meta
    Annotations
    @SuppressWarnings()
  26. final def unsafeUpdateNullable(rs: ResultSet, n: Int, oa: Option[A]): Unit

    Permalink
    Definition Classes
    Meta
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def xmap[B](f: (A) ⇒ B, g: (B) ⇒ A)(implicit ev: scala.reflect.api.JavaUniverse.TypeTag[B]): Meta[B]

    Permalink

    Invariant map.

    Invariant map.

    Definition Classes
    AdvancedMetaMeta
    Annotations
    @SuppressWarnings()

Deprecated Value Members

  1. def nxmap[B >: Null](f: (A) ⇒ B, g: (B) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B], ev: <:<[Null, A]): Meta[B]

    Permalink

    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.

    Definition Classes
    Meta
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.2) Null is no longer observable here; just use xmap.

Inherited from Meta[A]

Inherited from AnyRef

Inherited from Any

Ungrouped