ZioCsvReader

ceesvee.zio.ZioCsvReader$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def decode[T](options: Options)(implicit D: CsvRecordDecoder[T], trace: Trace): ZPipeline[Any, Error, String, Either[Errors, T]]

Turns a stream of strings into a stream of decoded CSV records.

Turns a stream of strings into a stream of decoded CSV records.

Attributes

def decodeWithHeader[R, E, T](stream: ZStream[R, E, String], header: CsvHeader[T], options: Options)(implicit trace: Trace): ZIO[Scope & R, Either[Either[E, Error], MissingHeaders], ZStream[R, Either[E, Error], Either[Errors, T]]]

Turns a stream of strings into a stream of decoded CSV records.

Turns a stream of strings into a stream of decoded CSV records.

CSV lines are reordered based on the given headers.

Attributes