trait TableParser[Table] extends AnyRef

Type class to parse a set of rows as a Table.

Table

the Table type.

Annotations
@implicitNotFound( ... )
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Input

    The input type.

  2. abstract type Row

    The row type.

Abstract Value Members

  1. abstract def builder(rows: Iterable[Row], header: Header): Table

    Default method to create a new table.

    Default method to create a new table. It does this by invoking either builderWithHeader or builderWithoutHeader, as appropriate.

    CONSIDER changing Iterable back to Iterator as it was at V1.0.13.

    rows

    the rows which will make up the table.

    header

    the Header, derived either from the program or the data.

    returns

    an instance of Table.

    Attributes
    protected
  2. abstract val maybeFixedHeader: Option[Header]

    This variable determines if there is a programmed, i.e.

    This variable determines if there is a programmed, i.e. fixed, header for the parser. If its value is None, it signifies that we must look to the first line of data for an appropriate header.

    Attributes
    protected
  3. abstract def parse(xs: Iterator[Input]): Try[Table]

    Method to parse a table based on a sequence of Inputs.

    Method to parse a table based on a sequence of Inputs.

    xs

    the sequence of Inputs, one for each row

    returns

    a Try[Table]

  4. abstract val rowParser: RowParser[Row, Input]

    Method to define a row parser.

    Method to define a row parser.

    returns

    a RowParser[Row, Input].

    Attributes
    protected

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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. val forgiving: Boolean

    Method to determine how errors are handled.

    Method to determine how errors are handled.

    returns

    true if individual errors are logged but do not cause parsing to fail.

    Attributes
    protected
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val multiline: Boolean

    Value to determine whether it is acceptable to have a quoted string span more than one line.

    Value to determine whether it is acceptable to have a quoted string span more than one line.

    returns

    true if quoted strings may span more than one line.

    Attributes
    protected
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val predicate: (Try[Row]) ⇒ Boolean

    Function to determine whether or not a row should be included in the table.

    Function to determine whether or not a row should be included in the table. Typically used for random sampling.

    Attributes
    protected
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped