codecs
Defines default instances for CellEncoder, CellDecoder, RowEncoder and RowDecoder.
Attributes
- Graph
-
- Supertypes
-
trait TupleInstancestrait RowCodecInstancestrait RowDecoderInstancestrait RowEncoderInstancestrait CellCodecInstancestrait CellDecoderInstancestrait CellEncoderInstancesclass Objecttrait Matchableclass AnyShow all
- Self type
-
codecs.type
Members list
Implicits
Inherited implicits
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.
Attributes
- Example
-
// 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))
- Inherited from:
- CellDecoderInstances
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.
Attributes
- Example
-
// 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)
- Inherited from:
- CellDecoderInstances
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.
Attributes
- Example
-
Some encoding scala> CellEncoder[Option[Int]].encode(Some(123)) res1: String = 123 // None encoding scala> CellEncoder[Option[Int]].encode(None) res2: String = ""
- Inherited from:
- CellEncoderInstances
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.
Attributes
- Example
-
// 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
- Inherited from:
- CellEncoderInstances
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.
Attributes
- Example
-
RowDecoder[Int].decode(Seq("123", "456", "789")) res1: DecodeResult[Int] = Right(123)
- Inherited from:
- RowDecoderInstances
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)
Attributes
- Inherited from:
- RowEncoderInstances
Turns existing StringDecoder
instances into CellDecoder ones.
Turns existing StringDecoder
instances into CellDecoder ones.
This provides support for most basic Scala types.
Attributes
- Example
-
scala> CellDecoder[Int].decode("123") res1: DecodeResult[Int] = Right(123)
- Inherited from:
- CellDecoderInstances
Turns existing StringEncoder
instances into CellEncoder ones.
Turns existing StringEncoder
instances into CellEncoder ones.
This provides support for most basic Scala types.
Attributes
- Example
-
CellEncoder[Int].encode(123) res1: String = 123
- Inherited from:
- CellEncoderInstances
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.
Attributes
- Example
-
RowDecoder[List[Int]].decode(Seq("123", "456", "789")) res1: DecodeResult[List[Int]] = Right(List(123, 456, 789))
- Inherited from:
- RowDecoderInstances
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)
Attributes
- Inherited from:
- VersionSpecificRowEncoderInstances
Provides an instance of RowDecoder for Tuple1
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple1
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple1[Int]].decode(Seq("1")) res0: DecodeResult[Tuple1[Int]] = Right((1))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple10
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple10
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple10[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10")) res9: DecodeResult[Tuple10[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple11
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple11
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple11[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11")) res10: DecodeResult[Tuple11[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple12
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple12
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple12[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12")) res11: DecodeResult[Tuple12[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple13
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple13
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple13[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13")) res12: DecodeResult[Tuple13[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple14
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple14
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14")) res13: DecodeResult[Tuple14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple15
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple15
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple15[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15")) res14: DecodeResult[Tuple15[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple16
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple16
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple16[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16")) res15: DecodeResult[Tuple16[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple17
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple17
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple17[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17")) res16: DecodeResult[Tuple17[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple18
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple18
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple18[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18")) res17: DecodeResult[Tuple18[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple19
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple19
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple19[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19")) res18: DecodeResult[Tuple19[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple2
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple2
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple2[Int, Int]].decode(Seq("1", "2")) res1: DecodeResult[Tuple2[Int, Int]] = Right((1,2))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple20
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple20
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple20[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20")) res19: DecodeResult[Tuple20[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple21
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple21
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple21[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21")) res20: DecodeResult[Tuple21[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple22
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple22
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple22[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22")) res21: DecodeResult[Tuple22[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple3
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple3
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple3[Int, Int, Int]].decode(Seq("1", "2", "3")) res2: DecodeResult[Tuple3[Int, Int, Int]] = Right((1,2,3))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple4
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple4
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple4[Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4")) res3: DecodeResult[Tuple4[Int, Int, Int, Int]] = Right((1,2,3,4))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple5
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple5
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple5[Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5")) res4: DecodeResult[Tuple5[Int, Int, Int, Int, Int]] = Right((1,2,3,4,5))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple6
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple6
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple6[Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6")) res5: DecodeResult[Tuple6[Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple7
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple7
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple7[Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7")) res6: DecodeResult[Tuple7[Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple8
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple8
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple8[Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8")) res7: DecodeResult[Tuple8[Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8))
- Inherited from:
- TupleInstances
Provides an instance of RowDecoder for Tuple9
, provided all internal types have an instance of CellDecoder.
Provides an instance of RowDecoder for Tuple9
, provided all internal types have an instance of CellDecoder.
Attributes
- Example
-
scala> RowDecoder[Tuple9[Int, Int, Int, Int, Int, Int, Int, Int, Int]].decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9")) res8: DecodeResult[Tuple9[Int, Int, Int, Int, Int, Int, Int, Int, Int]] = Right((1,2,3,4,5,6,7,8,9))
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple1
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple1
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple1[Int]].encode(Tuple1(1)) res0: Seq[String] = List(1)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple10
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple10
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple10[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) res9: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple11
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple11
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple11[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)) res10: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple12
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple12
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple12[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) res11: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple13
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple13
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple13[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) res12: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple14
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple14
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)) res13: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple15
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple15
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple15[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)) res14: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple16
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple16
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple16[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)) res15: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple17
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple17
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple17[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) res16: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple18
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple18
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple18[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)) res17: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple19
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple19
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple19[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)) res18: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple2
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple2
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple2[Int, Int]].encode((1, 2)) res1: Seq[String] = Vector(1, 2)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple20
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple20
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple20[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)) res19: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple21
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple21
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple21[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)) res20: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple22
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple22
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple22[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)) res21: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple3
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple3
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple3[Int, Int, Int]].encode((1, 2, 3)) res2: Seq[String] = Vector(1, 2, 3)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple4
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple4
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple4[Int, Int, Int, Int]].encode((1, 2, 3, 4)) res3: Seq[String] = Vector(1, 2, 3, 4)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple5
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple5
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple5[Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5)) res4: Seq[String] = Vector(1, 2, 3, 4, 5)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple6
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple6
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple6[Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6)) res5: Seq[String] = Vector(1, 2, 3, 4, 5, 6)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple7
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple7
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple7[Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7)) res6: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple8
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple8
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple8[Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8)) res7: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8)
- Inherited from:
- TupleInstances
Provides an instance of RowEncoder for Tuple9
, provided all internal types have an instance of CellEncoder.
Provides an instance of RowEncoder for Tuple9
, provided all internal types have an instance of CellEncoder.
Attributes
- Example
-
scala> RowEncoder[Tuple9[Int, Int, Int, Int, Int, Int, Int, Int, Int]].encode((1, 2, 3, 4, 5, 6, 7, 8, 9)) res8: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9)
- Inherited from:
- TupleInstances