Packages

p

scalation

columnar_db

package columnar_db

The columar_db package contains classes, traits and objects for columnar relational algebra, where columns are vectors from the linalgebra package.

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

Type Members

  1. case class MM_Relation(name: String, colName: Seq[String], col: Vector[Vec], key: Int = 0, domain: String = null) extends Table with Error with Product with Serializable

    The MM_Relation class stores and operates on vectors.

    The MM_Relation class stores and operates on vectors. The vectors form the columns of the columnar relational datastore. Columns may have any of the following types:

    C - Complex - VectorC - 128 bit complex number a + bi D - Double - VectorD - 64 bit double precision floating point number I - Int - VectorI - 32 bit integer L - Long - VectorL - 64 bit long integer Q - Rational - VectorQ - 128 bit ratio of two long integers R - Real - VectorR - 128 bit quad precision floating point number S - StrNum - VectorS - variable length numeric string


    name

    the name of the relation

    colName

    the names of columns

    col

    the Scala Vector of columns making up the columnar relation

    key

    the column number for the primary key (< 0 => no primary key)

    domain

    an optional string indicating domains for columns (e.g., 'SD' = StrNum, Double)

  2. case class Relation(name: String, colName: Seq[String], col: Vector[Vec], key: Int = 0, domain: String = null, fKeys: Seq[(String, String, Int)] = null) extends Table with Error with Product with Serializable

    The Relation class stores and operates on vectors.

    The Relation class stores and operates on vectors. The vectors form the columns of the columnar relational datastore. Columns may have any of the following types:

    C - Complex - VectorC - 128 bit complex number a + bi D - Double - VectorD - 64 bit double precision floating point number I - Int - VectorI - 32 bit integer L - Long - VectorL - 64 bit long integer Q - Rational - VectorQ - 128 bit ratio of two long integers R - Real - VectorR - 128 bit quad precision floating point number S - StrNum - VectorS - variable length numeric string


    name

    the name of the relation

    colName

    the names of columns

    col

    the Scala Vector of columns making up the columnar relation

    key

    the column number for the primary key (< 0 => no primary key)

    domain

    an optional string indicating domains for columns (e.g., 'SD' = 'StrNum', 'Double')

    fKeys

    an optional sequence of foreign keys - Seq (column name, ref table name, ref column position)

  3. trait Table extends AnyRef

    The Table trait stores and operates on vectors.

    The Table trait stores and operates on vectors. The vectors form the columns of the columnar relational datastore. Columns may have any of the following types:

    C - Complex - VectorC - 128 bit complex number a + bi D - Double - VectorD - 64 bit double precision floating point number I - Int - VectorI - 32 bit integer L - Long - VectorL - 64 bit long integer Q - Rational - VectorQ - 128 bit ratio of two long integers R - Real - VectorR - 128 bit quad precision floating point number S - StrNum - VectorS - variable length numeric string


