RowEncoder

kantan.csv.RowEncoder
object RowEncoder extends GeneratedRowEncoders, EncoderCompanion[Seq[String], codecs.type]

Provides various instance creation and summoning methods.

The instance creation functions are important to know about, as they make the task of creating new encoders easier and more correct. There are four main families, depending on the type to encode:

  • encoder: creates encoders from a function for which you need to specify a mapping ''row index to parameter'' (such as if you need to skip some CSV cells, for instance).
  • ordered: create encoders from a function such that its parameters are organised in exactly the same way as CSV rows.
  • caseEncoder: specialisation of encoder for case classes.
  • caseOrdered: specialisation of ordered for case classes.

Note that a lot of types already have implicit instances: tuples, collections... moreover, the generics module can automatically derive valid instances for a lot of common scenarios.

Attributes

Graph
Supertypes
trait EncoderCompanion[Seq[String], codecs.type]
class Object
trait Matchable
class Any
Self type
RowEncoder.type

Members list

Value members

Inherited methods

def apply[D](implicit ev: Encoder[Seq[String], D, codecs.type]): Encoder[Seq[String], D, codecs.type]

Summons an implicit instance of Encoder if one is found, fails compilation otherwise.

Summons an implicit instance of Encoder if one is found, fails compilation otherwise.

This is a slightly faster, less verbose version of implicitly.

Attributes

Inherited from:
EncoderCompanion
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder, A22 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder22to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i21

index of the cell that should be passed as parameter number 21 of f

i22

index of the cell that should be passed as parameter number 22 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder21to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i21

index of the cell that should be passed as parameter number 21 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder20to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder19to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder18to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder17to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder16to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder15to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder14to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder13to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder12to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder11to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder10to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
res9: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder9to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9))
res8: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder8to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8))
res7: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6, A7)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder7to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5, 6)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7))
res6: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)(f: C => Option[(A1, A2, A3, A4, A5, A6)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder6to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4, 5)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6))
res5: Seq[String] = Vector(1, 2, 3, 4, 5, 6)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)(f: C => Option[(A1, A2, A3, A4, A5)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder5to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3, 4)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5))
res4: Seq[String] = Vector(1, 2, 3, 4, 5)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int)(f: C => Option[(A1, A2, A3, A4)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder4to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int)

scala> RowEncoder.caseEncoder(0, 1, 2, 3)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4))
res3: Seq[String] = Vector(1, 2, 3, 4)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder](i1: Int, i2: Int, i3: Int)(f: C => Option[(A1, A2, A3)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder3to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int)

scala> RowEncoder.caseEncoder(0, 1, 2)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3))
res2: Seq[String] = Vector(1, 2, 3)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder, A2 : CellEncoder](i1: Int, i2: Int)(f: C => Option[(A1, A2)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder2to callget` on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int)

scala> RowEncoder.caseEncoder(0, 1)((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2))
res1: Seq[String] = Vector(1, 2)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

Attributes

Inherited from:
GeneratedRowEncoders
def caseEncoder[C, A1 : CellEncoder](f: C => Option[A1]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allowscaseEncoder1to callget` on the return value.

For example:

scala> case class Ints(i1: Int)

scala> RowEncoder.caseEncoder((x: Ints) => Some(x.i1)).encode(Ints(1))
res0: Seq[String] = List(1)

Value parameters

f

encoding method, intended to be a case class' unapply method.

i1

index of the cell that should be passed as parameter number 1 of f#

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder, A22 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(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)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
res9: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8, A9)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9))
res8: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7, A8)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8))
res7: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6, A7)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6, 7))
res6: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5, A6)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5, 6))
res5: Seq[String] = Vector(1, 2, 3, 4, 5, 6)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder](f: C => Option[(A1, A2, A3, A4, A5)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4, 5))
res4: Seq[String] = Vector(1, 2, 3, 4, 5)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder](f: C => Option[(A1, A2, A3, A4)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3, 4))
res3: Seq[String] = Vector(1, 2, 3, 4)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder](f: C => Option[(A1, A2, A3)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2, 3))
res2: Seq[String] = Vector(1, 2, 3)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder, A2 : CellEncoder](f: C => Option[(A1, A2)]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int, i2: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(Tuple.fromProductTyped(x))).encode(Ints(1, 2))
res1: Seq[String] = Vector(1, 2)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def caseOrdered[C, A1 : CellEncoder](f: C => Option[A1]): RowEncoder[C]

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

Creates a new RowEncoder from the specified unapply method of a case class' companion object.

This is meant for case classes and is unsafe for any other type: a case class' unapply method never returns None, which allows caseOrdered to call get on the return value.

For example:

scala> case class Ints(i1: Int)

scala> RowEncoder.caseOrdered((x: Ints) => Some(x.i1)).encode(Ints(1))
res0: Seq[String] = List(1)

Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder, A22 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20, is.i21, is.i22)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i21

index of the cell that should be passed as parameter number 21 of f

i22

index of the cell that should be passed as parameter number 22 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20, is.i21)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i21

index of the cell that should be passed as parameter number 21 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i20

index of the cell that should be passed as parameter number 20 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i19

index of the cell that should be passed as parameter number 19 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i18

index of the cell that should be passed as parameter number 18 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i17

index of the cell that should be passed as parameter number 17 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i16

index of the cell that should be passed as parameter number 16 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i15

index of the cell that should be passed as parameter number 15 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i14

index of the cell that should be passed as parameter number 14 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i13

index of the cell that should be passed as parameter number 13 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i12

