RowDecoder

fs2.data.csv.RowDecoder
object RowDecoder

Describes how a row can be decoded to the given type.

RowDecoder provides convenient methods such as map, emap, or flatMap to build new decoders out of more basic one.

Actually, RowDecoder has a cats MonadError instance. To get the full power of it, import cats.syntax.all._.

Attributes

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

Members list

Value members

Concrete methods

def apply[T : RowDecoder]: RowDecoder[T]

Attributes

Source
RowDecoder.scala
def instance[T](f: Row => DecoderResult[T]): RowDecoder[T]

Attributes

Source
RowDecoder.scala