kantan.csv.RowEncoderInstances
Provides reasonable default RowEncoder instances for various types.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Turns a CellEncoder into a RowEncoder, for rows that contain a single value.
scala> RowEncoder[Int].encode(123)
res1: Seq[String] = List(123)
Attributes
Provides a RowEncoder instance for all traversable collections.
Provides a RowEncoder instance for all traversable collections.
List
, for example:
scala> RowEncoder[List[Int]].encode(List(123, 456, 789))
res1: Seq[String] = List(123, 456, 789)
Attributes
-
Inherited from:
-
VersionSpecificRowEncoderInstances