tabulate

CellCodec

trait CellCodec[A] extends CellDecoder[A] with CellEncoder[A]

Combines CellDecoder and CellEncoder.

Instance for types that already have a CellDecoder and CellEncoder are derived automatically.

Linear Supertypes
CellEncoder[A], CellDecoder[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CellCodec
  2. CellEncoder
  3. CellDecoder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def decode(s: String): DecodeResult[A]

    Turns the content of a CSV cell into an A.

    Turns the content of a CSV cell into an A.

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  2. abstract def encode(a: A): String

    Turns the specified A into a CSV cell.

    Turns the specified A into a CSV cell.

    Definition Classes
    CellEncoder
    Annotations
    @op( "asCsvCell" , simulacrum.this.op.<init>$default$2 )

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contramap[B](f: (B) ⇒ A): CellEncoder[B]

    Turns a CellEncoder[A] into a CellEncoder[B].

    Turns a CellEncoder[A] into a CellEncoder[B].

    This allows developers to adapt existing instance of CellDecoder rather than write new ones.

    Definition Classes
    CellEncoder
    Annotations
    @noop()
  9. def decode(ss: Seq[String], index: Int): DecodeResult[A]

    Turns the content of the specified cell into an A.

    Turns the content of the specified cell into an A.

    The purpose of this method is to protect against index out of bound exceptions. Should the specified index not exist, a DecodeResult.DecodeFailure instance will be returned.

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[B](f: (A) ⇒ CellDecoder[B]): CellDecoder[B]

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. def map[B](f: (A) ⇒ B): CellDecoder[B]

    Turns an instance of CellDecoder[A] into one of CellDecoder[B].

    Turns an instance of CellDecoder[A] into one of CellDecoder[B].

    This allows developers to adapt existing instances of CellDecoder rather than write one from scratch.

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. def unsafeDecode(ss: Seq[String], index: Int): A

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  24. def unsafeDecode(s: String): A

    Definition Classes
    CellDecoder
    Annotations
    @noop()
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CellEncoder[A]

Inherited from CellDecoder[A]

Inherited from AnyRef

Inherited from Any

Ungrouped