trait RowCodecInstances extends RowEncoderInstances with RowDecoderInstances
Ordering
- Alphabetic
- By Inheritance
Inherited
- RowCodecInstances
- RowDecoderInstances
- RowEncoderInstances
- VersionSpecificRowEncoderInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def fromCellDecoder[A](implicit arg0: CellDecoder[A]): RowDecoder[A]
Turns a CellDecoder into a RowDecoder, for rows that contain a single value.
Turns a CellDecoder into a RowDecoder, for rows that contain a single value.
This provides default behaviour for RowDecoder.field by decoding the first cell.
- Definition Classes
- RowDecoderInstances
RowDecoder[Int].decode(Seq("123", "456", "789")) res1: DecodeResult[Int] = Right(123)
Example: - implicit def fromCellEncoder[A](implicit arg0: CellEncoder[A]): RowEncoder[A]
Turns a CellEncoder into a RowEncoder, for rows that contain a single value.
Turns a CellEncoder into a RowEncoder, for rows that contain a single value.
scala> RowEncoder[Int].encode(123) res1: Seq[String] = List(123)
- Definition Classes
- RowEncoderInstances
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def hasBuilderRowDecoder[A, F[_]](implicit arg0: CellDecoder[A], hb: Factory[A, F[A]]): RowDecoder[F[A]]
Provides a RowDecoder instance for all types that have an
Factory
, provided the inner type has a CellDecoder.Provides a RowDecoder instance for all types that have an
Factory
, provided the inner type has a CellDecoder.- Definition Classes
- RowDecoderInstances
RowDecoder[List[Int]].decode(Seq("123", "456", "789")) res1: DecodeResult[List[Int]] = Right(List(123, 456, 789))
Example: - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def iterable[A, M[X] <: IterableOnce[X]](implicit arg0: CellEncoder[A]): RowEncoder[M[A]]
Provides a RowEncoder instance for all traversable collections.
Provides a RowEncoder instance for all traversable collections.
List
, for example:scala> RowEncoder[List[Int]].encode(List(123, 456, 789)) res1: Seq[String] = List(123, 456, 789)
- Definition Classes
- VersionSpecificRowEncoderInstances
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()