package table

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. table
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Aggregation[X] extends (Seq[X]) ⇒ X
  2. case class Analysis(rows: Int, columns: Int, columnMap: Map[String, Column]) extends Product with Serializable
  3. case class CellTransformation[X, Y](f: (X) ⇒ Y) extends Transformation[X, Y] with Product with Serializable
  4. case class Column(clazz: String, optional: Boolean, maybeStatistics: Option[Statistics]) extends Product with Serializable

    A representation of the analysis of a column.

    A representation of the analysis of a column.

    clazz

    a String denoting which class (maybe which variant of class) this column may be represented as.

    optional

    if true then this column contains nulls (empty strings).

    maybeStatistics

    an optional set of statistics but only if the column represents numbers.

  5. case class HeadedTable[Row](rows: Iterable[Row], header: Header) extends RenderableTable[Row] with Product with Serializable

    Concrete case class implementing RenderableTable with a Header.

    Concrete case class implementing RenderableTable with a Header. The unit and apply methods are such that rows is in fact an Array[Row] (??).

    NOTE: the existence or not of a Header in a RenderableTable only affects how the table is rendered. The parsing of a table always has a header of some sort.

    Row

    the underlying type of each Row

    rows

    the rows of the table, stored as an Array.

    header

    the header.

  6. case class Header(xs: Seq[String]) extends Product with Serializable

    Case class to represent a header.

    Case class to represent a header.

    xs

    the sequence of column names.

  7. case class Indexed[T](i: Int, t: T) extends Product with Serializable

    A wrapper class to index a T.

    A wrapper class to index a T.

    T

    the underlying type.

    i

    the index (ordinal value).

    t

    the instance of T.

  8. case class RawRowProjection(columns: Seq[Int]) extends Transformation[RawRow, RawRow] with Product with Serializable
  9. case class RawRowTransformation(transformers: Map[Int, Transformation[String, String]]) extends Transformation[RawRow, RawRow] with Product with Serializable
  10. type RawTable = Table[Seq[String]]
  11. case class RawTableAggregation(aggregators: Map[String, Transformation[String, String]]) extends Transformation[RawTable, RawTable] with Product with Serializable

    TEST this

    TEST this

    aggregators

    a Map of Transformations indexed by String.

  12. case class RawTableProjection(columns: Seq[String]) extends Transformation[RawTable, RawTable] with Product with Serializable
  13. case class RawTableTransformation(transformers: Map[String, Transformation[String, String]]) extends Transformation[RawTable, RawTable] with Product with Serializable
  14. abstract class RenderableTable[Row] extends Table[Row] with Renderable[Row]

    CONSIDER eliminating this base class

    CONSIDER eliminating this base class

    Row

    the underlying type of each Row

  15. case class Row(ws: Seq[String], hdr: Header, index: Int) extends (String) ⇒ Try[String] with Product with Serializable

    Case class to represent a (raw) row from a table.

    Case class to represent a (raw) row from a table.

    ws

    the (raw) Strings that make up the row.

    hdr

    is the Header containing the column names.

  16. case class Statistics(mu: Double, sigma: Double, min: Double, max: Double) extends Product with Serializable
  17. trait Table[Row] extends Iterable[Row]

    A Table of Rows.

    A Table of Rows.

    Row

    the type of each row.

  18. case class TableException(w: String) extends Exception with Product with Serializable

    Table Exception.

    Table Exception.

    w

    the message.

  19. abstract class TableJsonFormat[T] extends RootJsonFormat[Table[T]]
  20. trait Transformation[X, Y] extends (X) ⇒ Y
  21. case class UnheadedTable[Row](rows: Iterable[Row]) extends RenderableTable[Row] with Product with Serializable

    Concrete case class implementing RenderableTable without a Header.

    Concrete case class implementing RenderableTable without a Header.

    NOTE: the existence or not of a Header in a RenderableTable only affects how the table is rendered. The parsing of a table always has a header of some sort.

    TEST this: it is currently not used.

    Row

    the underlying type of each Row

    rows

    the rows of the table.

Value Members

  1. object Analysis extends Serializable
  2. object Column extends Serializable
  3. object HeadedTable extends Serializable

    Companion object for HeadedTable.

    Companion object for HeadedTable. The apply methods provided arbitrarily use Vector as the collection for the rows of the table. CONSIDER using something else such as Array.

  4. object Header extends Serializable
  5. object Indexed extends Serializable
  6. object Statistics extends Serializable
  7. object Table

Inherited from AnyRef

Inherited from Any

Ungrouped