trait StringsParser[Row] extends RowParser[Row, Strings]

Trait to describe a parser which will yield a Try[Row] from a sequence of Strings representing a row of a table.

Row

the (parametric) Row type for which there must be evidence of a CellParser[Row].

Linear Supertypes
RowParser[Row, Strings], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringsParser
  2. RowParser
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract 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
    RowParser
  2. abstract def parseHeader(xs: Seq[Strings]): Try[Header]

    Parse the Input, resulting in a Try[Header]

    Parse the Input, resulting in a Try[Header]

    CONSIDER making this share the same signature as parse but for different Row type.

    xs

    a sequence of Inputs to be parsed.

    returns

    a Try[Header]

    Definition Classes
    RowParser
  3. abstract def parseIndexed(header: Header)(indexedRow: (Strings, Int)): Try[Row]

    Parses an indexed row, using the given header, into a Try[Row].

    Parses an indexed row, using the given header, into a Try[Row].

    header

    the header which defines the schema or metadata for parsing the row.

    indexedRow

    a tuple containing the input row (of type Input) and its index (of type Int).

    returns

    a Try[Row] which will be a Success containing the parsed row if parsing is successful, or a Failure with an exception if parsing fails.

    Definition Classes
    RowParser

Concrete 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. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. 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 RowParser[Row, Strings]

Inherited from AnyRef

Inherited from Any

Ungrouped