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 caseEncoder22 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)(Ints.unapply _).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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
index of the cell that should be passed as parameter number 21 of f
index of the cell that should be passed as parameter number 22 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder21 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)(Ints.unapply _).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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
index of the cell that should be passed as parameter number 21 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder20 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)(Ints.unapply _).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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder19 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)) res18: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder18 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)) res17: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder17 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) res16: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder16 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)) res15: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder15 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)) res14: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder14 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)) res13: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder13 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) res12: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder12 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) res11: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder11 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)) res10: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder10 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) res9: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder9 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7, 8)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9)) res8: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder8 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.caseEncoder(0, 1, 2, 3, 4, 5, 6, 7)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8)) res7: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder7 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.caseEncoder(0, 1, 2, 3, 4, 5, 6)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7)) res6: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder6 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.caseEncoder(0, 1, 2, 3, 4, 5)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6)) res5: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder5 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.caseEncoder(0, 1, 2, 3, 4)(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5)) res4: Seq[String] = WrappedArray(1, 2, 3, 4, 5)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder4 to call get 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)(Ints.unapply _).encode(Ints(1, 2, 3, 4)) res3: Seq[String] = WrappedArray(1, 2, 3, 4)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder3 to call get on the return value.
For example:
scala> case class Ints(i1: Int, i2: Int, i3: Int) scala> RowEncoder.caseEncoder(0, 1, 2)(Ints.unapply _).encode(Ints(1, 2, 3)) res2: Seq[String] = WrappedArray(1, 2, 3)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder2 to call get on the return value.
For example:
scala> case class Ints(i1: Int, i2: Int) scala> RowEncoder.caseEncoder(0, 1)(Ints.unapply _).encode(Ints(1, 2)) res1: Seq[String] = WrappedArray(1, 2)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
encoding method, intended to be a case class' unapply method.
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 caseEncoder1 to call get on the return value.
For example:
scala> case class Ints(i1: Int) scala> RowEncoder.caseEncoder(Ints.unapply _).encode(Ints(1)) res0: Seq[String] = List(1)
encoding method, intended to be a case class' unapply method.
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(Ints.unapply _).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] = WrappedArray(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.
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(Ints.unapply _).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] = WrappedArray(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.
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(Ints.unapply _).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] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)) res18: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)) res17: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) res16: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)) res15: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)) res14: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)) res13: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) res12: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) res11: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)) res10: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) res9: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8, 9)) res8: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7, 8)) res7: Seq[String] = WrappedArray(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.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6, 7)) res6: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6, 7)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5, 6)) res5: Seq[String] = WrappedArray(1, 2, 3, 4, 5, 6)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4, 5)) res4: Seq[String] = WrappedArray(1, 2, 3, 4, 5)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).encode(Ints(1, 2, 3, 4)) res3: Seq[String] = WrappedArray(1, 2, 3, 4)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).encode(Ints(1, 2, 3)) res2: Seq[String] = WrappedArray(1, 2, 3)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).encode(Ints(1, 2)) res1: Seq[String] = WrappedArray(1, 2)
Consider using the generics kantan.csv module instead: it can automatically derive instances for this use case.
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(Ints.unapply _).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.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
index of the cell that should be passed as parameter number 21 of f
index of the cell that should be passed as parameter number 22 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
index of the cell that should be passed as parameter number 21 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
index of the cell that should be passed as parameter number 20 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
index of the cell that should be passed as parameter number 19 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
index of the cell that should be passed as parameter number 18 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
index of the cell that should be passed as parameter number 17 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
index of the cell that should be passed as parameter number 16 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
index of the cell that should be passed as parameter number 15 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
index of the cell that should be passed as parameter number 14 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
index of the cell that should be passed as parameter number 13 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
index of the cell that should be passed as parameter number 12 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
index of the cell that should be passed as parameter number 11 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
index of the cell that should be passed as parameter number 10 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
index of the cell that should be passed as parameter number 9 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
index of the cell that should be passed as parameter number 8 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
index of the cell that should be passed as parameter number 7 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
index of the cell that should be passed as parameter number 6 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
index of the cell that should be passed as parameter number 5 of f
encoding function.
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] = WrappedArray(1, 2, 3, 4)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
index of the cell that should be passed as parameter number 4 of f
encoding function.
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] = WrappedArray(1, 2, 3)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
index of the cell that should be passed as parameter number 3 of f
encoding function.
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] = WrappedArray(1, 2)
index of the cell that should be passed as parameter number 1 of f
index of the cell that should be passed as parameter number 2 of f
encoding function.
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)
encoding function.
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8, 9)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7, 8)
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] = WrappedArray(1, 2, 3, 4, 5, 6, 7)
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] = WrappedArray(1, 2, 3, 4, 5, 6)
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] = WrappedArray(1, 2, 3, 4, 5)
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] = WrappedArray(1, 2, 3, 4)
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] = WrappedArray(1, 2, 3)
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] = WrappedArray(1, 2)
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)
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 ofencoderfor case classes.caseOrdered: specialisation oforderedfor case classes.Note that a lot of types already have implicit instances: tuples, collections... moreover, the
genericsmodule can automatically derive valid instances for a lot of common scenarios.