Value Members

  1. object Catalog

    The Catalog object keeps track of relations in the database.

  2. object CatalogTest extends App

    The CatalogTest object is used to test the Catalog object.

    The CatalogTest object is used to test the Catalog object. > runMain scalation.columnar_db.CatalogTest

  3. object MM_Relation extends Serializable

    The MM_Relation companion object provides additional functions for the MM_Relation class.

  4. object MM_RelationEx

    The MM_RelationEx object provides and example relation for testing.

    The MM_RelationEx object provides and example relation for testing.

    See also

    www.codeproject.com/Articles/652108/Create-First-Data-WareHouse

  5. object MM_RelationTest extends App

    The MM_RelationTest object tests the operations provided by MM_Relation.

    The MM_RelationTest object tests the operations provided by MM_Relation. > runMain scalation.columnar_db.MM_RelationTest

  6. object MM_RelationTest2 extends App

    The MM_RelationTest2 object tests the operations provided by MM_Relation.

    The MM_RelationTest2 object tests the operations provided by MM_Relation. The relational algebra operators are given using Unicode.

    See also

    en.wikipedia.org/wiki/List_of_Unicode_characters > runMain scalation.columnar_db.MM_RelationTest2

  7. object MM_RelationTest3 extends App

    The MM_RelationTest3 object tests the operations provided by MM_Relation.

    The MM_RelationTest3 object tests the operations provided by MM_Relation. It test various aggregate/OLAP operations on a simple data warehouse fact table.

    See also

    www.codeproject.com/Articles/652108/Create-First-Data-WareHouse FIX - allow entering doubles as "13" rather than "13.0" > runMain scalation.columnar_db.MM_RelationTest3

  8. object MM_RelationTest4 extends App

    The MM_RelationTest4 object tests conversion MM_Relation to a matrix.

    The MM_RelationTest4 object tests conversion MM_Relation to a matrix. > runMain scalation.columnar_db.MM_RelationTest4

  9. object MakeSchema

    The MakeSchema object attempts to infers the domain of a relation without a domain specification and creates a new relation with the inferred domains by examining the data.

    The MakeSchema object attempts to infers the domain of a relation without a domain specification and creates a new relation with the inferred domains by examining the data. Should be checked and overridden when inaccurate.

  10. object MakeSchemaTest extends App

    The MakeSchemaTest object is used to test the MakeSchema object.

    The MakeSchemaTest object is used to test the MakeSchema object. > runMain scalation.columnar_db.MakeSchemaTest

  11. object MakeSchemaTest2 extends App

    The MakeSchemaTest2 object is used to test the MakeSchema object.

    The MakeSchemaTest2 object is used to test the MakeSchema object. > runMain scalation.columnar_db.MakeSchemaTest2

  12. object MissingValues

    The MissingValues object is used to replace missing values in a dataset.

    The MissingValues object is used to replace missing values in a dataset.

    See also

    www.utexas.edu/cola/prc/_files/cs/Missing-Data.pdf

  13. object MissingValuesTest extends App

    The MissingValuesTest object is used to test the MissingValues object.

    The MissingValuesTest object is used to test the MissingValues object. > runMain scalation.columnar_db.MissingValuesTest

  14. object Relation extends Serializable

    The Relation companion object provides additional functions for the Relation class.

  15. object RelationEx

    The RelationEx object provides and example relation for testing.

    The RelationEx object provides and example relation for testing.

    See also

    www.codeproject.com/Articles/652108/Create-First-Data-WareHouse

  16. object RelationTest extends App

    The RelationTest object tests the operations provided by Relation.

    The RelationTest object tests the operations provided by Relation. > runMain scalation.columnar_db.RelationTest

  17. object RelationTest2 extends App

    The RelationTest2 object tests the operations provided by Relation.

    The RelationTest2 object tests the operations provided by Relation. The relational algebra operators are given using Unicode.

    See also

    en.wikipedia.org/wiki/List_of_Unicode_characters > runMain scalation.columnar_db.RelationTest2

  18. object RelationTest3 extends App

    The RelationTest3 object tests the operations provided by Relation.

    The RelationTest3 object tests the operations provided by Relation. It test various aggregate/OLAP operations on a simple data warehouse fact table.

    See also

    www.codeproject.com/Articles/652108/Create-First-Data-WareHouse FIX - allow entering doubles as "13" rather than "13.0" > runMain scalation.columnar_db.RelationTest3

  19. object RelationTest4 extends App

    The RelationTest4 object tests conversion Relation to a matrix.

    The RelationTest4 object tests conversion Relation to a matrix. > runMain scalation.columnar_db.RelationTest4

  20. object RelationTest5 extends App

    The RelationTest5 object tests the interoperability between Relations and Matrices.

    The RelationTest5 object tests the interoperability between Relations and Matrices. > runMain scalation.columnar_db.RelationTest5

  21. object TableGen extends Error

    The TableGen object generates data for Table classes (e.g., Relation).

  22. object TableGenTest extends App

    The TableGenTest is used to test the TableGen object.

    The TableGenTest is used to test the TableGen object. Create unpopulated tables and use the table generator to populate their columns. > runMain scalation.columnar_db.TableGenTest

  23. object TableObj

    The Table object provides functions for the Table companion objects.

Inherited from AnyRef

Inherited from Any

Ungrouped