scalation.database.relation
Members list
Type members
Classlikes
Example database for days of the week.
Example database for days of the week.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Ex_Days.type
The Ex_ProductSales
object provides and example relation for testing.
The Ex_ProductSales
object provides and example relation for testing.
Attributes
- See also
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Ex_ProductSales.type
The Ex_Teaching
object contains table definitions for the TASchedule
app.
The Ex_Teaching
object contains table definitions for the TASchedule
app.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Ex_Teaching.type
The Relation
companion object provides additional functions for the Relation
class. FIX - apply methods - make compatible with RelationSQL
Value parameters
- col
-
the Scala Vector of columns making up the columnar relation
- domain
-
an optional string indicating domains for columns, e.g., Array ('S', 'D')
- fKeys
-
an optional sequence of foreign keys - VEC (column name, ref table name, ref column position)
- key
-
the column number for the primary key (< 0 => no primary key)
- name
-
the name of the relation
- schema
-
the names of columns
Attributes
- Companion
- object
- Supertypes
The TableGen
object generates data for Table
classes (e.g., Relation
).
The TableGen
object generates data for Table
classes (e.g., Relation
).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableGen.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
The relationTest
main function tests the operations provided by Relation
. on the Ex_Days
schema.
The relationTest
main function tests the operations provided by Relation
. on the Ex_Days
schema.
runMain scalation.database.relation.relationTest
Attributes
The relationTest11
main function tests the Relation
on the traffic schema.
The relationTest11
main function tests the Relation
on the traffic schema.
runMain scalation.database.relation.relationTest11
Attributes
The relationTest2
main function tests the operations provided by Relation
. The relational algebra operators are given using Unicode.
The relationTest2
main function tests the operations provided by Relation
. The relational algebra operators are given using Unicode.
Attributes
- See also
-
en.wikipedia.org/wiki/List_of_Unicode_characters
runMain scalation.database.relation.relationTest2
The relationTest5
main function tests the interoperability between Relations and Matrices.
The relationTest5
main function tests the interoperability between Relations and Matrices.
runMain scalation.database.relation.relationTest5
Attributes
The relationTest7
main function tests join method.
The relationTest7
main function tests join method.
runMain scalation.database.relation.relationTest7
Attributes
The relationTest8
main function tests save method.
The relationTest8
main function tests save method.
runMain scalation.database.relation.relationTest8
Attributes
The relationTest9
main function tests apply method to load a saved relation.
The relationTest9
main function tests apply method to load a saved relation.
runMain scalation.database.relation.relationTest9
Attributes
The showTables
main function prints all the tables defined in the Teachning
object.
The showTables
main function prints all the tables defined in the Teachning
object.
runMain scalation/database.relation.showTables
Attributes
The tableGenTest
main function is used to test the TableGen
object. Create unpopulated tables and use the table generator to populate their columns.
The tableGenTest
main function is used to test the TableGen
object. Create unpopulated tables and use the table generator to populate their columns.
runMain scalation.database.relation.tableGenTest
Attributes
Combine two sequences of column names, keeping all names from cn1 and only those in cn2 that are not repeats (i.e., not already in cn1).
Combine two sequences of column names, keeping all names from cn1 and only those in cn2 that are not repeats (i.e., not already in cn1).
Value parameters
- cn1
-
the first sequence of column names
- cn2
-
the second sequence of column names
Attributes
Extensions
Extensions
Return the sub-vector of elements from the given index positions.
Return the sub-vector of elements from the given index positions.
Value parameters
- pos
-
the given index positions
Attributes
Filter the vector according the predicate, return the index positions where it is true.
Filter the vector according the predicate, return the index positions where it is true.
Value parameters
- p
-
the predicate function
Attributes
Covert Vectr
to a vector of double-precision reals VectorD
.
Covert Vectr
to a vector of double-precision reals VectorD
.
Attributes
Covert Vectr
to a vector of integers VectorI
.
Covert Vectr
to a vector of integers VectorI
.
Attributes
Covert Vectr
to a vector of long inetgers VectorL
.
Covert Vectr
to a vector of long inetgers VectorL
.
Attributes
Covert Vectr
to a vector of strings VectorS
.
Covert Vectr
to a vector of strings VectorS
.