type DecodeResult[A] = Either[DecodeError, A]
Result of a decode operation.
The difference between a parse and a decode result is that the former comes from reading raw data and trying to interpret it as CSV, while the later comes from turning CSV data into useful Scala types.
Failure cases are all encoded as DecodeError.
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DecodeResult
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def canEqual(that: Any): Boolean
- Definition Classes
- Equals
- abstract def isLeft: Boolean
- Definition Classes
- Either
- abstract def isRight: Boolean
- Definition Classes
- Either
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contains[B1 >: B](elem: B1): Boolean
- Definition Classes
- Either
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(p: (B) => Boolean): Boolean
- Definition Classes
- Either
- def filterOrElse[A1 >: A](p: (B) => Boolean, zero: => A1): Either[A1, B]
- Definition Classes
- Either
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[A1 >: A, B1](f: (B) => Either[A1, B1]): Either[A1, B1]
- Definition Classes
- Either
- def flatten[A1 >: A, B1](implicit ev: <:<[B, Either[A1, B1]]): Either[A1, B1]
- Definition Classes
- Either
- def fold[C](fa: (A) => C, fb: (B) => C): C
- Definition Classes
- Either
- def forall(f: (B) => Boolean): Boolean
- Definition Classes
- Either
- def foreach[U](f: (B) => U): Unit
- Definition Classes
- Either
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[B1 >: B](or: => B1): B1
- Definition Classes
- Either
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def joinLeft[A1 >: A, B1 >: B, C](implicit ev: <:<[A1, Either[C, B1]]): Either[C, B1]
- Definition Classes
- Either
- def joinRight[A1 >: A, B1 >: B, C](implicit ev: <:<[B1, Either[A1, C]]): Either[A1, C]
- Definition Classes
- Either
- def left: LeftProjection[A, B]
- Definition Classes
- Either
- def map[B1](f: (B) => B1): Either[A, B1]
- Definition Classes
- Either
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[A1 >: A, B1 >: B](or: => Either[A1, B1]): Either[A1, B1]
- Definition Classes
- Either
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def swap: Either[B, A]
- Definition Classes
- Either
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOption: Option[B]
- Definition Classes
- Either
- def toSeq: Seq[B]
- Definition Classes
- Either
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toTry(implicit ev: <:<[A, Throwable]): Try[B]
- Definition Classes
- Either
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def right: RightProjection[A, B]
- Definition Classes
- Either
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Either is now right-biased, use methods directly on Either