Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22")) res21: DecodeResult[Ints] = Right(Ints(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 RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21")) res20: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20")) res19: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19")) res18: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18")) res17: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17")) res16: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16")) res15: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15")) res14: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14")) res13: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13")) res12: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12")) res11: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11")) res10: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
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> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10")) res9: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int) scala> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7, 8)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9")) res8: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int) scala> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6, 7)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8")) res7: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int) scala> RowDecoder.decoder(0, 1, 2, 3, 4, 5, 6)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7")) res6: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int) scala> RowDecoder.decoder(0, 1, 2, 3, 4, 5)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6")) res5: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int) scala> RowDecoder.decoder(0, 1, 2, 3, 4)(Ints.apply _).decode(Seq("1", "2", "3", "4", "5")) res4: DecodeResult[Ints] = Right(Ints(1,2,3,4,5))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int) scala> RowDecoder.decoder(0, 1, 2, 3)(Ints.apply _).decode(Seq("1", "2", "3", "4")) res3: DecodeResult[Ints] = Right(Ints(1,2,3,4))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int, i3: Int) scala> RowDecoder.decoder(0, 1, 2)(Ints.apply _).decode(Seq("1", "2", "3")) res2: DecodeResult[Ints] = Right(Ints(1,2,3))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
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.
scala> case class Ints(i1: Int, i2: Int) scala> RowDecoder.decoder(0, 1)(Ints.apply _).decode(Seq("1", "2")) res1: DecodeResult[Ints] = Right(Ints(1,2))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
index of the cell that should be passed as parameter number 1 of f
encoding function.
scala> case class Ints(i1: Int) scala> RowDecoder.decoder(0)(Ints.apply _).decode(Seq("1")) res0: DecodeResult[Ints] = Right(Ints(1))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22")) res21: DecodeResult[Ints] = Right(Ints(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 RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21")) res20: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20")) res19: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19")) res18: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18")) res17: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17")) res16: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16")) res15: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15")) res14: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14")) res13: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13,14))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13")) res12: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12,13))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12")) res11: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11,12))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11")) res10: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10,11))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
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> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9", "10")) res9: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9,10))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8", "9")) res8: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8,9))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7", "8")) res7: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7,8))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6", "7")) res6: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6,7))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5", "6")) res5: DecodeResult[Ints] = Right(Ints(1,2,3,4,5,6))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4", "5")) res4: DecodeResult[Ints] = Right(Ints(1,2,3,4,5))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int, i4: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3", "4")) res3: DecodeResult[Ints] = Right(Ints(1,2,3,4))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int, i3: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2", "3")) res2: DecodeResult[Ints] = Right(Ints(1,2,3))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int, i2: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1", "2")) res1: DecodeResult[Ints] = Right(Ints(1,2))
Creates a new RowDecoder from the specified function.
Creates a new RowDecoder from the specified function.
Cells are mapped to arguments of f
in the order they are found.
scala> case class Ints(i1: Int) scala> RowDecoder.ordered(Ints.apply _).decode(Seq("1")) res0: DecodeResult[Ints] = Right(Ints(1))
Provides RowDecoder instance construction methods.