tabulate

CellDecoder

object CellDecoder extends LowPriorityCellDecoders

Defines convenience methods for creating and retrieving instances of CellDecoder.

Implicit default implementations of standard types are also declared here, always bringing them in scope with a low priority.

These default implementations can also be useful when writing more complex instances: if you need to write a CellDecoder[B] and have both a CellDecoder[A] and a A => B, you need just use CellDecoder.map to create your implementation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CellDecoder
  2. LowPriorityCellDecoders
  3. $3$
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AllOps[A] extends Ops[A]

  2. trait Ops[A] extends AnyRef

  3. trait ToCellDecoderOps extends AnyRef

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. implicit def $1$[$2$]: CellDecoder[$2$]

    Definition Classes
    LowPriorityCellDecoders
    Annotations
    @macroImpl( ... )
  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. def apply[A](implicit instance: CellDecoder[A]): CellDecoder[A]

  8. def apply[A](f: (String) ⇒ DecodeResult[A]): CellDecoder[A]

    Creates a new instance of CellDecoder that uses the specified function to parse data.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. implicit val bigDec: CellDecoder[BigDecimal]

    Turns a cell into a BigDecimal value.

  11. implicit val bigInt: CellDecoder[BigInt]

    Turns a cell into a BigInt value.

  12. implicit val bool: CellDecoder[Boolean]

    Turns a cell into a Boolean value.

  13. implicit val byte: CellDecoder[Byte]

    Turns a cell into a Byte value.

  14. implicit val char: CellDecoder[Char]

    Turns a cell into a Char value.

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. implicit val double: CellDecoder[Double]

    Turns a cell into a Double value.

  17. implicit def either[A, B](implicit da: CellDecoder[A], db: CellDecoder[B]): CellDecoder[Either[A, B]]

    Turns a cell into an instance of Either[A, B], provided A and B have an implicit CellDecoder in scope.

    Turns a cell into an instance of Either[A, B], provided A and B have an implicit CellDecoder in scope.

    This is done by first attempting to parse the cell as an A. If that fails, we'll try parsing it as a B. If that fails as well, DecodeResult.DecodeFailure will be returned.

  18. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. implicit val float: CellDecoder[Float]

    Turns a cell into a Float value.

  22. def fromUnsafe[A](f: (String) ⇒ A): CellDecoder[A]

  23. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  25. implicit val int: CellDecoder[Int]

    Turns a cell into an Int value.

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. implicit val long: CellDecoder[Long]

    Turns a cell into a Long value.

  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. object ops

  32. implicit def opt[A](implicit da: CellDecoder[A]): CellDecoder[Option[A]]

    Turns a cell into an instance of Option[A], provided A has an implicit CellDecoder in scope.

    Turns a cell into an instance of Option[A], provided A has an implicit CellDecoder in scope.

    Any non-empty string will map to Some, the empty string to None.

  33. implicit val short: CellDecoder[Short]

    Turns a cell into a Short value.

  34. implicit val string: CellDecoder[String]

    Turns a cell into a String value.

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. implicit val uuid: CellDecoder[UUID]

    Turns a cell into a UUID value.

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LowPriorityCellDecoders

Inherited from $3$

Inherited from AnyRef

Inherited from Any

Ungrouped