Trait

kantan.csv

CellCodecInstances

Related Doc: package csv

Permalink

trait CellCodecInstances extends CellEncoderInstances with CellDecoderInstances

All default CellCodec instances.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CellCodecInstances
  2. CellDecoderInstances
  3. CellEncoderInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. implicit def cellDecoderEither[A, B](implicit arg0: CellDecoder[A], arg1: CellDecoder[B]): CellDecoder[Either[A, B]]

    Permalink

    Provides an instance of CellDecoder[Either[A, B]] for any type A and B that have instances of CellDecoder.

    Provides an instance of CellDecoder[Either[A, B]] for any type A and B that have instances of CellDecoder.

    Definition Classes
    CellDecoderInstances
    Example:
    1. // Left value
      scala> CellDecoder[Either[Int, Boolean]].decode("123")
      res1: DecodeResult[Either[Int, Boolean]] = Right(Left(123))
      // Right value
      scala> CellDecoder[Either[Int, Boolean]].decode("true")
      res2: DecodeResult[Either[Int, Boolean]] = Right(Right(true))
  6. implicit def cellDecoderOpt[A](implicit arg0: CellDecoder[A]): CellDecoder[Option[A]]

    Permalink

    Provides an instance of CellDecoder[Option[A]] for any type A that has an instance of CellDecoder.

    Provides an instance of CellDecoder[Option[A]] for any type A that has an instance of CellDecoder.

    Definition Classes
    CellDecoderInstances
    Example:
    1. // Non-empty value
      scala> CellDecoder[Option[Int]].decode("123")
      res1: DecodeResult[Option[Int]] = Right(Some(123))
      // Empty value
      scala> CellDecoder[Option[Int]].decode("")
      res2: DecodeResult[Option[Int]] = Right(None)
  7. implicit def cellEncoderOpt[A](implicit arg0: CellEncoder[A]): CellEncoder[Option[A]]

    Permalink

    Provides an instance of CellEncoder[Option[A]] for any type A that has an instance of CellEncoder.

    Provides an instance of CellEncoder[Option[A]] for any type A that has an instance of CellEncoder.

    Definition Classes
    CellEncoderInstances
    Example:
    1. Some encoding
      scala> CellEncoder[Option[Int]].encode(Some(123))
      res1: String = 123
      // None encoding
      scala> CellEncoder[Option[Int]].encode(None)
      res2: String = ""
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit def eitherCellEncoder[A, B](implicit arg0: CellEncoder[A], arg1: CellEncoder[B]): CellEncoder[Either[A, B]]

    Permalink

    Provides an instance of CellEncoder[Either[A, B]] for any type A and B that have instances of CellEncoder.

    Provides an instance of CellEncoder[Either[A, B]] for any type A and B that have instances of CellEncoder.

    Definition Classes
    CellEncoderInstances
    Example:
    1. // Left encoding
      scala> CellEncoder[Either[Int, Boolean]].encode(Left(123))
      res1: String = 123
      // Right encoding
      scala> CellEncoder[Either[Int, Boolean]].encode(Right(true))
      res2: String = true
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. implicit def fromStringDecoder[A](implicit arg0: StringDecoder[A]): CellDecoder[A]

    Permalink

    Turns existing StringDecoder instances into CellDecoder ones.

    Turns existing StringDecoder instances into CellDecoder ones.

    This provides support for most basic Scala types.

    Definition Classes
    CellDecoderInstances
    Example:
    1. scala> CellDecoder[Int].decode("123")
      res1: DecodeResult[Int] = Right(123)
  14. implicit def fromStringEncoder[A](implicit arg0: StringEncoder[A]): CellEncoder[A]

    Permalink

    Turns existing StringEncoder instances into CellEncoder ones.

    Turns existing StringEncoder instances into CellEncoder ones.

    This provides support for most basic Scala types.

    Definition Classes
    CellEncoderInstances
    Example:
    1. CellEncoder[Int].encode(123)
      res1: String = 123
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CellDecoderInstances

Inherited from CellEncoderInstances

Inherited from AnyRef

Inherited from Any

Ungrouped