Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CellParser.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait SingleCellParser[BigDecimal]trait CellParser[BigDecimal]trait StringConverter[BigDecimal]class Objecttrait Matchableclass AnyShow all
- Self type
-
BigDecimalCellParser.type
Attributes
- Supertypes
-
trait SingleCellParser[BigInt]trait CellParser[BigInt]trait StringConverter[BigInt]class Objecttrait Matchableclass AnyShow all
- Self type
-
BigIntCellParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Boolean]trait CellParser[Boolean]trait StringConverter[Boolean]class Objecttrait Matchableclass AnyShow all
- Self type
-
BooleanCellParser.type
Attributes
- Supertypes
- Self type
-
BooleanOptionParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Byte]trait CellParser[Byte]trait StringConverter[Byte]class Objecttrait Matchableclass AnyShow all
- Self type
-
ByteCellParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Char]trait CellParser[Char]trait StringConverter[Char]class Objecttrait Matchableclass AnyShow all
- Self type
-
CharCellParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Double]trait CellParser[Double]trait StringConverter[Double]class Objecttrait Matchableclass AnyShow all
- Self type
-
DoubleCellParser.type
Attributes
- Supertypes
- Self type
-
DoubleOptionParser.type
Attributes
- Supertypes
- Self type
-
FileOptionParser.type
Attributes
- Supertypes
-
trait SingleCellParser[File]trait CellParser[File]trait StringConverter[File]class Objecttrait Matchableclass AnyShow all
- Self type
-
FileParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Float]trait CellParser[Float]trait StringConverter[Float]class Objecttrait Matchableclass AnyShow all
- Self type
-
FloatCellParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Int]trait CellParser[Int]trait StringConverter[Int]class Objecttrait Matchableclass AnyShow all
- Self type
-
IntCellParser.type
Attributes
- Supertypes
- Self type
-
IntOptionParser.type
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
-
trait SingleCellParser[LocalDate]trait CellParser[LocalDate]trait StringConverter[LocalDate]class Objecttrait Matchableclass AnyShow all
- Self type
-
LocalDateParser.type
Attributes
- Supertypes
-
trait SingleCellParser[Long]trait CellParser[Long]trait StringConverter[Long]class Objecttrait Matchableclass AnyShow all
- Self type
-
LongCellParser.type
Attributes
- Supertypes
- Self type
-
LongOptionParser.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object BooleanOptionParserobject DoubleOptionParserobject FileOptionParserobject IntOptionParserobject LocalDateOptionParserobject LongOptionParserobject URLOptionParserShow all
Attributes
- Supertypes
-
trait SingleCellParser[Short]trait CellParser[Short]trait StringConverter[Short]class Objecttrait Matchableclass AnyShow all
- Self type
-
ShortCellParser.type
This parser succeeds on empty strings.
This parser succeeds on empty strings.
Attributes
- Supertypes
-
trait SingleCellParser[String]trait CellParser[String]trait StringConverter[String]class Objecttrait Matchableclass AnyShow all
- Self type
-
StringCellParser.type
Attributes
- Supertypes
- Self type
-
URLOptionParser.type
Attributes
- Supertypes
-
trait SingleCellParser[URL]trait CellParser[URL]trait StringConverter[URL]class Objecttrait Matchableclass AnyShow all
- Self type
-
URLParser.type
Value members
Concrete methods
Method to derive a CellParser[T] for a case class T, so that case class T(...) derives CellParser works. This replaces the cellParser1 ... cellParser13 methods of 1.x, and has no limit on the number of fields.
Method to derive a CellParser[T] for a case class T, so that case class T(...) derives CellParser works. This replaces the cellParser1 ... cellParser13 methods of 1.x, and has no limit on the number of fields.
Each field is read from the column whose name is given by ColumnHelper[T] for that field's name. The field names come from the Mirror (at compile time), in declaration order. A field whose type is itself a case class, and which has no CellParser of its own, is derived in turn.
NOTE: for a case class, the Mirror is its companion object. So, for a case class defined locally (inside a method), don't derive its CellParser inside a companion object that you write for it: initializing that object would refer to itself and never finish (a StackOverflowError). Use derives CellParser, or define the given alongside the case class: both work for local case classes. Case classes that are not local can also derive inside their companion objects.
Type parameters
- T
-
a case class.
Value parameters
- m
-
the Mirror of T.
Attributes
- Returns
-
a CellParser[T].
Givens
Givens
This parser succeeds on empty strings.
This parser succeeds on empty strings.