package table
- Alphabetic
- By Inheritance
- table
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Aggregation[X] extends (Seq[X]) ⇒ X
- case class Analysis(rows: Int, columns: Int, columnMap: Map[String, Column]) extends Product with Serializable
- case class CellTransformation[X, Y](f: (X) ⇒ Y) extends Transformation[X, Y] with Product with Serializable
-
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.
-
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.
-
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.
-
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.
- case class RawRowProjection(columns: Seq[Int]) extends Transformation[RawRow, RawRow] with Product with Serializable
- case class RawRowTransformation(transformers: Map[Int, Transformation[String, String]]) extends Transformation[RawRow, RawRow] with Product with Serializable
- type RawTable = Table[Seq[String]]
-
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.
- case class RawTableProjection(columns: Seq[String]) extends Transformation[RawTable, RawTable] with Product with Serializable
- case class RawTableTransformation(transformers: Map[String, Transformation[String, String]]) extends Transformation[RawTable, RawTable] with Product with Serializable
-
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
-
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.
- case class Statistics(mu: Double, sigma: Double, min: Double, max: Double) extends Product with Serializable
-
trait
Table[Row] extends Iterable[Row]
A Table of Rows.
A Table of Rows.
- Row
the type of each row.
-
case class
TableException(w: String) extends Exception with Product with Serializable
Table Exception.
Table Exception.
- w
the message.
- abstract class TableJsonFormat[T] extends RootJsonFormat[Table[T]]
- trait Transformation[X, Y] extends (X) ⇒ Y
-
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
- object Analysis extends Serializable
- object Column extends Serializable
-
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.
- object Header extends Serializable
- object Indexed extends Serializable
- object Statistics extends Serializable
- object Table