OptionalDecoder

oxygen.sql.schema.ResultDecoder.OptionalDecoder
final case class OptionalDecoder[A](inner: ResultDecoder[A]) extends ResultDecoder[Option[A]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultDecoder[Option[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def `__decodeInternal`(offset: Int, values: Contiguous[Matchable]): Either[UnableToDecodeRow, Option[A]]

Attributes

Definition Classes

Inherited methods

final def decode(values: Contiguous[Any]): Either[UnableToDecodeRow, Option[A]]

Attributes

Inherited from:
ResultDecoder
final def map[B](ab: Option[A] => B): ResultDecoder[B]

Attributes

Inherited from:
ResultDecoder
final def mapOrFail[B](ab: Option[A] => Either[String, B]): ResultDecoder[B]

Attributes

Inherited from:
ResultDecoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val size: Int