ru.johnspade.csv3s.codecs

Members list

Concise view

Type members

Classlikes

enum DecodeError(msg: String) extends ReadError

Parent type for all errors that can occur while decoding CSV data.

Parent type for all errors that can occur while decoding CSV data.

Attributes

Graph
Supertypes
trait Enum
class ReadError
class Error
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
trait Decoder[E, D, F]

Type class for types that can be decoded from other types.

Type class for types that can be decoded from other types.

Attributes

D

decoded type - what to decode to.

E

encoded type - what to decode from.

F

failure type - how to represent errors.

Graph
Supertypes
class Object
trait Matchable
class Any
trait Encoder[E, D]

Type class for types that can be encoded into others.

Type class for types that can be encoded into others.

Attributes

D

decoded type - what to encode from.

E

encoded type - what to encode to.

Graph
Supertypes
class Object
trait Matchable
class Any
abstract class Error(message: String) extends Exception with Product with Serializable

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object instances.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object instances.type
enum ParseError(msg: String) extends ReadError

Parent type for all errors that can occur while parsing CSV data.

Parent type for all errors that can occur while parsing CSV data.

Attributes

Graph
Supertypes
trait Enum
class ReadError
class Error
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
case IOError
sealed abstract class ReadError(msg: String) extends Error

Parent type for all errors that can occur while dealing with CSV data.

Parent type for all errors that can occur while dealing with CSV data.

ReadError is split into two main error types:

  • DecodeError: errors that occur while decoding a cell or a row.
  • ParseError: errors that occur while parsing raw data into CSV.

Attributes

Graph
Supertypes
class Error
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object RowDecoder extends ProductDerivation[RowDecoder]

Attributes

Graph
Supertypes
trait ProductDerivation[RowDecoder]
trait CommonDerivation[RowDecoder]
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object instances.type
object RowEncoder extends ProductDerivation[RowEncoder]

Attributes

Graph
Supertypes
trait ProductDerivation[RowEncoder]
trait CommonDerivation[RowEncoder]
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object instances.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Types

type DecodeResult[A] = Either[DecodeError, A]
type FieldEncoder[A] = Encoder[Field, A]
type RowEncoder[A] = Encoder[Row, A]
type StringDecoder[A] = Decoder[String, A, DecodeError]
type StringEncoder[A] = Encoder[String, A]