TableGen

scalation.database.relation.TableGen
object TableGen

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TableGen.type

Members list

Value members

Concrete methods

def find(cn: String, fkeyC: ArrayBuffer[(String, String, Int)]): Int

Find the column with name 'cn' in a foreign key constraint, returning which constraint is matched, -1 otherwise.

Find the column with name 'cn' in a foreign key constraint, returning which constraint is matched, -1 otherwise.

Value parameters

cn

the name of the column

fkeyC

the foreign key contraint specifications

Attributes

def popTable(table: Relation, nRows: Int, refTables: ArrayBuffer[Relation]): Unit

Populate the columns in columnar table 'table'.

Populate the columns in columnar table 'table'.

Value parameters

refTable

the tables that are referenced by 'table' via its foreign keys

table

the table/relation to populate

Attributes