index of the cell that should be passed as parameter number 12 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11)).encode(Ints(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)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i11

index of the cell that should be passed as parameter number 11 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
res9: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i10

index of the cell that should be passed as parameter number 10 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7, 8)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9))
res8: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

i9

index of the cell that should be passed as parameter number 9 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7, A8)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6, 7)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8))
res7: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

i8

index of the cell that should be passed as parameter number 8 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)(f: C => (A1, A2, A3, A4, A5, A6, A7)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5, 6)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7)).encode(Ints(1, 2, 3, 4, 5, 6, 7))
res6: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

i7

index of the cell that should be passed as parameter number 7 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)(f: C => (A1, A2, A3, A4, A5, A6)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4, 5)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6)).encode(Ints(1, 2, 3, 4, 5, 6))
res5: Seq[String] = Vector(1, 2, 3, 4, 5, 6)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

i6

index of the cell that should be passed as parameter number 6 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)(f: C => (A1, A2, A3, A4, A5)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)

scala> RowEncoder.encoder(0, 1, 2, 3, 4)((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5)).encode(Ints(1, 2, 3, 4, 5))
res4: Seq[String] = Vector(1, 2, 3, 4, 5)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

i5

index of the cell that should be passed as parameter number 5 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder](i1: Int, i2: Int, i3: Int, i4: Int)(f: C => (A1, A2, A3, A4)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int)

scala> RowEncoder.encoder(0, 1, 2, 3)((is: Ints) => (is.i1, is.i2, is.i3, is.i4)).encode(Ints(1, 2, 3, 4))
res3: Seq[String] = Vector(1, 2, 3, 4)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

i4

index of the cell that should be passed as parameter number 4 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder](i1: Int, i2: Int, i3: Int)(f: C => (A1, A2, A3)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int)

scala> RowEncoder.encoder(0, 1, 2)((is: Ints) => (is.i1, is.i2, is.i3)).encode(Ints(1, 2, 3))
res2: Seq[String] = Vector(1, 2, 3)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

i3

index of the cell that should be passed as parameter number 3 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder, A2 : CellEncoder](i1: Int, i2: Int)(f: C => (A1, A2)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int)

scala> RowEncoder.encoder(0, 1)((is: Ints) => (is.i1, is.i2)).encode(Ints(1, 2))
res1: Seq[String] = Vector(1, 2)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f

i2

index of the cell that should be passed as parameter number 2 of f

Attributes

Inherited from:
GeneratedRowEncoders
def encoder[C, A1 : CellEncoder](f: C => A1): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int)

scala> RowEncoder.encoder((is: Ints) => (is.i1)).encode(Ints(1))
res0: Seq[String] = List(1)

Value parameters

f

encoding function.

i1

index of the cell that should be passed as parameter number 1 of f#

Attributes

Inherited from:
GeneratedRowEncoders
def from[D](f: D => Seq[String]): Encoder[Seq[String], D, codecs.type]

Creates a new instance of Encoder from the specified function.

Creates a new instance of Encoder from the specified function.

Attributes

Inherited from:
EncoderCompanion
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder, A22 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20, is.i21, is.i22)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder, A21 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20, is.i21)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder, A20 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19, is.i20)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder, A19 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18, is.i19)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder, A18 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17, is.i18)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder, A17 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16, is.i17)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder, A16 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15, is.i16)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder, A15 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14, is.i15)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder, A14 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13, is.i14)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder, A13 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12, is.i13)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder, A12 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11, is.i12)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder, A11 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10, is.i11)).encode(Ints(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)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder, A10 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9, is.i10)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
res9: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder, A9 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8, A9)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8, is.i9)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9))
res8: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8, 9)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder, A8 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7, A8)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7, is.i8)).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8))
res7: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7, 8)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder, A7 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6, A7)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6, is.i7)).encode(Ints(1, 2, 3, 4, 5, 6, 7))
res6: Seq[String] = Vector(1, 2, 3, 4, 5, 6, 7)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder, A6 : CellEncoder](f: C => (A1, A2, A3, A4, A5, A6)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5, is.i6)).encode(Ints(1, 2, 3, 4, 5, 6))
res5: Seq[String] = Vector(1, 2, 3, 4, 5, 6)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder, A5 : CellEncoder](f: C => (A1, A2, A3, A4, A5)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4, is.i5)).encode(Ints(1, 2, 3, 4, 5))
res4: Seq[String] = Vector(1, 2, 3, 4, 5)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder, A4 : CellEncoder](f: C => (A1, A2, A3, A4)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3, is.i4)).encode(Ints(1, 2, 3, 4))
res3: Seq[String] = Vector(1, 2, 3, 4)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder, A3 : CellEncoder](f: C => (A1, A2, A3)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int, i3: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2, is.i3)).encode(Ints(1, 2, 3))
res2: Seq[String] = Vector(1, 2, 3)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder, A2 : CellEncoder](f: C => (A1, A2)): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int, i2: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1, is.i2)).encode(Ints(1, 2))
res1: Seq[String] = Vector(1, 2)

Attributes

Inherited from:
GeneratedRowEncoders
def ordered[C, A1 : CellEncoder](f: C => A1): RowEncoder[C]

Creates a new RowEncoder from the specified function.

Creates a new RowEncoder from the specified function.

For example:

scala> case class Ints(i1: Int)

scala> RowEncoder.ordered((is: Ints) => (is.i1)).encode(Ints(1))
res0: Seq[String] = List(1)

Attributes

Inherited from:
GeneratedRowEncoders