GeneratedRowDecoders

kantan.csv.GeneratedRowDecoders

Provides RowDecoder instance construction methods.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RowDecoder

Members list

Value members

Concrete methods

def decoder[A1 : CellDecoder, R](i1: Int)(f: A1 => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

Attributes

Example
scala> case class Ints(i1: Int)
scala> RowDecoder.decoder(0)(Ints.apply).decode(Seq("1"))
res0: DecodeResult[Ints] = Right(Ints(1))
def decoder[A1 : CellDecoder, A2 : CellDecoder, R](i1: Int, i2: Int)(f: (A1, A2) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, R](i1: Int, i2: Int, i3: Int)(f: (A1, A2, A3) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int)(f: (A1, A2, A3, A4) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int)(f: (A1, A2, A3, A4, A5) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

i5

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int)(f: (A1, A2, A3, A4, A5, A6) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

i5

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

i6

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)(f: (A1, A2, A3, A4, A5, A6, A7) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

Example
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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i18

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i18

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

i19

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

i2

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i18

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

i19

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

i2

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

i20

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, A21 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i18

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

i19

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

i2

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

i20

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

i21

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def decoder[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, A21 : CellDecoder, A22 : CellDecoder, R](i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int, i8: Int, i9: Int, i10: Int, i11: Int, i12: Int, i13: Int, i14: Int, i15: Int, i16: Int, i17: Int, i18: Int, i19: Int, i20: Int, i21: Int, i22: Int)(f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22) => R): RowDecoder[R]

Creates a new RowDecoder from the specified function.

Creates a new RowDecoder from the specified function.

Value parameters

f

encoding function.

i1

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

i10

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

i11

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

i12

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

i13

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

i14

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

i15

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

i16

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

i17

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

i18

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

i19

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

i2

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

i20

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

i21

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

i22

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

i3

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

i4

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

i5

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

i6

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

i7

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

i8

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

i9

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

Attributes

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> 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))
def ordered[A1 : CellDecoder, R](f: A1 => R): RowDecoder[R]

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.

Attributes

Example
scala> case class Ints(i1: Int)
scala> RowDecoder.ordered(Ints.apply).decode(Seq("1"))
res0: DecodeResult[Ints] = Right(Ints(1))
def ordered[A1 : CellDecoder, A2 : CellDecoder, R](f: (A1, A2) => R): RowDecoder[R]

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.

Attributes

Example
scala> case class Ints(i1: Int, i2: Int)
scala> RowDecoder.ordered(Ints.apply).decode(Seq("1", "2"))
res1: DecodeResult[Ints] = Right(Ints(1,2))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, R](f: (A1, A2, A3) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, R](f: (A1, A2, A3, A4) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, R](f: (A1, A2, A3, A4, A5) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9) => R): RowDecoder[R]

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.

Attributes

Example
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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, A21 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => R): RowDecoder[R]

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.

Attributes

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> 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))
def ordered[A1 : CellDecoder, A2 : CellDecoder, A3 : CellDecoder, A4 : CellDecoder, A5 : CellDecoder, A6 : CellDecoder, A7 : CellDecoder, A8 : CellDecoder, A9 : CellDecoder, A10 : CellDecoder, A11 : CellDecoder, A12 : CellDecoder, A13 : CellDecoder, A14 : CellDecoder, A15 : CellDecoder, A16 : CellDecoder, A17 : CellDecoder, A18 : CellDecoder, A19 : CellDecoder, A20 : CellDecoder, A21 : CellDecoder, A22 : CellDecoder, R](f: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22) => R): RowDecoder[R]

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.

Attributes

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> 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))