case class StandardStringsParser[Row]()(implicit evidence$3: CellParser[Row]) extends StringsParser[Row] with Product with Serializable
StandardRowParser: a parser which extends RowParser[Row] and will yield a Try[Row] from a String representing a line of a table.
- Row
the (parametric) Row type for which there must be evidence of a CellParser[Row].
- Alphabetic
- By Inheritance
- StandardStringsParser
- Serializable
- Product
- Equals
- StringsParser
- RowParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StandardStringsParser()(implicit arg0: CellParser[Row])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse(header: Header)(input: Strings): Try[Row]
Parses the given input using the provided header and produces a result wrapped in a Try.
Parses the given input using the provided header and produces a result wrapped in a Try.
- header
the header object that defines the schema or metadata for parsing the row.
- input
the input of type Input to be parsed into a row of type Row.
- returns
a Try[Row], where Success contains the parsed row if parsing succeeds, or Failure contains an exception if parsing fails.
- Definition Classes
- StandardStringsParser → RowParser
- def parseHeader(ws: Seq[Strings]): Try[Header]
Method to parse a sequence of Strings as a Try[Header].
Method to parse a sequence of Strings as a Try[Header].
- ws
the header row as a sequence of Strings.
- returns
a Try[Header].
- Definition Classes
- StandardStringsParser → RowParser
- def parseIndexed(header: Header)(indexedString: (Strings, Int)): Try[Row]
Parses a given indexed String (row data and its index) using the specified table header to produce a Try[Row].
Parses a given indexed String (row data and its index) using the specified table header to produce a Try[Row].
- header
the table Header object providing metadata about the row's structure (e.g., column names).
- indexedString
a tuple where the first element is the sequence of Strings representing the row data, and the second element is the index of the row in the table.
- returns
a Try[Row], which is a Row object if parsing is successful, or a failure if parsing encounters an error.
- Definition Classes
- StandardStringsParser → RowParser
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)