case class StandardRowParser[Row](parser: LineParser)(implicit evidence$1: CellParser[Row]) extends StringParser[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].

parser

the LineParser to use

Linear Supertypes
Serializable, Product, Equals, StringParser[Row], RowParser[Row, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardRowParser
  2. Serializable
  3. Product
  4. Equals
  5. StringParser
  6. RowParser
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StandardRowParser(parser: LineParser)(implicit arg0: CellParser[Row])

    parser

    the LineParser to use

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  11. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  12. def parse(header: Header)(input: String): 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
    StandardRowParser → RowParser
  13. def parseHeader(xs: Strings): Try[Header]

    Method to parse a String as a Try[Header].

    Method to parse a String as a Try[Header].

    xs

    the header row(s) as a String.

    returns

    a Try[Header].

    Definition Classes
    StandardRowParser → RowParser
  14. def parseIndexed(header: Header)(indexedString: (String, Int)): Try[Row]

    Parses a given indexed string (line and its index in a file) using a provided header and the internal row parser.

    Parses a given indexed string (line and its index in a file) using a provided header and the internal row parser. This method converts the parsed row of data (as Strings) into a well-defined Row object according to the header.

    header

    the header object providing column information for the row.

    indexedString

    a tuple containing the string representation of the line and its index in the file.

    returns

    a Try[Row] representing the parsed and converted row, or a failure if the parsing or conversion fails.

    Definition Classes
    StandardRowParser → RowParser
  15. val parser: LineParser
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StringParser[Row]

Inherited from RowParser[Row, String]

Inherited from AnyRef

Inherited from Any

Ungrouped